{"id":"CVE-2026-139408","summary":"comedi: dmm32at: validate the IRQ supplied by userspace","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: dmm32at: 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. dmm32at 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.227778050Z","published":"2026-11-30T13:34:28.788Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139408.json","cna_assigner":"Linux"},"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/153e17b0a74e1a25320f98075616003be4e2c83f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2723a32d0c31f3f06b05cc6de902a63edd2b88c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/42a5d34f9c99b5727e3406d43c7eb3cef9b8f920"},{"type":"WEB","url":"https://git.kernel.org/stable/c/450591540e1172fdbe6c22e5ee531c378864e8a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a2f698fdc630fabb9ba970804b1c0353d1bb8d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/797d56d7f90864e67424f8e82639a9b3aedf37e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8a44344cd7c0ddd64c91c810a89e94a2cd73b3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab98aa0e4bee85d9edfe3c2260f585aa3fea3f6b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139408.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139408"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3c501880ac4436ad2db5feed6e7d7548e13d539f"},{"fixed":"ab98aa0e4bee85d9edfe3c2260f585aa3fea3f6b"},{"fixed":"450591540e1172fdbe6c22e5ee531c378864e8a1"},{"fixed":"153e17b0a74e1a25320f98075616003be4e2c83f"},{"fixed":"a8a44344cd7c0ddd64c91c810a89e94a2cd73b3d"},{"fixed":"2723a32d0c31f3f06b05cc6de902a63edd2b88c1"},{"fixed":"42a5d34f9c99b5727e3406d43c7eb3cef9b8f920"},{"fixed":"4a2f698fdc630fabb9ba970804b1c0353d1bb8d3"},{"fixed":"797d56d7f90864e67424f8e82639a9b3aedf37e0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139408.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-139408.json"}}],"schema_version":"1.9.2"}