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
Unknown Object (File)
Mon, May 12, 11:41 PM
Unknown Object (File)
Fri, May 2, 4:57 AM
Unknown Object (File)
Thu, May 1, 1:28 PM
Unknown Object (File)
Apr 22 2025, 9:10 PM
Unknown Object (File)
Apr 18 2025, 9:10 PM
Unknown Object (File)
Apr 18 2025, 8:19 AM
Unknown Object (File)
Apr 15 2025, 3:29 PM
Unknown Object (File)
Mar 23 2025, 11:29 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 Not Applicable
Unit
Tests Not Applicable