Skip to main content

Linux Kernel EUVDEUVD-2026-26591

| CVE-2026-31778 HIGH
Out-of-bounds Read (CWE-125)
2026-05-01 Linux
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local authenticated access
  2. Delivery
    Connect malicious USB device with crafted product name
  3. Exploit
    Kernel loads snd_usb_caiaq driver
  4. Execution
    init_card fills buffer without null terminator
  5. Persist
    snd_card_set_id reads beyond stack bounds
  6. Impact
    Kernel stack memory disclosed or system crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attack requires authenticated local access (PR:L) to a Linux system running kernel versions 2.6.31 through unpatched 7.0-rc with the snd_usb_caiaq driver loaded or loadable. Physical USB port access or equivalent USB passthrough capability in virtualized environments is mandatory to connect the triggering device. The snd_usb_caiaq driver must be compiled into the kernel or available as a loadable module-this driver specifically supports Native Instruments USB audio devices and may not be loaded on systems without this hardware. Successful exploitation requires the attacker to control USB device descriptors, either via custom malicious hardware or by reprogramming firmware on legitimate Native Instruments devices to report product names with 16+ consecutive non-space characters (commonly achieved with multibyte UTF-8 sequences). Default kernel configurations are vulnerable if the driver is present, with no special kernel boot parameters or compile-time options needed. User interaction is not required (UI:N). The narrow hardware scope (specialized audio equipment) and physical access requirements significantly limit realistic exploitation scenarios compared to network-accessible vulnerabilities, though multi-user desktop systems with USB ports accessible to untrusted users face elevated risk.

Impact

Real-world risk is LOW despite CVSS 7.1 (High) rating. The CVSS vector AV:L/AC:L/PR:L indicates local access with low privileges required, already limiting attack surface to authenticated local users. The EPSS score of 0.02% (7th percentile) confirms minimal observed exploitation activity in the wild. No CISA KEV listing indicates no confirmed active exploitation. The vulnerability requires specific triggering conditions: the target system must load the snd_usb_caiaq driver (specialized USB audio hardware from Native Instruments) AND a malicious or specially-crafted USB device must be connected with product names engineered to contain 16+ non-space characters. Impact is confined to information disclosure (kernel stack memory leak via C:H) and potential denial of service (A:H), with no integrity impact (I:N) and no scope change (S:U). The 16-year code age suggests this boundary condition rarely occurs naturally, supported by absence of historical exploitation reports. SSVC decision tree would likely classify this as 'scheduled' rather than 'immediate' patching priority: exploitation requires physical USB access or USB passthrough in virtualized environments, technical impact is partial system compromise, and automatable exploitation is constrained by hardware requirements. Primary concern is information leakage potentially defeating KASLR or exposing sensitive kernel data structures, but practical exploitability in production environments is limited. Organizations using Native Instruments USB audio devices in multi-user Linux systems face higher relative risk.

Exploit ScenarioDerived

An attacker with local user access connects a malicious USB device (or reprograms legitimate Native Instruments audio hardware firmware) to report a USB product name containing 16 consecutive non-space, non-ASCII characters such as multibyte UTF-8 sequences. Upon device connection, the kernel's snd_usb_caiaq driver loads and calls init_card, which strips whitespace into the 16-byte buffer without null termination. When snd_card_set_id() iterates over this buffer, it reads beyond bounds into adjacent kernel stack memory. The attacker captures disclosed kernel stack contents via dmesg (if accessible) or induced kernel behavior, potentially extracting return addresses to defeat KASLR, function pointers, or sensitive data structures. Alternatively, the out-of-bounds read triggers a kernel panic causing denial of service. No public proof-of-concept code identified at time of analysis, but exploitation technique is straightforward given USB device control.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Stack buffer out-of-bounds read in Linux kernel ALSA snd_usb_caiaq driver allows local authenticated users to disclose kernel stack memory and potentially trigger denial of service. The vulnerability affects systems with USB audio devices using the caiaq driver when product names contain many non-ASCII characters. Present since kernel v2.6.31-rc1 (June 2009), this 16-year-old off-by-one error lacks null terminator validation during whitespace stripping. EPSS score of 0.02% (7th percentile) indicates low observed exploitation probability. Vendor patches available across multiple stable kernel branches (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, 7.0).

RemediationAI

