Not scored
comedi: dt2814: validate the IRQ supplied by userspace
- Severity
- Not scored
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: dt2814: 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. dt2814 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. Every interrupt this board can assert is a legacy ISA one, so the ISA range is the right bound; it is also sufficient, because mp_chip_data->isa_irq is set only by alloc_isa_irq_from_domain() and mp_unmap_irq() returns early when it is set. 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 a211ea977a4127a88fe0a5c4846e33d0e8b2309f before a5054e7c42e7a9d95842c442d577fea1c32df899, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before b5515a05595915d06a13238fcf6336402e690fbb, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before 21e01e5000c557c74ead4b8a20b235a53a7f1eda, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before f0d80649f670d27eb33dc8341cdb26c2b90f29d0, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before 25c93efa84a27301a3e7b71114eeea6a603a6e00, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before 78d5a00032324b48eb2b38b037a2085e2d0c2e3b, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before 875a674b7a12271dcb66eeb63d5c01714f2c0320, from a211ea977a4127a88fe0a5c4846e33d0e8b2309f before 81026c2b3f9096cdfdfa02918f94865629fb7f90 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-139409 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139409 changed 2026-11-30 | Public domain |