Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139782

published

comedi: addi_apci_3xxx: fix subdevice count underallocation

Published
30 Nov 2026, 13:37:57 UTC
Updated
02 Dec 2026, 09:21:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 02a58681b48caf417edfdc100d1e7e28c0e66b97 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 2aea3d551ef6b7f1354aab0ccba5d6a189e87e10 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 40c86b6d61895bbbd83c774e362e0d2b6b584728 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < e4a9298361c79fe7c809d61c9a546ddd0cdba566 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < e4ce30e393f264def20791662865d092cd616776 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 6b5f7c695dbbba72b9a5991c084f09454b63bcb8 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 0d903b068e85848347f8641c0e51c45636ee4f60 · 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 3de5aa458dede472a253266d02902bd95af8e849 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.11 (affected) · 0 to < 3.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 02a58681b48caf417edfdc100d1e7e28c0e66b97 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 2aea3d551ef6b7f1354aab0ccba5d6a189e87e10 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 40c86b6d61895bbbd83c774e362e0d2b6b584728 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < e4a9298361c79fe7c809d61c9a546ddd0cdba566 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < e4ce30e393f264def20791662865d092cd616776 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 6b5f7c695dbbba72b9a5991c084f09454b63bcb8 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 0d903b068e85848347f8641c0e51c45636ee4f60 (affected · git)656e39fedcf01b688a2aa1dca78c6c2a571264f1 to < 3de5aa458dede472a253266d02902bd95af8e849 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.11 (affected)0 to < 3.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

comedi: addi_apci_3xxx: fix subdevice count underallocation

Provenance

Schema
5.2
Searchable
yes
Content hash
b3b2120de66bde2e19efb6107e81fc332ea814ada4317ac44b73921a9cf2f257
Ingested
02 Dec 2026, 09:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected