summaryrefslogtreecommitdiff
path: root/kernel/crash_dump_dm_crypt.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-04-27 17:22:15 +0200
committerTakashi Iwai <tiwai@suse.de>2026-04-28 08:14:21 +0200
commit6e7247d8f5fefeceb0bb9cc80a5388a636b219cd (patch)
tree5d60a51552ff47c95740e6dd988c3547f2121da0 /kernel/crash_dump_dm_crypt.c
parentc39f0bc03f84ba64c9144c95714df1dc36150f6d (diff)
ALSA: usb-audio: Avoid potential endless loop in convert_chmap_v3()
The convert_chmap_v3() has a loop with its increment size of cs_desc->wLength, but we forgot to validate cs_desc->wLength itself, which may lead to potential endless loop by a malformed descriptor. Add a proper size check to abort the loop for plugging the hole. Fixes: ecfd41166b72 ("ALSA: usb-audio: Validate UAC3 cluster segment descriptors") Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20260427152224.15276-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/crash_dump_dm_crypt.c')
0 files changed, 0 insertions, 0 deletions