CVE-2025-38482

In the Linux kernel, the following vulnerability has been resolved: comedi: das6402: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: /* IRQs 2,3,5,6,7, 10,11,15 are valid for "enhanced" mode */ if ((1 << it->options[1]) & 0x8cec) { 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, 16:25

Type Values Removed Values Added
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/3eab654f5d199ecd45403c6588cda63e491fcfca - () https://git.kernel.org/stable/c/3eab654f5d199ecd45403c6588cda63e491fcfca - Patch
References () https://git.kernel.org/stable/c/4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4 - () https://git.kernel.org/stable/c/4a3c18cde02e35aba87e0ad5672b3e1c72dda5a4 - Patch
References () https://git.kernel.org/stable/c/70f2b28b5243df557f51c054c20058ae207baaac - () https://git.kernel.org/stable/c/70f2b28b5243df557f51c054c20058ae207baaac - Patch
References () https://git.kernel.org/stable/c/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a - () https://git.kernel.org/stable/c/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a - Patch
References () https://git.kernel.org/stable/c/8a3637027ceeba4ca5e500b23cb7d24c25592513 - () https://git.kernel.org/stable/c/8a3637027ceeba4ca5e500b23cb7d24c25592513 - Patch
References () https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406 - () https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406 - Patch
References () https://git.kernel.org/stable/c/a18a42e77545afcacd6a2b8d9fc16191b87454df - () https://git.kernel.org/stable/c/a18a42e77545afcacd6a2b8d9fc16191b87454df - Patch
References () https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80 - () https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80 - 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
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
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:*:*:*:*:*:*
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/73f34d609397805c20d6b2ef5c07a4cbf7c4d63a -
  • () https://git.kernel.org/stable/c/a15e9c175f783298c4ee48146be6841335400406 -
  • () https://git.kernel.org/stable/c/de8da1063cce9234d55c8270d9bdf4cf84411c80 -

29 Jul 2025, 14:14

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: comedi: das6402: Corregir desplazamiento de bits fuera de los límites Al comprobar un número de IRQ compatible, se utiliza la siguiente prueba: /* Las IRQ 2, 3, 5, 6, 7, 10, 11, 15 son válidas para el modo "enhanced" */ if ((1 &lt;&lt; it-&gt;options[1]) &amp; 0x8cec) { Sin embargo, `it-&gt;options[i]` es un valor `int` sin comprobar 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.

28 Jul 2025, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-28 12:15

Updated : 2026-01-07 16:25


NVD link : CVE-2025-38482

Mitre link : CVE-2025-38482

CVE.ORG link : CVE-2025-38482


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read