CVE-2025-38483
JSON

7.1high

comedi: das16m1: Fix bit shift out of bounds

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: das16m1: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: /* only irqs 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15 are valid */ if ((1 << it->options[1]) & 0xdcfc) { 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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 729988507680b2ce934bce61d9ce0ea7b235914c before 539bdff832adac9ea653859fa0b6bc62e743329c, from 729988507680b2ce934bce61d9ce0ea7b235914c before d1291c69f46d6572b2cf75960dd8975d7ab2176b, from 729988507680b2ce934bce61d9ce0ea7b235914c before b3c95fa508e5dc3da60520eea92a5241095ceef1, from 729988507680b2ce934bce61d9ce0ea7b235914c before 65c03e6fc524eb2868abedffd8a4613d78abc288, from 729988507680b2ce934bce61d9ce0ea7b235914c before adb7df8a8f9d788423e161b779764527dd3ec2d0, from 729988507680b2ce934bce61d9ce0ea7b235914c before 076b13ee60eb01ed0d140ef261f95534562a3077, from 729988507680b2ce934bce61d9ce0ea7b235914c before f211572818ed5bec2b3f5d4e0719ef8699b3c269, from 729988507680b2ce934bce61d9ce0ea7b235914c before ed93c6f68a3be06e4e0c331c6e751f462dee3932 and 1 more
Not affected: before 3.14, from 5.4.297 up to 5.4.*, from 5.10.241 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.147 up to 6.1.*, from 6.6.100 up to 6.6.*
CVE List
linux linux_kernelfrom 3.14 before 5.4.297, from 5.5 before 5.10.241, from 5.11 before 5.15.190, from 5.16 before 6.1.147, from 6.2 before 6.6.100, from 6.7 before 6.12.40, from 6.13 before 6.15.8, 6.16NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: comedi: das16m1: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: /* only irqs 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15 are valid */ if ((1 << it->options[1]) & 0xdcfc) { 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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: comedi: das16m1: Corregir desplazamiento de bits fuera de los límites Al comprobar un número de IRQ compatible, se utiliza la siguiente prueba: /* solo las irq 2, 3, 4, 5, 6, 7, 10, 11, 12, 14 y 15 son válidas */ if ((1 &lt;&lt; it-&gt;options[1]) &amp; 0xdcfc) { 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38483 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38483 changed 2026-06-17Public domain