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)
Sun, Mar 9, 9:53 PM
Unknown Object (File)
Feb 24 2025, 7:00 PM
Unknown Object (File)
Feb 23 2025, 12:56 PM
Unknown Object (File)
Feb 20 2025, 2:52 PM
Unknown Object (File)
Feb 11 2025, 3:05 PM
Unknown Object (File)
Feb 9 2025, 3:01 AM
Unknown Object (File)
Feb 7 2025, 3:07 PM
Unknown Object (File)
Feb 4 2025, 9:04 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable