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

ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES

parse_uac2_sample_rate_range() caps the number of enumerated
rates at MAX_NR_RATES, but it only breaks out of the current
rate loop. A malformed UAC2 RANGE response with additional
triplets continues parsing the remaining triplets and repeatedly
prints "invalid uac2 rates" while probe still holds
register_mutex.

Stop the whole parse once the cap is reached and return the
number of rates collected so far.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel ALSA usb-audio driver, the function parse_uac2_sample_rate_range() stops listing available sample rates when it reaches MAX_NR_RATES, but it only breaks the inner loop. If a USB audio device sends a malformed UAC2 RANGE response containing more than the maximum number of triplets, the remaining triplets are still parsed, each of which generates an "invalid uac2 rates" error and holds the register_mutex during the probe. This can cause continuous error logging and could potentially keep the mutex locked for an extended period, leading to a denial of service or degraded system performance. The weakness aligns with CWE‑400, unbounded resource consumption.

Affected Systems

Linux kernel installations that include the ALSA usb-audio driver, regardless of distribution or flavor. No specific kernel versions are listed in the data, so any kernel build that contains the buggy driver code may be affected until the fix is applied.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, while the vulnerability is not listed in CISA’s KEV catalog. Because the flaw involves an error handling oversight rather than an access-control or code-injection vulnerability, there is no documented path to arbitrary code execution or privileged escalation. The risk, therefore, is considered low; however, the potential for denial of service through excessive log output or prolonged mutex contention still exists, especially in high-load or remote attack scenarios where an adversary could supply a malicious UAC2 response.

Generated by OpenCVE AI on May 27, 2026 at 18:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the ALSA usb-audio fix (commit c318f97 or later).
  • Verify that the usb-audio module has been rebuilt with the updated kernel code to ensure the parsing guard is active.
  • If a kernel update cannot be performed immediately, disable the ALSA USB audio driver by blacklisting or removing the module to stop the malformed response from being processed.

Generated by OpenCVE AI on May 27, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES parse_uac2_sample_rate_range() caps the number of enumerated rates at MAX_NR_RATES, but it only breaks out of the current rate loop. A malformed UAC2 RANGE response with additional triplets continues parsing the remaining triplets and repeatedly prints "invalid uac2 rates" while probe still holds register_mutex. Stop the whole parse once the cap is reached and return the number of rates collected so far.
Title ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES
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-05-27T12:56:19.588Z

Reserved: 2026-05-13T15:03:33.092Z

Link: CVE-2026-46018

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:20.240

Modified: 2026-05-27T14:48:03.013

Link: CVE-2026-46018

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T18:45:39Z

Weaknesses