CVE-2025-39685

In the Linux kernel, the following vulnerability has been resolved: comedi: pcl726: Prevent invalid irq number The reproducer passed in an irq number(0x80008000) that was too large, which triggered the oob. Added an interrupt number check to prevent users from passing in an irq number that was too large. If `it->options[1]` is 31, then `1 << it->options[1]` is still invalid because it shifts a 1-bit into the sign bit (which is UB in C). Possible solutions include reducing the upper bound on the `it->options[1]` value to 30 or lower, or using `1U << it->options[1]`. The old code would just not attempt to request the IRQ if the `options[1]` value were invalid. And it would still configure the device without interrupts even if the call to `request_irq` returned an error. So it would be better to combine this test with the test below.
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:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*

Configuration 2 (hide)

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

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: comedi: pcl726: Prevenir número de irq inválido El reproductor pasó un número de irq (0x80008000) que era demasiado grande, lo que activó el oob. Se añadió una comprobación del número de interrupción para evitar que los usuarios pasen un número de irq que sea demasiado grande. Si “it->options[1]” es 31, entonces “1 << it->options[1]” sigue siendo inválido porque desplaza un bit 1 al bit de signo (lo cual es UB en C). Las posibles soluciones incluyen reducir el límite superior del valor de “it->options[1]” a 30 o menos, o usar “1U << it->options[1]”. El código antiguo simplemente no intentaría solicitar la IRQ si el valor de “options[1]” fuera inválido. Y aún así configuraría el dispositivo sin interrupciones incluso si la llamada a “request_irq” devolviera un error. Así que sería mejor combinar esta prueba con la prueba de abajo.

Information

Published : 2025-09-05 18:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39685

Mitre link : CVE-2025-39685

CVE.ORG link : CVE-2025-39685


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read