WSL2-Linux-Kernel/sound
Takashi Iwai 7f054a5bee ALSA: opl3: Hardening for potential Spectre v1
As recently Smatch suggested, one place in OPL3 driver may expand the
array directly from the user-space value with speculation:
  sound/drivers/opl3/opl3_synth.c:476 snd_opl3_set_voice() warn: potential spectre issue 'snd_opl3_regmap'

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>
2018-04-25 10:37:47 +02:00
..
ac97 ALSA: ac97: kconfig: Remove select of undefined symbol AC97 2018-02-12 08:16:39 +01:00
aoa
arm
atmel
core ALSA: seq: oss: Hardening for potential Spectre v1 2018-04-25 10:37:45 +02:00
drivers ALSA: opl3: Hardening for potential Spectre v1 2018-04-25 10:37:47 +02:00
firewire ALSA: dice: fix OUI for TC group 2018-04-24 13:51:35 +02:00
hda ALSA: hda: Copying sync power state helper to core 2018-02-12 13:59:39 +01:00
i2c
isa
mips
oss vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
parisc
pci ALSA: hda: Hardening for potential Spectre v1 2018-04-25 10:37:46 +02:00
pcmcia
ppc
sh
soc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2018-04-05 11:56:35 -07:00
sparc
spi
synth
usb ALSA: usx2y: Change return type to vm_fault_t 2018-04-25 08:15:20 +02:00
x86 ALSA: x86: Fix potential crash at error path 2018-02-28 08:46:00 +01:00
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c sound: Remove leftover msnd init declarations 2018-01-11 17:10:34 +01:00