diff options
| author | Benoît Sevens <bsevens@google.com> | 2024-11-20 12:41:44 +0000 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2025-02-06 17:34:42 +0200 |
| commit | 6c1a45d174c3af1d788ca0011bfe8f7ac187155f (patch) | |
| tree | de40407f71b30b613fa2350fc00884c0c175b532 /scripts/gdb/linux/utils.py | |
| parent | e0e1da8d88d98c525de4bc330c06902d3ebc8bf0 (diff) | |
UPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
commit b909df18ce2a998afef81d58bbd1a05dc0788c40 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.
Bug: 382243530
Signed-off-by: Benoît Sevens <bsevens@google.com>
Fixes: 1da177e4c3f4 ("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>
(cherry picked from commit 9887d859cd60727432a01564e8f91302d361b72b)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I2df0d59750943fa34747bd4bae2e549320f2a0ce
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
