VYPR
Unrated severityNVD Advisory· Published Apr 28, 2024· Updated May 4, 2025

gpio: mockup: fix NULL pointer dereference when removing debugfs

CVE-2022-48663

Description

In the Linux kernel, the following vulnerability has been resolved:

gpio: mockup: fix NULL pointer dereference when removing debugfs

We now remove the device's debugfs entries when unbinding the driver. This now causes a NULL-pointer dereference on module exit because the platform devices are unregistered *after* the global debugfs directory has been recursively removed. Fix it by unregistering the devices first.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

101

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.