Page MenuHomeFreeBSD

vfs: Fix error handling in vn_fullpath_hardlink()
ClosedPublic

Authored by markj on May 10 2021, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 6:35 PM
Unknown Object (File)
Fri, Nov 7, 1:51 AM
Unknown Object (File)
Sun, Nov 2, 5:24 AM
Unknown Object (File)
Sun, Nov 2, 5:23 AM
Unknown Object (File)
Sat, Oct 25, 9:06 PM
Unknown Object (File)
Mon, Oct 20, 6:37 AM
Unknown Object (File)
Wed, Oct 15, 7:07 PM
Unknown Object (File)
Wed, Oct 15, 7:07 PM
Subscribers

Details

Summary

vn_fullpath_any_smr() will return a positive error number if the
caller-supplied buffer isn't big enough. In this case the error must be
propagated up, otherwise we may copy out uninitialized bytes.

Reported by: syzkaller+KMSAN

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39110
Build 35999: arc lint + arc unit