diff options
author | Benoît Sevens <bsevens@google.com> | 2024-11-20 12:41:44 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-11-20 14:18:37 +0100 |
commit | b909df18ce2a998afef81d58bbd1a05dc0788c40 (patch) | |
tree | 4dbe3a1664d3445e42133c71e54ac0e90c0ed311 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cc3d0b5dd989d3238d456f9fd385946379a9c13d (diff) | |
download | linux-b909df18ce2a998afef81d58bbd1a05dc0788c40.tar.gz linux-b909df18ce2a998afef81d58bbd1a05dc0788c40.tar.bz2 linux-b909df18ce2a998afef81d58bbd1a05dc0788c40.zip |
ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
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: 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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions