VDB

CVE-2025-38516

CVE-2025-38516 PUBLISHED

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

Reported by linux · Published August 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.15.7, 6.12.39, 6.6.99, 6.1.146, 5.15.189, 5.10.240, 5.4.296

Affected products

VendorProductVersions
LinuxLinuxf365be0925729508fd8e62f8bdb504ef896cb6e0, f365be0925729508fd8e62f8bdb504ef896cb6e0, f365be0925729508fd8e62f8bdb504ef896cb6e0
LinuxLinux3.14, 0, 5.4.296
linuxlinux_kernel3.14, 3.14, 3.14
LinuxLinux*, *, *

Timeline

  • Aug 9, 2025 CVE Published
  • Aug 16, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (13 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (198 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (207 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38516
vulnetix vdb fixes CVE-2025-38516

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38516/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›