CVE-2025-38530

In the Linux kernel, the following vulnerability has been resolved: comedi: pcl812: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: if ((1 << it->options[1]) & board->irq_bits) { However, `it->options[i]` is an unchecked `int` value from userspace, so the shift amount could be negative or out of bounds. Fix the test by requiring `it->options[1]` to be within bounds before proceeding with the original test. Valid `it->options[1]` values that select the IRQ will be in the range [1,15]. The value 0 explicitly disables the use of interrupts.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

07 Jan 2026, 18:57

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/0489c30d080f07cc7f09d04de723d8c2ccdb61ef - () https://git.kernel.org/stable/c/0489c30d080f07cc7f09d04de723d8c2ccdb61ef - Patch
References () https://git.kernel.org/stable/c/16c173abee315953fd17a279352fec4a1faee862 - () https://git.kernel.org/stable/c/16c173abee315953fd17a279352fec4a1faee862 - Patch
References () https://git.kernel.org/stable/c/29ef03e5b84431171d6b77b822985b54bc44b793 - () https://git.kernel.org/stable/c/29ef03e5b84431171d6b77b822985b54bc44b793 - Patch
References () https://git.kernel.org/stable/c/374d9b3eb4b08407997ef1fce96119d31e0c0bc4 - () https://git.kernel.org/stable/c/374d9b3eb4b08407997ef1fce96119d31e0c0bc4 - Patch
References () https://git.kernel.org/stable/c/5bfa301e1e59a9b1a7b62a800b54852337c97416 - () https://git.kernel.org/stable/c/5bfa301e1e59a9b1a7b62a800b54852337c97416 - Patch
References () https://git.kernel.org/stable/c/7e470d8efd10725b189ca8951973a8425932398a - () https://git.kernel.org/stable/c/7e470d8efd10725b189ca8951973a8425932398a - Patch
References () https://git.kernel.org/stable/c/a27e27eee313fe1c450b6af1e80e64412546cab4 - () https://git.kernel.org/stable/c/a27e27eee313fe1c450b6af1e80e64412546cab4 - Patch
References () https://git.kernel.org/stable/c/b14b076ce593f72585412fc7fd3747e03a5e3632 - () https://git.kernel.org/stable/c/b14b076ce593f72585412fc7fd3747e03a5e3632 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - Third Party Advisory, Mailing List
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory, Mailing List
CWE CWE-125
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html -
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

28 Aug 2025, 15:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/0489c30d080f07cc7f09d04de723d8c2ccdb61ef -
  • () https://git.kernel.org/stable/c/29ef03e5b84431171d6b77b822985b54bc44b793 -
  • () https://git.kernel.org/stable/c/374d9b3eb4b08407997ef1fce96119d31e0c0bc4 -

18 Aug 2025, 20:16

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: comedi: pcl812: Corregir desplazamiento de bits fuera de los límites Al comprobar un número de IRQ compatible, se utiliza la siguiente prueba: if ((1 &lt;&lt; it-&gt;options[1]) &amp; board-&gt;irq_bits) { Sin embargo, `it-&gt;options[i]` es un valor `int` no comprobado del espacio de usuario, por lo que la cantidad de desplazamiento podría ser negativa o estar fuera de los límites. Corrija la prueba exigiendo que `it-&gt;options[1]` esté dentro de los límites antes de continuar con la prueba original. Los valores válidos de `it-&gt;options[1]` que seleccionan la IRQ estarán en el rango [1,15]. El valor 0 deshabilita explícitamente el uso de interrupciones.

16 Aug 2025, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-16 12:15

Updated : 2026-01-07 18:57


NVD link : CVE-2025-38530

Mitre link : CVE-2025-38530

CVE.ORG link : CVE-2025-38530


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read