CVE-2025-38516

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

No CVSS score yet EPSS 0.19%

Published 16 Aug 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-38516

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38516 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.62% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 6a89563ccf9cd0d745e2291302878a061508573f
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 3f8fc02c2582c1dfad1785e9c7bc8b4e1521af0a
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before cb4b08a095b1fa4b3fca782757517e4e9a917d8e
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before cc145e02d6b8494c48f91958d52fa76b7e577f7b
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 1d57f7132662e96aace3b8a000616efde289aae1
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 275605a8b48002fe98675a5c06f3e39c09067ff2
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 97c9c7daeeb00c6e1d5e84084041f79c2d2dce22
affected from f365be0925729508fd8e62f8bdb504ef896cb6e0, before 93712205ce2f1fb047739494c0399a26ea4f0890
Other versions: unaffected
Linux
affected 3.14
unaffected before 3.14
unaffected from 5.4.296 up to and including 5.4.*
unaffected from 5.10.240 up to and including 5.10.*
unaffected from 5.15.189 up to and including 5.15.*
unaffected from 6.1.146 up to and including 6.1.*
unaffected from 6.6.99 up to and including 6.6.*
unaffected from 6.12.39 up to and including 6.12.*
unaffected from 6.15.7 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38516 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38516

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38516
trivy image --scanners vuln IMAGE | grep CVE-2025-38516

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38516 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.