CVE-2022-48663

gpio: mockup: fix NULL pointer dereference when removing debugfs

published April 28, 2024

CVSS
—
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00226 · 12.5th percentile
Published
2024-04-28T13:01Z
EPSS history
Timeline
  • 28 APR 13:01Z
    gpio: mockup: fix NULL pointer dereference when removing debugfs
    cvelistv5