{"id":"CVE-2026-139409","summary":"comedi: dt2814: validate the IRQ supplied by userspace","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: dt2814: validate the IRQ supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit-\u003eoptions[1] is a number chosen by userspace. dt2814 passes it to\nrequest_irq() without checking it first, which lets an interrupt owned by\nanother irqdomain -- a PCI device's IO-APIC GSI, for instance -- be\nclaimed for this board. When the owner of that interrupt is later\nreleased the descriptor is freed while this driver's handler is still\ninstalled on it.\n\nEvery interrupt this board can assert is a legacy ISA one, so the ISA\nrange is the right bound; it is also sufficient, because\nmp_chip_data-\u003eisa_irq is set only by alloc_isa_irq_from_domain() and\nmp_unmap_irq() returns early when it is set.\n\nBound the value before requesting it, as das16m1.c already does. An\nout-of-range value is ignored rather than rejected, so the board still\nattaches without interrupt support, exactly as it does today when\nrequest_irq() fails.","modified":"2026-11-30T15:02:28.248954890Z","published":"2026-11-30T13:34:29.334Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139409.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21e01e5000c557c74ead4b8a20b235a53a7f1eda"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25c93efa84a27301a3e7b71114eeea6a603a6e00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78d5a00032324b48eb2b38b037a2085e2d0c2e3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81026c2b3f9096cdfdfa02918f94865629fb7f90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/875a674b7a12271dcb66eeb63d5c01714f2c0320"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5054e7c42e7a9d95842c442d577fea1c32df899"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5515a05595915d06a13238fcf6336402e690fbb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0d80649f670d27eb33dc8341cdb26c2b90f29d0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139409.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139409"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a211ea977a4127a88fe0a5c4846e33d0e8b2309f"},{"fixed":"a5054e7c42e7a9d95842c442d577fea1c32df899"},{"fixed":"b5515a05595915d06a13238fcf6336402e690fbb"},{"fixed":"21e01e5000c557c74ead4b8a20b235a53a7f1eda"},{"fixed":"f0d80649f670d27eb33dc8341cdb26c2b90f29d0"},{"fixed":"25c93efa84a27301a3e7b71114eeea6a603a6e00"},{"fixed":"78d5a00032324b48eb2b38b037a2085e2d0c2e3b"},{"fixed":"875a674b7a12271dcb66eeb63d5c01714f2c0320"},{"fixed":"81026c2b3f9096cdfdfa02918f94865629fb7f90"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139409.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.30"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139409.json"}}],"schema_version":"1.9.2"}