CVE-2026-139406 comedi: pcmuio: validate the IRQs supplied by userspace

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139406?

CVE-2026-139406 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

comedi: pcmuio: validate the IRQs supplied by userspace

comedi boards are configured through the COMEDI_DEVCONFIG ioctl, so it->options[1] is a number chosen by userspace. pcmuio 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.

This board takes two interrupts, one per ASIC, so options[1] and options[2] both need the check. The existing options[2] == dev->irq case is left alone: it covers both ASICs sharing one interrupt and neither having one, and by then options[1] has already been validated.

Which versions are affected by CVE-2026-139406?

How do I fix CVE-2026-139406?

Upgrade to a fixed version.

Is CVE-2026-139406 being exploited?

There is no known exploitation of CVE-2026-139406 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139406, DEBIAN-CVE-2026-139406, GHSA-38p4-qc9h-g3vh, UBUNTU-CVE-2026-139406.

Is CVE-2026-139406 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free