Vulnerability

CVE-2025-38249

highCVSS 3.1 7.1Published 9 Jul 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Linux linux kernel

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning