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)
Tue, Oct 14, 12:30 AM
Unknown Object (File)
Mon, Oct 13, 11:50 AM
Unknown Object (File)
Tue, Sep 23, 11:30 PM
Unknown Object (File)
Fri, Sep 19, 2:05 PM
Unknown Object (File)
Sep 16 2025, 5:39 AM
Unknown Object (File)
Sep 5 2025, 3:59 AM
Unknown Object (File)
Sep 2 2025, 9:51 PM
Unknown Object (File)
Sep 2 2025, 3:38 PM
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