Page MenuHomeFreeBSD

lindebugfs.c: Fix possible NULL dereference
ClosedPublic

Authored by dumbbell on Jun 23 2025, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 6:24 PM
Unknown Object (File)
Thu, Oct 16, 6:24 PM
Unknown Object (File)
Thu, Oct 16, 6:24 PM
Unknown Object (File)
Thu, Oct 16, 8:04 AM
Unknown Object (File)
Sun, Oct 12, 7:28 PM
Unknown Object (File)
Thu, Oct 9, 5:06 PM
Unknown Object (File)
Wed, Oct 8, 9:33 PM
Unknown Object (File)
Sun, Oct 5, 12:49 AM
Subscribers

Details

Summary

If debugfs_destroy() is called early as part of error handling during initialzation, pn->pn_data is unset. This led to a panic in that if because dm is NULL.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped