{"api_version":"1","generated_at":"2026-12-01T18:16:00+00:00","cve":"CVE-2026-139406","urls":{"html":"https://cve.report/CVE-2026-139406","api":"https://cve.report/api/cve/CVE-2026-139406.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139406","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139406"},"summary":{"title":"comedi: pcmuio: validate the IRQs supplied by userspace","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: pcmuio: validate the IRQs supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit->options[1] is a number chosen by userspace. pcmuio 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->isa_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.\n\nThis board takes two interrupts, one per ASIC, so options[1] and\noptions[2] both need the check. The existing options[2] == dev->irq case\nis left alone: it covers both ASICs sharing one interrupt and neither\nhaving one, and by then options[1] has already been validated.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:09","updated_at":"2026-11-30 14:19:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/45b3c79f58c0c211192eedd69b4006636aa5a21a","name":"https://git.kernel.org/stable/c/45b3c79f58c0c211192eedd69b4006636aa5a21a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86f983a4e084ed3375174fc6cc041cbda0c215e6","name":"https://git.kernel.org/stable/c/86f983a4e084ed3375174fc6cc041cbda0c215e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7360e37cd04b545e57230a3c8c2a252689c71161","name":"https://git.kernel.org/stable/c/7360e37cd04b545e57230a3c8c2a252689c71161","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9c325b21bba99e597771137fc11b9427c86618d8","name":"https://git.kernel.org/stable/c/9c325b21bba99e597771137fc11b9427c86618d8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/df654fe0296d16dadcfa47a1a27e0b030ce1a307","name":"https://git.kernel.org/stable/c/df654fe0296d16dadcfa47a1a27e0b030ce1a307","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/565a33552d3b2b2b203d0c4d2b01200dcf07854d","name":"https://git.kernel.org/stable/c/565a33552d3b2b2b203d0c4d2b01200dcf07854d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07","name":"https://git.kernel.org/stable/c/afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f73fd5263b3b9c3f1b0281f174666e57e122e976","name":"https://git.kernel.org/stable/c/f73fd5263b3b9c3f1b0281f174666e57e122e976","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139406","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139406","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 df654fe0296d16dadcfa47a1a27e0b030ce1a307 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 86f983a4e084ed3375174fc6cc041cbda0c215e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 f73fd5263b3b9c3f1b0281f174666e57e122e976 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 7360e37cd04b545e57230a3c8c2a252689c71161 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 45b3c79f58c0c211192eedd69b4006636aa5a21a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 565a33552d3b2b2b203d0c4d2b01200dcf07854d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6baef150380d561a4d695a6be4fc509821c23611 9c325b21bba99e597771137fc11b9427c86618d8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.30","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.30 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/comedi/drivers/pcmuio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"df654fe0296d16dadcfa47a1a27e0b030ce1a307","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"86f983a4e084ed3375174fc6cc041cbda0c215e6","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"f73fd5263b3b9c3f1b0281f174666e57e122e976","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"7360e37cd04b545e57230a3c8c2a252689c71161","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"45b3c79f58c0c211192eedd69b4006636aa5a21a","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"565a33552d3b2b2b203d0c4d2b01200dcf07854d","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"},{"lessThan":"9c325b21bba99e597771137fc11b9427c86618d8","status":"affected","version":"6baef150380d561a4d695a6be4fc509821c23611","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/comedi/drivers/pcmuio.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.30"},{"lessThan":"2.6.30","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.30","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: pcmuio: validate the IRQs supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit->options[1] is a number chosen by userspace. pcmuio 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->isa_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.\n\nThis board takes two interrupts, one per ASIC, so options[1] and\noptions[2] both need the check. The existing options[2] == dev->irq case\nis left alone: it covers both ASICs sharing one interrupt and neither\nhaving one, and by then options[1] has already been validated."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:27.722Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/afb4595fee62bcbe379ce0f0f665fcc7fb5c0c07"},{"url":"https://git.kernel.org/stable/c/df654fe0296d16dadcfa47a1a27e0b030ce1a307"},{"url":"https://git.kernel.org/stable/c/86f983a4e084ed3375174fc6cc041cbda0c215e6"},{"url":"https://git.kernel.org/stable/c/f73fd5263b3b9c3f1b0281f174666e57e122e976"},{"url":"https://git.kernel.org/stable/c/7360e37cd04b545e57230a3c8c2a252689c71161"},{"url":"https://git.kernel.org/stable/c/45b3c79f58c0c211192eedd69b4006636aa5a21a"},{"url":"https://git.kernel.org/stable/c/565a33552d3b2b2b203d0c4d2b01200dcf07854d"},{"url":"https://git.kernel.org/stable/c/9c325b21bba99e597771137fc11b9427c86618d8"}],"title":"comedi: pcmuio: validate the IRQs supplied by userspace","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139406","datePublished":"2026-11-30T13:34:27.722Z","dateReserved":"2026-11-30T13:22:15.931Z","dateUpdated":"2026-11-30T13:34:27.722Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:09","lastModifiedDate":"2026-11-30 14:19:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139406","Ordinal":"1","Title":"comedi: pcmuio: validate the IRQs supplied by userspace","CVE":"CVE-2026-139406","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139406","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: pcmuio: validate the IRQs supplied by userspace\n\ncomedi boards are configured through the COMEDI_DEVCONFIG ioctl, so\nit->options[1] is a number chosen by userspace. pcmuio 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->isa_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.\n\nThis board takes two interrupts, one per ASIC, so options[1] and\noptions[2] both need the check. The existing options[2] == dev->irq case\nis left alone: it covers both ASICs sharing one interrupt and neither\nhaving one, and by then options[1] has already been validated.","Type":"Description","Title":"comedi: pcmuio: validate the IRQs supplied by userspace"}]}}}