Bug 2378973 (CVE-2025-38249) - CVE-2025-38249 kernel: ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()
Summary: CVE-2025-38249 kernel: ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get...
Keywords:
Status: NEW
Alias: CVE-2025-38249
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-09 11:01 UTC by OSIDB Bzimport
Modified: 2025-07-11 23:04 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-09 11:01:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.