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)
May 11 2026, 10:36 PM
Unknown Object (File)
May 11 2026, 10:36 PM
Unknown Object (File)
May 11 2026, 9:43 PM
Unknown Object (File)
May 8 2026, 7:08 PM
Unknown Object (File)
May 1 2026, 11:52 PM
Unknown Object (File)
Apr 30 2026, 1:19 PM
Unknown Object (File)
Apr 29 2026, 8:41 AM
Unknown Object (File)
Apr 28 2026, 6:56 PM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39361
Build 36250: arc lint + arc unit