diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-05-16 21:44:12 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-05-16 21:44:46 +0300 |
commit | 3b44ec8c5c44790a82f07e90db45643c762878c6 (patch) | |
tree | db1c1ad2653102fd6d8cc8126c3f0e8282ff9b58 /tools/perf/scripts/python/task-analyzer.py | |
parent | cc638dba23266897c80b9bc87f33de44565fab38 (diff) | |
download | linux-3b44ec8c5c44790a82f07e90db45643c762878c6.tar.xz |
ALSA: hda: Fix Oops by 9.1 surround channel names
get_line_out_pfx() may trigger an Oops by overflowing the static array
with more than 8 channels. This was reported for MacBookPro 12,1 with
Cirrus codec.
As a workaround, extend for the 9.1 channels and also fix the
potential Oops by unifying the code paths accessing the same array
with the proper size check.
Reported-by: Olliver Schinagl <oliver@schinagl.nl>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/64d95eb0-dbdb-cff8-a8b1-988dc22b24cd@schinagl.nl
Link: https://lore.kernel.org/r/20230516184412.24078-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions