mirror of
https://github.com/torvalds/linux.git
synced 2026-05-15 01:43:11 +02:00
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> |
||
|---|---|---|
| .. | ||
| mpu401 | ||
| opl3 | ||
| opl4 | ||
| pcsp | ||
| vx | ||
| aloop.c | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||
| ml403-ac97cr.c | ||
| mtpav.c | ||
| mts64.c | ||
| pcm-indirect2.c | ||
| pcm-indirect2.h | ||
| portman2x4.c | ||
| serial-u16550.c | ||
| virmidi.c | ||