CVE-2026-139782
CVE-2026-139782 — comedi: addi_apci_3xxx: fix subdevice count underallocation
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.
Published Updated Sources: NVD, Linux (CNA), GitHub
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (5.10.275 to <= 5.10.*). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 02a58681b48caf417edfdc100d1e7e28c0e66b97 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2aea3d551ef6b7f1354aab0ccba5d6a189e87e10 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 40c86b6d61895bbbd83c774e362e0d2b6b584728 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6b5f7c695dbbba72b9a5991c084f09454b63bcb8 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0d903b068e85848347f8641c0e51c45636ee4f60 | Vulnerable |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3de5aa458dede472a253266d02902bd95af8e849 | Vulnerable |
| Linux | Linux | 0 to < 5.10.275 | Vulnerable |
| Linux | Linux | 0 to < 5.15.226 | Vulnerable |
| Linux | Linux | 0 to < 6.1.193 | Vulnerable |
| Linux | Linux | 0 to < 6.6.163 | Vulnerable |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /O.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
References
8 on the record
- git.kernel.org/stable/c/02a58681b48caf417edfdc100d1e7e28c0e66b97
Vendor Advisory
- git.kernel.org/stable/c/0d903b068e85848347f8641c0e51c45636ee4f60
Vendor Advisory
- git.kernel.org/stable/c/2aea3d551ef6b7f1354aab0ccba5d6a189e87e10
Vendor Advisory
- git.kernel.org/stable/c/3de5aa458dede472a253266d02902bd95af8e849
Vendor Advisory
- git.kernel.org/stable/c/40c86b6d61895bbbd83c774e362e0d2b6b584728
Vendor Advisory
- git.kernel.org/stable/c/6b5f7c695dbbba72b9a5991c084f09454b63bcb8
Vendor Advisory
- git.kernel.org/stable/c/e4a9298361c79fe7c809d61c9a546ddd0cdba566
Vendor Advisory
- git.kernel.org/stable/c/e4ce30e393f264def20791662865d092cd616776
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139782 is comedi: addi_apci_3xxx: fix subdevice count underallocation, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139782. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139782. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.