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

ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans

The USB MIDI 2.0 endpoint parser has the same descriptor walking
pattern as the legacy MIDI parser. It validates bLength against
bNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the
remaining bytes in the endpoint-extra scan.

A malformed device can therefore make later baAssoGrpTrmBlkID[] reads
consume bytes past the walked descriptor.

Reject zero-length and overlong descriptors while walking endpoint
extras.
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s ALSA USB‑audio subsystem, the parser for MIDI 2.0 endpoints incorrectly validates the length of the descriptor’s group/termination block before reading the associated block identifiers. The check only confirms the size of the terminal block array, but it does not verify that the subsequent reads stay within the bounds of the parsed descriptor. An attacker supplying a malformed USB MIDI device can cause the parser to read bytes beyond the end of the valid descriptor, potentially exposing kernel memory content or corrupting internal state. The flaw is an example of a buffer over‑read (CWE-126).

Affected Systems

All Linux kernels that include the ALSA usb‑audio driver and do not apply the patch referenced in the CVE's associated git commits. The vulnerability is present in all affected Linux kernel releases prior to the fix commit; vendors with kernel packages based on those releases are impacted. No specific product version ranges are listed in the CNA data.

Risk and Exploitability

The vulnerability is an out‑of‑bounds read that could allow an attacker to read kernel memory. The likely attack vector involves presenting a malformed USB MIDI 2.0 device to the system via a local USB interface; this inference is based on the fact that the flaw occurs during USB endpoint descriptor parsing. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires a malicious USB device, the exploitation probability is probably lower than for network‑exposed vulnerabilities, but it remains significant for systems that automatically enumerate or load USB MIDI devices.

Generated by OpenCVE AI on June 24, 2026 at 20:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the ALSA usb‑audio MIDI 2.0 descriptor validation patch.
  • Reboot the system after kernel upgrade to activate the new driver code.
  • If a kernel update is not yet available, restrict or block USB MIDI devices using udev rules to prevent the loading of the vulnerable driver from unknown devices.

Generated by OpenCVE AI on June 24, 2026 at 20:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-126

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans The USB MIDI 2.0 endpoint parser has the same descriptor walking pattern as the legacy MIDI parser. It validates bLength against bNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the remaining bytes in the endpoint-extra scan. A malformed device can therefore make later baAssoGrpTrmBlkID[] reads consume bytes past the walked descriptor. Reject zero-length and overlong descriptors while walking endpoint extras.
Title ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:28:44.345Z

Reserved: 2026-06-09T07:44:35.374Z

Link: CVE-2026-52964

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T20:30:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-126

    Buffer Over-read