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)
Sat, Mar 28, 5:46 AM
Unknown Object (File)
Sat, Mar 28, 2:39 AM
Unknown Object (File)
Tue, Mar 24, 3:14 AM
Unknown Object (File)
Wed, Mar 18, 6:08 AM
Unknown Object (File)
Sat, Mar 7, 4:59 PM
Unknown Object (File)
Fri, Mar 6, 10:06 PM
Unknown Object (File)
Feb 26 2026, 10:03 AM
Unknown Object (File)
Feb 8 2026, 11:44 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