Skip to main content
Vulnerability Database/CVE-2026-97930

CVE-2026-97930: Linux Kernel ALSA USB Buffer Overflow Vulnerability

CVE-2026-97930 is a buffer overflow flaw in the Linux kernel ALSA USB driver affecting memory operations in usx2y module. This article covers the technical details, affected kernel versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97930 Overview

CVE-2026-97930 is an out-of-bounds read vulnerability in the Linux kernel's Advanced Linux Sound Architecture (ALSA) usbusx2y driver. The flaw stems from a size mismatch between the in04_last array and the in04_buf buffer inside struct usx2ydev. The in04_last array is declared as char[24], while in04_buf is allocated using sizeof(struct us428_ctls), which equals 21 bytes. During the initialization path in i_usx2y_in04_int(), a memcpy copies 24 bytes from the smaller 21-byte slab allocation, reading 3 bytes past the end of the source object.

Critical Impact

An out-of-bounds read of 3 bytes beyond a slab allocation in the ALSA usbusx2y USB audio driver, potentially leading to information disclosure or kernel memory corruption detection by KASAN.

Affected Products

  • Linux kernel versions containing the sound/usb/usx2y driver prior to the referenced stable commits
  • Systems with USB Tascam US-X2Y series audio hardware enabled
  • Kernel builds exposing the snd-usb-usx2y module

Discovery Timeline

  • 2026-09-25 - CVE CVE-2026-97930 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97930

Vulnerability Analysis

The vulnerability resides in the i_usx2y_in04_int() function within the snd-usb-usx2y driver. This function handles interrupt URB (USB Request Block) completions for the Tascam US-X2Y family of USB audio interfaces. The driver maintains two related data structures: in04_last, a fixed-size array declared as char[24], and in04_buf, a dynamically allocated buffer sized to sizeof(struct us428_ctls), which is 21 bytes.

When the control snapshot state variable ctl_snapshot_last equals -2, the driver executes memcpy(usx2y->in04_last, usx2y->in04_buf, sizeof(usx2y->in04_last)). The sizeof operator returns 24 based on the destination array declaration, causing the copy to read 24 bytes from a buffer that only holds 21. This results in a 3-byte read past the end of the source slab allocation.

Root Cause

The root cause is an inconsistency between the declared size of in04_last and the actual allocation size of in04_buf. Developers used bare numeric literals (24 and 21) in different parts of the driver without a shared constant, allowing the two sizes to drift. The fix introduces a USX2Y_IN04_SIZE constant defined as sizeof(struct us428_ctls) and applies it consistently to the array declaration, buffer allocation, URB transfer length, and comparison loop.

Attack Vector

Triggering the out-of-bounds read requires a USB device matching the usx2y driver binding. A local attacker with physical access, or a malicious or crafted USB device, can connect hardware that presents the expected USB audio interface descriptors. Once the driver initializes and reaches the ctl_snapshot_last == -2 path, the oversized memcpy executes. The read may disclose adjacent slab memory contents to kernel-internal state or trigger a KASAN (Kernel Address Sanitizer) report on hardened builds.

See the upstream patches for the exact code change: Kernel Git Commit 229cab5, Kernel Git Commit 381495b, Kernel Git Commit 861111a, and Kernel Git Commit b5753bd.

Detection Methods for CVE-2026-97930

Indicators of Compromise

  • KASAN splat reports referencing i_usx2y_in04_int or memcpy from in04_buf with a 3-byte over-read
  • Kernel log entries from the snd-usb-usx2y module during USB device enumeration on vulnerable kernels
  • Unexpected binding of USB audio devices matching Tascam US-X2Y vendor and product identifiers in dmesg

Detection Strategies

  • Audit running kernel versions against the fixed stable branches referenced in the upstream commits
  • Enable KASAN in test and staging builds to surface the out-of-bounds read at runtime
  • Monitor USB device connection events for unexpected audio class devices on servers and workstations

Monitoring Recommendations

  • Collect kernel ring buffer output centrally and alert on BUG: KASAN entries referencing ALSA USB drivers
  • Track modprobe and insmod events for the snd-usb-usx2y module in environments where it is not required
  • Baseline authorized USB device inventory and flag new audio class device attachments in sensitive environments

How to Mitigate CVE-2026-97930

Immediate Actions Required

  • Update to a Linux kernel release containing the USX2Y_IN04_SIZE constant fix referenced in the upstream commits
  • Blacklist the snd-usb-usx2y module on systems that do not use Tascam US-X2Y hardware
  • Restrict physical and administrative access to systems where arbitrary USB devices could be attached

Patch Information

The fix replaces the bare 24 and 21 literals with a single USX2Y_IN04_SIZE constant equal to sizeof(struct us428_ctls). The constant is applied uniformly to the in04_last array declaration, the in04_buf allocation, the URB transfer length, and the comparison loop in i_usx2y_in04_int(). Apply the patches from Kernel Git Commit 229cab5, Kernel Git Commit 381495b, Kernel Git Commit 861111a, and Kernel Git Commit b5753bd.

Workarounds

  • Add blacklist snd-usb-usx2y to /etc/modprobe.d/ on systems where the driver is not needed
  • Enforce USB device authorization policies using usbguard or kernel authorized_default settings
  • Disable USB audio class support in custom kernel builds where not required
bash
# Configuration example: blacklist the vulnerable module
echo 'blacklist snd-usb-usx2y' | sudo tee /etc/modprobe.d/disable-usx2y.conf
sudo rmmod snd_usb_usx2y 2>/dev/null
sudo update-initramfs -u

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.