Back
CVE-2022-48663
gpio: mockup: fix NULL pointer dereference when removing debugfs
Medium5.5EPSS 0.23%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 87% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected 3815e66c2183f3430490e450ba16779cf5214ec6 – < bdea98b98f844bd8a983ca880893e509a8b4162f
- affected 3a10e8edee2b45a654f1f7b05f747129ec84cf9d – < 18352095a0d581f6aeb1e9fc9d68cc0152cd64b4
- affected bc55c1677edbe86a1c66a35e800df47dff16ad61 – < af0bfabf06c74c260265c30ba81a34e7dec0e881
- affected 303e6da99429510b1e4edf833afe90ac8542e747 – < b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68
- affected 5.10.144 – < 5.10.146
- affected 5.15.69 – < 5.15.71
- affected 5.19.10 – < 5.19.12
References (4)
- https://git.kernel.org/stable/c/bdea98b98f844bd8a983ca880893e509a8b4162f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/18352095a0d581f6aeb1e9fc9d68cc0152cd64b4 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/af0bfabf06c74c260265c30ba81a34e7dec0e881 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b7df41a6f79dfb18ba2203f8c5f0e9c0b9b57f68 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-48663)Record last updated .