ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
commit b909df18 upstream. A bogus device can provide a bNumConfigurations value that exceeds the initial value used in usb_get_configuration for allocating dev->config. This can lead to out-of-bounds accesses later, e.g. in usb_destroy_configuration. Signed-off-by:Benoît Sevens <bsevens@google.com> Fixes: 1da177e4 ("Linux-2.6.12-rc2") Cc: stable@kernel.org Link: https://patch.msgid.link/20241120124144.3814457-1-bsevens@google.com Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit a8424205
-
mentioned in commit c667558a
-
mentioned in commit e7dd1a8c
-
mentioned in commit 913b8a6f
-
mentioned in commit 088a3edc
-
mentioned in commit d8cf4321
-
mentioned in commit b6404568
-
mentioned in commit 48952c55
-
mentioned in commit c1fe181b
-
mentioned in commit f57fff3f
-
mentioned in commit ca06ff8f
-
mentioned in commit 27f6ad10
-
mentioned in commit b8dba6cc
-
mentioned in commit 80b11853
-
mentioned in commit 862ce9d4
Please sign in to comment