Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 8:12 PM
Unknown Object (File)
Nov 27 2025, 2:53 PM
Unknown Object (File)
Nov 19 2025, 7:21 AM
Unknown Object (File)
Nov 18 2025, 1:31 PM
Unknown Object (File)
Oct 29 2025, 10:07 PM
Unknown Object (File)
Oct 29 2025, 5:41 AM
Unknown Object (File)
Oct 21 2025, 3:24 PM
Unknown Object (File)
Oct 20 2025, 7:07 AM
Subscribers

Details

Summary

Fix page fault in zfsctl_snapdir_getattr

Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I
can't reproduce this panic on demand, but this looks like the correct
solution.

PR: 247668

Test Plan

The ZFS test suite

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable