CVE-2025-38275: phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug
Vulnerability summary
CVE-2025-38275 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 44 · Related 39Timeline
- 10-07-2025PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug The qmp_usb_iomap() helper function currently returns the raw result of devm_ioremap() for non-exclusive mappings. Since devm_ioremap() may return a NULL pointer and the caller only checks error pointers with IS_ERR(), NULL could bypass the check and lead to an invalid dereference. Fix the issue by checking if devm_ioremap() returns NULL. When it does, qmp_usb_iomap() now returns an error pointer via IOMEM_ERR_PTR(-ENOMEM), ensuring safe and consistent error handling.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.19% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu134 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.147-1 | < 6.12.35-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 0b979a409e40457ca1b5cb48755d1f34eee58805 | ≥ a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 127dfb4f1c5a2b622039c5d203f321380ea36665 | ≥ a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 5072c1749197fc28b27d7efc0d80320d7cac9572 | ≥ a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < 0c33117f00c8c5363c22676931b22ae5041f7603 | ≥ a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, < d14402a38c2d868cacb1facaf9be908ca6558e59 | 368ea32e0ad0335bdf3180067875a928e35387c6 | ≥ 5.15.93, < 5.16 | 6.1
- linux_kernel≥ 5.15.93, < 5.16 | ≥ 6.1, < 6.1.142 | ≥ 6.2, < 6.6.94 | ≥ 6.7, < 6.12.34 | ≥ 6.13, < 6.15.3
3 vendors · 138 products