android_kernel_oneplus_msm8998/sound/pci
Takashi Iwai 4984b8bb89 ALSA: rme9652: Hardening for potential Spectre v1
commit f526afcd8f71945c23ce581d7864ace93de8a4f7 upstream.

As recently Smatch suggested, one place in RME9652 driver may expand
the array directly from the user-space value with speculation:
  sound/pci/rme9652/rme9652.c:2074 snd_rme9652_channel_info() warn: potential spectre issue 'rme9652->channel_map' (local cap)

This patch puts array_index_nospec() for hardening against it.

BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-02 07:53:41 -07:00
..
ac97
ali5451 ALSA: ali5451: Fix out-of-bound position reporting 2016-10-16 17:36:14 +02:00
asihpi ALSA: asihpi: Hardening for potential Spectre v1 2018-05-02 07:53:41 -07:00
au88x0 ALSA: au88x0: avoid theoretical uninitialized access 2017-10-08 10:14:20 +02:00
aw2
ca0106
cs46xx
cs5535audio
ctxfi ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call 2017-03-30 09:35:15 +02:00
echoaudio ALSA: echoaudio: Fix memory allocation 2016-07-27 09:47:38 -07:00
emu10k1
hda ALSA: hda - New VIA controller suppor no-snoop path 2018-04-24 09:32:10 +02:00
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen
pcxhr ALSA: pcxhr: Fix missing mutex unlock 2016-05-04 14:48:43 -07:00
riptide
rme9652 ALSA: rme9652: Hardening for potential Spectre v1 2018-05-02 07:53:41 -07:00
trident
vx222 ALSA: vx: Fix possible transfer overflow 2017-11-21 09:21:20 +01:00
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c ALSA: intel8x0: Add clock quirk entry for AD1981B on IBM ThinkPad X41. 2016-04-12 09:08:52 -07:00
intel8x0m.c
Kconfig ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
maestro3.c
Makefile
rme32.c
rme96.c ALSA: rme96: Fix unexpected volume reset after rate changes 2015-12-04 20:39:49 +01:00
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c