aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-05-14 19:03:19 +0200
committerTakashi Iwai <tiwai@suse.de>2023-05-15 22:06:19 +0200
commit1a38ae579606dae836dced573d5ffa78cce6fc48 (patch)
tree2140a9898befdc7850f6a4f33d5d34db82ceb9fe /tools/perf/scripts/python/bin
parentALSA: emu10k1: fix non-zero mixer control defaults in highres mode (diff)
downloadlinux-1a38ae579606dae836dced573d5ffa78cce6fc48.tar.gz
linux-1a38ae579606dae836dced573d5ffa78cce6fc48.zip
ALSA: emu10k1: validate min/max values of translated controls
User space could pass arbitrary ranges, which were uncritically accepted. This could lead to table lookups out of range. I don't think that this is a security issue, as it only allowed someone with CAP_SYS_ADMIN to crash the kernel, but still. Setting an invalid translation mode will also be rejected now. That did no harm, but it's still better to detect errors. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230514170323.3408834-4-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions