# CVE-2026-139410: comedi: ni_atmio16d: validate the IRQ supplied by userspace


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 30 Nov 2026
- **Updated:** 30 Nov 2026
- **Also known as:** BELL-CVE-2026-139410, DEBIAN-CVE-2026-139410, GHSA-hj5c-pqj6-j9m6, UBUNTU-CVE-2026-139410

## What is CVE-2026-139410?

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

### Official description

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

comedi: ni_atmio16d: 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. ni_atmio16d 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.

The driver already documents which interrupts the board can assert --
"0 == no irq; or 3,4,5,6,7,9,10,11,12,14,15" -- so use exactly that set
rather than the whole ISA range.

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.

## Which versions are affected by CVE-2026-139410?


## How do I fix CVE-2026-139410?

Upgrade to a fixed version.

## Is CVE-2026-139410 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-139410 and fix it if it is affected.

What it is: CVE-2026-139410 is a vulnerability in Linux, published on 30 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-139410 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-139410/ (Markdown: https://insights.sbomify.com/CVE-2026-139410/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-139410
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-139410
- OSV: https://osv.dev/vulnerability/CVE-2026-139410

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-139410/
Summaries are generated and may contain mistakes; the official description above is the record.
