CVE-2025-38516

published 16 Aug 2025 · updated 7 Nov 2026

pinctrl: qcom: msm: mark certain pins as invalid for interrupts

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1d57f7132662e96aace3b8a000616efde289aae1, Kernel 5.4.296, Kernel 5.15.189 and 12 more.

In the Linux kernel, the following vulnerability has been resolved: pinctrl: qcom: msm: mark certain pins as invalid for interrupts On some platforms, the UFS-reset pin has no interrupt logic in TLMM but is nevertheless registered as a GPIO in the kernel. This enables the user-space to trigger a BUG() in the pinctrl-msm driver by running, for example: `gpiomon -c 0 113` on RB2. The exact culprit is requesting pins whose intr_detection_width setting is not 1 or 2 for interrupts. This hits a BUG() in msm_gpio_irq_set_type(). Potentially crashing the kernel due to an invalid request from user-space is not optimal, so let's go through the pins and mark those that would fail the check as invalid for the irq chip as we should not even register them as available irqs. This function can be extended if we determine that there are more corner-cases like this.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f365be0925729508fd8e62f8bdb504ef896cb6e0 <1d57f7132662e96aace3b8a000616efde289aae1, >=3.14 <5.4.296, >=5.11 <5.15.189, >=5.16 <6.1.146, >=5.5 <5.10.240, >=6.13 <6.15.7, >=6.2 <6.6.99, >=6.7 <6.12.39, =6.16, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <cc145e02d6b8494c48f91958d52fa76b7e577f7b, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <cb4b08a095b1fa4b3fca782757517e4e9a917d8e, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <97c9c7daeeb00c6e1d5e84084041f79c2d2dce22, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <93712205ce2f1fb047739494c0399a26ea4f0890, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <6a89563ccf9cd0d745e2291302878a061508573f, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <3f8fc02c2582c1dfad1785e9c7bc8b4e1521af0a, >=f365be0925729508fd8e62f8bdb504ef896cb6e0 <275605a8b48002fe98675a5c06f3e39c09067ff2, =3.141d57f7132662e96aace3b8a000616efde289aae1, 5.4.296, 5.15.189, 6.1.146, 5.10.240, 6.15.7, 6.6.99, 6.12.39, cc145e02d6b8494c48f91958d52fa76b7e577f7b, cb4b08a095b1fa4b3fca782757517e4e9a917d8e, 97c9c7daeeb00c6e1d5e84084041f79c2d2dce22, 93712205ce2f1fb047739494c0399a26ea4f0890, 6a89563ccf9cd0d745e2291302878a061508573f, 3f8fc02c2582c1dfad1785e9c7bc8b4e1521af0a, 275605a8b48002fe98675a5c06f3e39c09067ff2
debiandebian_linux=11.0
linux-kernel: Kernel>=6.7.0 <6.12.39, >=6.2.0 <6.6.99, >=6.13.0 <6.15.7, >=5.5.0 <5.10.240, >=5.16.0 <6.1.146, >=5.11.0 <5.15.189, >=3.14.0 <5.4.2966.12.39, 6.6.99, 6.15.7, 5.10.240, 6.1.146, 5.15.189, 5.4.296

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38516 severity on Zeptric[![CVE-2025-38516](https://zeptric.io/badge/cve/CVE-2025-38516.svg)](https://zeptric.io/cve/CVE-2025-38516)