CVE-2026-139782

unknown
EUVD alias: EUVD-2026-139488
Assigned by CNA: linux
Published 2026-11-30 · Modified 2026-11-30
CVSS v3
—
CVSS v4 NEW
—
not yet in upstream
VIR risk
—

Description

In the Linux kernel, the following vulnerability has been resolved: comedi: addi_apci_3xxx: fix subdevice count underallocation In apci3xxx_auto_attach(), the number of subdevices is computed with     n_subdevices = (board->ai_n_chan ? 0 : 1) + board->has_ao + ... The ternary is inverted: when the board has analog input channels (ai_n_chan != 0), it counts 0 instead of 1, so the AI subdevice that is actually created is not accounted for. As a result comedi_alloc_subdevices() allocates one entry too few, and the later subdevice initialization (notably the TTL Digital I/O subdevice, which is populated last) writes past the end of the allocated array, causing a slab out-of-bounds write. Flip the ternary to count 1 when ai_n_chan is non-zero and 0 otherwise, matching the subdevice creation order in the function.

Predictions

Exploit likelihood
20%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie linux Affected —
sid linux Fixed 7.3.6-1
forky linux Fixed 7.3.6-1
bookworm linux Affected —

Application impact

VendorProductVersionsFixed
linux linuxlinux{"endExcluding":"5.10.275"}5.10.275
linux linuxlinux{"endExcluding":"5.15.226"}5.15.226
linux linuxlinux{"endExcluding":"6.1.193"}6.1.193
linux linuxlinux{"endExcluding":"6.6.163"}6.6.163
linux linuxlinux{"endExcluding":"6.12.119"}6.12.119
linux linuxlinux{"endExcluding":"6.18.65"}6.18.65
linux linuxlinux{"endExcluding":"7.3.6"}7.3.6

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.