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)
Mon, Nov 4, 8:11 AM
Unknown Object (File)
Oct 2 2024, 11:26 AM
Unknown Object (File)
Sep 28 2024, 11:14 AM
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
Unknown Object (File)
Sep 26 2024, 2:03 AM
Unknown Object (File)
Sep 19 2024, 1:04 AM
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