{"id":"CVE-2025-38249","summary":"ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()\n\nIn snd_usb_get_audioformat_uac3(), the length value returned from\nsnd_usb_ctl_msg() is used directly for memory allocation without\nvalidation. This length is controlled by the USB device.\n\nThe allocated buffer is cast to a uac3_cluster_header_descriptor\nand its fields are accessed without verifying that the buffer\nis large enough. If the device returns a smaller than expected\nlength, this leads to an out-of-bounds read.\n\nAdd a length check to ensure the buffer is large enough for\nuac3_cluster_header_descriptor.","modified":"2026-04-16T04:32:05.221939434Z","published":"2025-07-09T10:42:29.704Z","related":["SUSE-SU-2025:02846-1","SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38249.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ee87c2814deb5e42921281116ac3abcb326880b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11e740dc1a2c8590eb7074b5c4ab921bb6224c36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/24ff7d465c4284529bbfa207757bffb6f44b6403"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2dc1c3edf67abd30c757f8054a5da61927cdda21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6eb211788e1370af52a245d4d7da35c374c7b401"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74fcb3852a2f579151ce80b9ed96cd916ba0d5d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3fb926abe90d86f5e3055e0035f04d9892a118b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38249.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38249"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9a2fe9b801f585baccf8352d82839dcd54b300cf"},{"fixed":"24ff7d465c4284529bbfa207757bffb6f44b6403"},{"fixed":"2dc1c3edf67abd30c757f8054a5da61927cdda21"},{"fixed":"c3fb926abe90d86f5e3055e0035f04d9892a118b"},{"fixed":"6eb211788e1370af52a245d4d7da35c374c7b401"},{"fixed":"74fcb3852a2f579151ce80b9ed96cd916ba0d5d8"},{"fixed":"0ee87c2814deb5e42921281116ac3abcb326880b"},{"fixed":"11e740dc1a2c8590eb7074b5c4ab921bb6224c36"},{"fixed":"fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38249.json"}}],"schema_version":"1.7.5"}