# CVE-2025-38249: ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-09T10:42:29.704Z
- Modified: 2026-11-05T21:18:23.093Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 24ff7d465c4284529bbfa207757bffb6f44b6403; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 2dc1c3edf67abd30c757f8054a5da61927cdda21; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before c3fb926abe90d86f5e3055e0035f04d9892a118b; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 6eb211788e1370af52a245d4d7da35c374c7b401; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 74fcb3852a2f579151ce80b9ed96cd916ba0d5d8; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 0ee87c2814deb5e42921281116ac3abcb326880b; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before 11e740dc1a2c8590eb7074b5c4ab921bb6224c36; from 9a2fe9b801f585baccf8352d82839dcd54b300cf before fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a; 4.17 (not affected: before 4.17; from 5.4.296 up to 5.4.*; from 5.10.240 up to 5.10.*; from 5.15.187 up to 5.15.*; from 6.1.143 up to 6.1.*; from 6.6.96 up to 6.6.*; from 6.12.36 up to 6.12.*; from 6.15.5 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 4.17 before 5.4.296; from 5.5 before 5.10.240; from 5.11 before 5.15.187; from 5.16 before 6.1.143; from 6.2 before 6.6.96; from 6.7 before 6.12.36; from 6.13 before 6.15.5; 6.16
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/24ff7d465c4284529bbfa207757bffb6f44b6403> (patch)
- <https://git.kernel.org/stable/c/2dc1c3edf67abd30c757f8054a5da61927cdda21> (patch)
- <https://git.kernel.org/stable/c/c3fb926abe90d86f5e3055e0035f04d9892a118b> (patch)
- <https://git.kernel.org/stable/c/6eb211788e1370af52a245d4d7da35c374c7b401> (patch)
- <https://git.kernel.org/stable/c/74fcb3852a2f579151ce80b9ed96cd916ba0d5d8> (patch)
- <https://git.kernel.org/stable/c/0ee87c2814deb5e42921281116ac3abcb326880b> (patch)
- <https://git.kernel.org/stable/c/11e740dc1a2c8590eb7074b5c4ab921bb6224c36> (patch)
- <https://git.kernel.org/stable/c/fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38249](https://www.cve.org/CVERecord?id=CVE-2025-38249), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38249](https://nvd.nist.gov/vuln/detail/CVE-2025-38249), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38249 · Whole record: https://cve.day/CVE-2025-38249.json · Rebuilt by cve.day 2026-11-25T22:59:01.011Z
