CVE-2025-38275
phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug
Reported by linux · Published July 10, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.15.3, 6.12.34, 6.6.94, 6.1.142, 5.16 |
| Linux | Linux | d14402a38c2d868cacb1facaf9be908ca6558e59, 127dfb4f1c5a2b622039c5d203f321380ea36665, 0c33117f00c8c5363c22676931b22ae5041f7603 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd, a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd |
| Linux | Linux | 6.1, 0, 6.1.142 |
| Linux | Linux | 5.15.93, 6.15.3, 6.16 |
| linux | linux_kernel | 6.1, 6.1, 6.1 |
Timeline
- Jul 9, 2025 CVE Published
- Jul 10, 2025 EPSS Score (30 in total, the first dated here)
- Oct 11, 2025 PoC Published (21 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (138 in total, the first dated here)
- Mar 29, 2026 Security Advisory (144 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38275
vulnetix vdb fixes CVE-2025-38275
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38275/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart