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
Differential D30198
vfs: Fix error handling in vn_fullpath_hardlink() markj on May 10 2021, 8:35 PM. Authored by Tags None Referenced Files
Subscribers
Details vn_fullpath_any_smr() will return a positive error number if the Reported by: syzkaller+KMSAN
Diff Detail
|