linux/sound
Dan Carpenter 248470f36b ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
[ Upstream commit 158e1886b6 ]

This is harmless, but the "addr" comes from the user and it could lead
to a negative shift or to shift wrapping if it's too high.

Fixes: 0b00a5615d ("ALSA: hdac_ext: add hdac extended controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201103101807.GC1127762@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:18:42 +01:00
..
ac97
aoa ALSA: aoa: onyx: always initialize register read value 2020-01-27 14:51:02 +01:00
arm
atmel
core ALSA: seq: oss: Avoid mutex lock for a long-time ioctl 2020-10-29 09:55:11 +01:00
drivers ALSA: opl3: fix infoleak in opl3 2020-07-16 08:17:25 +02:00
firewire ALSA: bebob: potential info leak in hwdep_read() 2020-10-29 09:54:57 +01:00
hda ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link() 2020-11-18 19:18:42 +01:00
i2c
isa ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-06-25 15:32:48 +02:00
mips
oss
parisc
pci ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887 2020-10-29 09:54:58 +01:00
pcmcia
ppc
sh ALSA: sh: Fix compile warning wrt const 2020-02-24 08:34:45 +01:00
soc ASoC: qcom: lpass-cpu: fix concurrency issue 2020-10-29 09:55:06 +01:00
sparc
spi
synth
usb ALSA: usb-audio: Add implicit feedback quirk for MODX 2020-11-10 12:35:57 +01:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c