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
F173106258: D30198.diff
Wed, Sep 23, 3:59 PM
Unknown Object (File)
Sun, Sep 20, 11:33 AM
Unknown Object (File)
Wed, Sep 16, 11:47 PM
Unknown Object (File)
Sat, Sep 12, 9:46 AM
Unknown Object (File)
Tue, Sep 8, 12:16 AM
Unknown Object (File)
Sat, Aug 29, 4:24 PM
Unknown Object (File)
Fri, Aug 28, 1:43 PM
Unknown Object (File)
Aug 17 2026, 6:44 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