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
Differential D50985
lindebugfs.c: Fix possible NULL dereference Authored by dumbbell on Jun 23 2025, 9:30 PM. Tags None Referenced Files
Subscribers
Details
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
|