Skip to main content
← All vulnerabilities
CVE-2022-48663

gpio: mockup: fix NULL pointer dereference when removing debugfs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.146, 5.15.71, 5.19.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    From 5.10.144 · fixed in 5.10.146; From 5.15.69 · fixed in 5.15.71; From 5.19.10 · fixed in 5.19.12

References 4

git.kernel.org