CVE-2026-139782: Linux kernel · comedi: addi_apci_3xxx: fix subdevice count underallocation
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.0 Medium.
Data as of 3 Dec 2026, 22:19 UTC
Thin evidence
One scorer or noneCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available as indicated by the affected versions list, which identifies specific patched Linux kernel versions. Users and administrators should upgrade to these fixed versions to remediate the issue. Since this is a Linux kernel vulnerability, applying the vendor-provided kernel updates or patches that correct the subdevice count logic will resolve the problem.
Description
A vulnerability in the Linux kernel's comedi addi_apci_3xxx driver causes an underallocation of subdevice counts due to an inverted ternary condition. This leads to a slab out-of-bounds write during subdevice initialization, specifically affecting the TTL Digital I/O subdevice. The issue arises because the code incorrectly counts zero subdevices when analog input channels are present, resulting in insufficient allocation.
References
- ubuntu.com/security/CVE-2026-139782 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139782 (opens in a new tab)
- git.kernel.org/stable/c/0d903b068e85848347f8641c0e51c45636ee4f60 (opens in a new tab)
- git.kernel.org/stable/c/e4a9298361c79fe7c809d61c9a546ddd0cdba566 (opens in a new tab)
- git.kernel.org/stable/c/40c86b6d61895bbbd83c774e362e0d2b6b584728 (opens in a new tab)
- git.kernel.org/stable/c/6b5f7c695dbbba72b9a5991c084f09454b63bcb8 (opens in a new tab)
- git.kernel.org/stable/c/02a58681b48caf417edfdc100d1e7e28c0e66b97 (opens in a new tab)
- git.kernel.org/stable/c/2aea3d551ef6b7f1354aab0ccba5d6a189e87e10 (opens in a new tab)
- git.kernel.org/stable/c/e4ce30e393f264def20791662865d092cd616776 (opens in a new tab)
- git.kernel.org/stable/c/3de5aa458dede472a253266d02902bd95af8e849 (opens in a new tab)