Page MenuHomeFreeBSD

ktrace: Remove vrele() at the end of ktr_writerequest()
ClosedPublic

Authored by markj on May 23 2021, 5:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 3 2024, 11:28 PM
Unknown Object (File)
Oct 3 2024, 6:47 PM
Unknown Object (File)
Oct 3 2024, 12:53 PM
Unknown Object (File)
Oct 1 2024, 12:58 PM
Unknown Object (File)
Sep 29 2024, 7:40 PM
Unknown Object (File)
Sep 27 2024, 3:52 AM
Unknown Object (File)
Sep 27 2024, 3:51 AM
Unknown Object (File)
Sep 27 2024, 3:46 AM
Subscribers

Details

Summary

As of commit fc369a353 we no longer ref the vnode when writing a record.
Drop the corresponding vrele() call in the error case.

Fixes: fc369a353 ("ktrace: fix a race between writes and close")
Reported by: syzbot+9b96ea7a5ff8917d3fe4@syzkaller.appspotmail.com
Reported by: syzbot+6120ebbb354cd52e5107@syzkaller.appspotmail.com
MFC after: 6 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable