CVE-2025-38275
MEDIUMLinux Kernel - NULL Pointer Dereference in qmp_usb_iomap
Title source: llmDescription
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.
References (6)
Core 6
Core References
Third Party Advisory, Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Scores
CVSS v3
5.5
EPSS
0.0007
EPSS Percentile
21.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (20)
debian/debian_linux
11.0
linux/Kernel
6.1.0 - 6.1.142linux
linux/Kernel
6.13.0 - 6.15.3linux
linux/Kernel
6.2.0 - 6.6.94linux
linux/Kernel
6.7.0 - 6.12.34linux
Linux/Linux
< 6.1
Linux/Linux
368ea32e0ad0335bdf3180067875a928e35387c6
Linux/Linux
5.15.93 - 5.16
Linux/Linux
6.1
Linux/Linux
6.1.142 - 6.1.*
... and 10 more
Published
Jul 10, 2025
Tracked Since
Feb 18, 2026