CVE-2025-38275

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJul 10, 2025
First seenJul 10, 2025

How to fix

Update
  • linux linux_kernel5.16, 6.1.142, 6.6.94, 6.12.34, 6.15.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15.93 ≤ v < 5.16, 6.1 ≤ v < 6.1.142, 6.2 ≤ v < 6.6.94, 6.7 ≤ v < 6.12.34, 6.13 ≤ v < 6.15.35.16, 6.1.142, 6.6.94, 6.12.34, 6.15.3
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.