Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139410

comedi: ni_atmio16d: validate the IRQ supplied by userspace

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < cc62dd07644871b6b614025be0e80bc3fa588064affected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 41ddda793f72d24bad4fa523405dfd57f84afbb2affected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 9108d867a884b0c2e0dd51cbc4242d6408418dc7affected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 200a88e25f86d675f51cddb885e4dfe95aa7ea0daffected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 6547603b5590955bc607abdfaedfba324da4d720affected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < b8f58c5ee4f983c5693fb43b9e9c9e10b6b1009eaffected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 5f672f6dd52081b23d3d5355eb3b1045ad0a64bbaffected
  • 2323b276308a5da5774b778f39c7fd94b2a3022a to < 71424db0ebb5f484fa3f386910f8ce9da95b8b2eaffected

Linux Linux

Default version status: affected

  • 2.6.30affected
  • 0 to < 2.6.30unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References