Page MenuHomeFreeBSD

null_vptocnp(): busy nullfs mp instead of refing it
ClosedPublic

Authored by kib on Jun 14 2022, 4:35 AM.
Tags
None
Referenced Files
F107135455: D35477.diff
Fri, Jan 10, 4:25 PM
Unknown Object (File)
Dec 1 2024, 3:13 AM
Unknown Object (File)
Nov 27 2024, 11:22 AM
Unknown Object (File)
Nov 22 2024, 5:46 PM
Unknown Object (File)
Nov 7 2024, 1:13 PM
Unknown Object (File)
Nov 6 2024, 2:18 PM
Unknown Object (File)
Oct 20 2024, 1:39 AM
Unknown Object (File)
Oct 20 2024, 1:39 AM
Subscribers

Details

Summary
null_nodeget() needs a valid mount point data, otherwise we might
race and dereference NULL.

Using MBF_NOWAIT makes non-forced unmount non-transparent for
vn_fullpath() over nullfs, but we make no guarantee that fullpath
calculation succeeds anyway.

Reported and tested by:    pho

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped