CVE-2026-139782

Description

A flaw was found in the Linux kernel's Comedi subsystem within the addi_apci_3xxx driver. An inverted logic check incorrectly calculates the number of subdevices during device attachment, leading to insufficient memory allocation. Subsequent device initialization writes past the bounds of the allocated memory array. A local user could exploit this vulnerability to cause memory corruption, resulting in a denial of service (DoS) via system crash or potential privilege escalation.

Statement

This vulnerability is rated as Moderate impact because exploitation requires either physical access to attach specialized APCI-3xxx acquisition hardware or high administrative privileges to emulate or configure the device. In default Red Hat Enterprise Linux deployments, the Comedi driver subsystem is not active unless these specific expansion cards are connected. While memory corruption can destabilize the kernel and induce a system crash, the prerequisite for specialized hardware or elevated privileges significantly limits the exposure.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.4N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredHighN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.