cbcvebase.
CVE-2025-38516
published 2025-08-16

CVE-2025-38516: In the Linux kernel, the following vulnerability has been resolved: pinctrl: qcom: msm: mark certain pins as invalid for interrupts On some platforms, the…

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
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

38 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 6a89563ccf9cd0d745e2291302878a061508573f6a89563ccf9cd0d745e2291302878a061508573f
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 3f8fc02c2582c1dfad1785e9c7bc8b4e1521af0a3f8fc02c2582c1dfad1785e9c7bc8b4e1521af0a
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < cb4b08a095b1fa4b3fca782757517e4e9a917d8ecb4b08a095b1fa4b3fca782757517e4e9a917d8e
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < cc145e02d6b8494c48f91958d52fa76b7e577f7bcc145e02d6b8494c48f91958d52fa76b7e577f7b
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 1d57f7132662e96aace3b8a000616efde289aae11d57f7132662e96aace3b8a000616efde289aae1
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 275605a8b48002fe98675a5c06f3e39c09067ff2275605a8b48002fe98675a5c06f3e39c09067ff2
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 97c9c7daeeb00c6e1d5e84084041f79c2d2dce2297c9c7daeeb00c6e1d5e84084041f79c2d2dce22
linuxlinux>= f365be0925729508fd8e62f8bdb504ef896cb6e0 < 93712205ce2f1fb047739494c0399a26ea4f089093712205ce2f1fb047739494c0399a26ea4f0890
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.41-16.12.41-1
linuxlinux_kernel>= 0 < 6.16.3-16.16.3-1
linuxlinux_kernel>= 0 < 5.15.0-156.1665.15.0-156.166
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 3.14 < 5.4.2965.4.296
linuxlinux_kernel>= 5.11 < 5.15.1895.15.189
linuxlinux_kernel>= 5.16 < 6.1.1466.1.146
linuxlinux_kernel>= 5.5 < 5.10.2405.10.240
linuxlinux_kernel>= 6.13 < 6.15.76.15.7
linuxlinux_kernel>= 6.2 < 6.6.996.6.99

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM