CVEvulnerability

CVE-2025-38249

7.1 HIGH Published 2025-07-09 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-07-09
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3() In snd_usb_get_audioformat_uac3(), the length value returned from snd_usb_ctl_msg() is used directly for memory allocation without validation. This length is controlled by the USB device. The allocated buffer is cast to a uac3_cluster_header_descriptor and its fields are accessed without verifying that the buffer is large enough. If the device returns a smaller than expected length, this leads to an out-of-bounds read. Add a length check to ensure the buffer is large enough for uac3_cluster_header_descriptor.

Affected configurations

• linux linux kernel (>= 4.17 < 5.4.296) • linux linux kernel (>= 5.5 < 5.10.240) • linux linux kernel (>= 5.11 < 5.15.187) • linux linux kernel (>= 5.16 < 6.1.143) • linux linux kernel (>= 6.2 < 6.6.96) • linux linux kernel (>= 6.7 < 6.12.36) • linux linux kernel (>= 6.13 < 6.15.5) • linux linux kernel 6.16 • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References