CVE-2025-38249
published 2025-07-09CVE-2025-38249: 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…
high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
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
37 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| debian | linux-6.1 | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 24ff7d465c4284529bbfa207757bffb6f44b6403 | 24ff7d465c4284529bbfa207757bffb6f44b6403 |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 2dc1c3edf67abd30c757f8054a5da61927cdda21 | 2dc1c3edf67abd30c757f8054a5da61927cdda21 |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < c3fb926abe90d86f5e3055e0035f04d9892a118b | c3fb926abe90d86f5e3055e0035f04d9892a118b |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 6eb211788e1370af52a245d4d7da35c374c7b401 | 6eb211788e1370af52a245d4d7da35c374c7b401 |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 74fcb3852a2f579151ce80b9ed96cd916ba0d5d8 | 74fcb3852a2f579151ce80b9ed96cd916ba0d5d8 |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 0ee87c2814deb5e42921281116ac3abcb326880b | 0ee87c2814deb5e42921281116ac3abcb326880b |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 11e740dc1a2c8590eb7074b5c4ab921bb6224c36 | 11e740dc1a2c8590eb7074b5c4ab921bb6224c36 |
| linux | linux | >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a | fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.244-1 | 5.10.244-1 |
| linux | linux_kernel | >= 0 < 6.1.147-1 | 6.1.147-1 |
| linux | linux_kernel | >= 0 < 6.12.37-1 | 6.12.37-1 |
| linux | linux_kernel | >= 0 < 6.12.37-1 | 6.12.37-1 |
| linux | linux_kernel | >= 0 < 5.15.0-156.166 | 5.15.0-156.166 |
| linux | linux_kernel | >= 0 < 6.8.0-100.100 | 6.8.0-100.100 |
| linux | linux_kernel | >= 4.17 < 5.4.296 | 5.4.296 |
| linux | linux_kernel | >= 5.11 < 5.15.187 | 5.15.187 |
| linux | linux_kernel | >= 5.16 < 6.1.143 | 6.1.143 |
| linux | linux_kernel | >= 5.5 < 5.10.240 | 5.10.240 |
| linux | linux_kernel | >= 6.13 < 6.15.5 | 6.15.5 |
| linux | linux_kernel | >= 6.2 < 6.6.96 | 6.6.96 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH