CVE-2025-38275

MEDIUM EPSS 6.6%
Published Jul 10, 202511mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jul 10, 2025 11mo ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
6.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel*≥5.15.93  –  <5.16
linuxlinux_kernel*≥6.1  –  <6.1.142
linuxlinux_kernel*≥6.2  –  <6.6.94
linuxlinux_kernel*≥6.7  –  <6.12.34
linuxlinux_kernel*≥6.13  –  <6.15.3
debiandebian_linux11.0any

References 6

  • git.kernel.org https://git.kernel.org/stable/c/0b979a409e40457ca1b5cb48755d1f34eee58805
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0c33117f00c8c5363c22676931b22ae5041f7603
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/127dfb4f1c5a2b622039c5d203f321380ea36665
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5072c1749197fc28b27d7efc0d80320d7cac9572
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d14402a38c2d868cacb1facaf9be908ca6558e59
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
    Mailing ListThird Party Advisory

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/0b979a409e40457ca1b5cb48755d1f34eee58805
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/0c33117f00c8c5363c22676931b22ae5041f7603
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/127dfb4f1c5a2b622039c5d203f321380ea36665
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5072c1749197fc28b27d7efc0d80320d7cac9572
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d14402a38c2d868cacb1facaf9be908ca6558e59
    Patch