CVE-2025-38249

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38249
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38249.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38249
Downstream
Related
Published
2025-07-09T11:15:27Z
Modified
2025-08-12T21:01:37Z
Summary
[none]
Details

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

ALSA: usb-audio: Fix out-of-bounds read in sndusbgetaudioformatuac3()

In sndusbgetaudioformatuac3(), the length value returned from sndusbctl_msg() is used directly for memory allocation without validation. This length is controlled by the USB device.

The allocated buffer is cast to a uac3clusterheader_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 uac3clusterheader_descriptor.

References

Affected packages