CVE-2022-48663

gpio: mockup: fix NULL pointer dereference when removing debugfs

No CVSS score yet EPSS 0.23%

Published 28 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-48663

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48663 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3815e66c2183f3430490e450ba16779cf5214ec6, before bdea98b98f844bd8a983ca880893e509a8b4162f
affected from 3a10e8edee2b45a654f1f7b05f747129ec84cf9d, before 18352095a0d581f6aeb1e9fc9d68cc0152cd64b4
affected from bc55c1677edbe86a1c66a35e800df47dff16ad61, before af0bfabf06c74c260265c30ba81a34e7dec0e881
affected from 303e6da99429510b1e4edf833afe90ac8542e747, before b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68
Other versions: unaffected
Linux
affected from 5.10.144, before 5.10.146
affected from 5.15.69, before 5.15.71
affected from 5.19.10, before 5.19.12
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48663 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48663

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-48663
trivy image --scanners vuln IMAGE | grep CVE-2022-48663

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-48663 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.