CVE-2026-139410
Description
In the Linux kernel, the following vulnerability has been resolved:
comedi: ni_atmio16d: validate the IRQ supplied by userspace
comedi boards are configured through the COMEDI_DEVCONFIG ioctl, so it->options[1] is a number chosen by userspace. ni_atmio16d passes it to request_irq() without checking it first, which lets an interrupt owned by another irqdomain -- a PCI device's IO-APIC GSI, for instance -- be claimed for this board. When the owner of that interrupt is later released the descriptor is freed while this driver's handler is still installed on it.
The driver already documents which interrupts the board can assert -- "0 == no irq; or 3,4,5,6,7,9,10,11,12,14,15" -- so use exactly that set rather than the whole ISA range.
Bound the value before requesting it, as das16m1.c already does. An out-of-range value is ignored rather than rejected, so the board still attaches without interrupt support, exactly as it does today when request_irq() fails.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/200a88e25f86d675f51cddb885e4dfe95aa7ea0dnvd
- git.kernel.org/stable/c/41ddda793f72d24bad4fa523405dfd57f84afbb2nvd
- git.kernel.org/stable/c/5f672f6dd52081b23d3d5355eb3b1045ad0a64bbnvd
- git.kernel.org/stable/c/6547603b5590955bc607abdfaedfba324da4d720nvd
- git.kernel.org/stable/c/71424db0ebb5f484fa3f386910f8ce9da95b8b2envd
- git.kernel.org/stable/c/9108d867a884b0c2e0dd51cbc4242d6408418dc7nvd
- git.kernel.org/stable/c/b8f58c5ee4f983c5693fb43b9e9c9e10b6b1009envd
- git.kernel.org/stable/c/cc62dd07644871b6b614025be0e80bc3fa588064nvd
News mentions
0No linked articles in our index yet.