diff options
author | Takashi Iwai <tiwai@suse.de> | 2025-08-14 10:12:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-08-14 10:13:45 +0200 |
commit | ecfd41166b72b67d3bdeb88d224ff445f6163869 (patch) | |
tree | 1a880675bb127a698005840bb4b9a43818b22dde /lib/mpi/mpi-scan.c | |
parent | d832ccbc301fbd9e5a1d691bdcf461cdb514595f (diff) |
ALSA: usb-audio: Validate UAC3 cluster segment descriptors
UAC3 class segment descriptors need to be verified whether their sizes
match with the declared lengths and whether they fit with the
allocated buffer sizes, too. Otherwise malicious firmware may lead to
the unexpected OOB accesses.
Fixes: 11785ef53228 ("ALSA: usb-audio: Initial Power Domain support")
Reported-and-tested-by: Youngjun Lee <yjjuny.lee@samsung.com>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20250814081245.8902-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions