CVE-2025-38275 Details
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.
A vulnerability in the Linux kernel's handling of USB mappings for Qualcomm QMP can lead to a NULL pointer dereference. The issue arises because the 'qmp_usb_iomap()' function returns the raw output of 'devm_ioremap()' for non-exclusive mappings. Since 'devm_ioremap()' can return a NULL pointer, and the subsequent error check only identifies pointers marked as errors, a NULL return could be incorrectly processed, allowing for an invalid memory access. This vulnerability has been addressed by modifying 'qmp_usb_iomap()' to return an error pointer when 'devm_ioremap()' returns NULL, ensuring proper error management.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0b979a409e40457ca1b5cb48755d1f34eee58805 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0c33117f00c8c5363c22676931b22ae5041f7603 | kernel.org | Patch |
| https://git.kernel.org/stable/c/127dfb4f1c5a2b622039c5d203f321380ea36665 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5072c1749197fc28b27d7efc0d80320d7cac9572 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d14402a38c2d868cacb1facaf9be908ca6558e59 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 10, 2025 | New CVE Received | kernel.org |