Not scored
comedi: ni_atmio16d: validate the IRQ supplied by userspace
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2323b276308a5da5774b778f39c7fd94b2a3022a before cc62dd07644871b6b614025be0e80bc3fa588064, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 41ddda793f72d24bad4fa523405dfd57f84afbb2, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 9108d867a884b0c2e0dd51cbc4242d6408418dc7, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 200a88e25f86d675f51cddb885e4dfe95aa7ea0d, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 6547603b5590955bc607abdfaedfba324da4d720, from 2323b276308a5da5774b778f39c7fd94b2a3022a before b8f58c5ee4f983c5693fb43b9e9c9e10b6b1009e, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 5f672f6dd52081b23d3d5355eb3b1045ad0a64bb, from 2323b276308a5da5774b778f39c7fd94b2a3022a before 71424db0ebb5f484fa3f386910f8ce9da95b8b2e and 1 more Not affected: before 2.6.30, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139410 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139410 changed 2026-11-30 | Public domain |