Upgrade to patched kernel versions appropriate for your distribution's stable branch: 5.10.253 or later for 5.10.x LTS, 5.15.203+ for 5.15.x LTS, 6.1.168+ for 6.1.x LTS, 6.6.134+ for 6.6.x stable, 6.12.81+ for 6.12.x, 6.18.22+ for 6.18.x, 6.19.12+ for 6.19.x, or 7.0+ for mainline. Primary fix commit 02d9c5b0b555 changes loop bound from sizeof(card->id) to sizeof(card->id)-1, ensuring null terminator preservation. Vendor advisories and patches available at kernel.org stable tree references listed above. If immediate patching is not feasible, implement compensating controls: (1) Blacklist the snd_usb_caiaq kernel module via modprobe configuration (blacklist snd_usb_caiaq in /etc/modprobe.d/) if Native Instruments USB audio devices are not required-this completely eliminates attack surface but disables legitimate hardware functionality; (2) Restrict physical USB port access and disable USB device auto-loading for non-administrative users via udev rules-adds operational complexity in desktop environments; (3) In virtualized environments, disable USB passthrough for untrusted guest VMs-may impact legitimate USB audio workflows. Monitor kernel logs for KASAN stack-out-of-bounds warnings in snd_card_set_id_no_lock as potential exploitation indicators. Note that compensating controls trading functionality for security may not be acceptable in audio production environments where this hardware is commonly deployed.

Affected VersionsENISA

Linux patch: 5.15.203
Linux patch: 6.12.81
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <66194c2575a4f567577ae70b1d7561163ce791a6
Linux patch: 6.19.12
Linux patch: 7.0
Linux patch: 5.10.253
Linux patch: 6.1.168
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <7594a6464873d90fd229e5b94cdd3b92c9feabed
Linux 2.6.31
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3afa2e67f3523a980a2f90fd63c22322ac2b9ce0
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <45424e871abf2a152e247a9cff78359f18dd95c0
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3178b62e2e31bab39f63d4c8e54bf4ee0a425627
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <a82c1bce2d1299dd3c686a8fe48cf75b79a403c7
Linux patch: 6.18.22
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <3f7f8bae0d52cbd07ab04b76b6aac89ef98ee9f6
Linux patch: 6.6.134
Linux bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a <02d9c5b0b5553a391448b6d655262bd829f90234
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the ALSA (Advanced Linux Sound Architecture) snd_usb_caiaq driver's init_card function, which handles initialization of USB audio devices from Native Instruments. The flaw is a classic off-by-one error in string handling introduced by commit bafeee5b1f8d. During card initialization, the code strips whitespace from USB product names into a 16-byte stack buffer (card->id). The loop condition checks len < sizeof(card->id) (16 bytes) without reserving space for the null terminator. When a USB device reports a product name with 16 or more non-space characters-common with multibyte UTF-8 encoded names-the buffer fills completely without null termination. Subsequently, snd_card_set_id() calls copy_valid_id_string(), which iterates using while (*nid && ...) and reads beyond the buffer boundary into adjacent stack memory. This manifests as CWE-125 (Out-of-bounds Read), detected by KASAN (Kernel Address Sanitizer) at sound/core/init.c:696. The vulnerability affects kernel.org CPE streams tracking mainline and stable branches.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
SUSE HIGH
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

5
CVSS changed
May 11, 2026 - 18:07 NVD
7.1 (HIGH)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:15 nvd
HIGH 7.1
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

ALSA: caiaq: fix stack out-of-bounds read in init_card

The loop creates a whitespace-stripped copy of the card shortname where len < sizeof(card->id) is used for the bounds check. Since sizeof(card->id) is 16 and the local id buffer is also 16 bytes, writing 16 non-space characters fills the entire buffer, overwriting the terminating nullbyte.

When this non-null-terminated string is later passed to snd_card_set_id() -> copy_valid_id_string(), the function scans forward with while (*nid && ...) and reads past the end of the stack buffer, reading the contents of the stack.

A USB device with a product name containing many non-ASCII, non-space characters (e.g. multibyte UTF-8) will reliably trigger this as follows:

BUG: KASAN: stack-out-of-bounds in copy_valid_id_string sound/core/init.c:696 [inline] BUG: KASAN: stack-out-of-bounds in snd_card_set_id_no_lock+0x698/0x74c sound/core/init.c:718

The off-by-one has been present since commit bafeee5b1f8d ("ALSA: snd_usb_caiaq: give better shortname") from June 2009 (v2.6.31-rc1), which first introduced this whitespace-stripping loop. The original code never accounted for the null terminator when bounding the copy.

Fix this by changing the loop bound to sizeof(card->id) - 1, ensuring at least one byte remains as the null terminator.

Executive ViewAI

Why It Matters

CVE-2026-31778 is a stack buffer read vulnerability in the Linux kernel's USB audio driver that could allow local authenticated users to access sensitive kernel memory or cause system instability on systems with specific USB audio devices. While this 16-year-old defect has a low observed exploitation rate (0.02% EPSS), it poses a confidentiality and availability risk to Linux deployments supporting USB audio peripherals, particularly in environments where local user access is common.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is constrained, disable or restrict access to USB audio devices until patches are deployed, and monitor kernel logs for stack memory disclosure attempts or audio driver crashes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy