linux-IllusionX/sound/pci
Tong Zhang 8491f59e3b ALSA: vx222: fix null-ptr-deref
a recent refactor created a null pointer vx in snd_vx222_probe().
The vx pointer should have been populated in snd_vx222_create() as
suggested in earlier version, otherwise vx->core.ibl.size will throw an
error.

[    1.298398] BUG: kernel NULL pointer dereference, address: 00000000000001d8
[    1.316799] RIP: 0010:snd_vx222_probe+0x155/0x290 [snd_vx222]

Fixes: 3bde3359aa ("ALSA: vx222: Allocate resources with device-managed APIs")
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Link: https://lore.kernel.org/r/20210907014746.1445278-1-ztong0001@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-09-07 07:13:19 +02:00
..
ac97
ali5451 ALSA: ali5451: Allocate resources with device-managed APIs 2021-07-19 16:17:00 +02:00
asihpi
au88x0
aw2
ca0106
cs46xx ALSA: pci: cs46xx: Fix set up buffer type properly 2021-08-09 10:04:05 +02:00
cs5535audio
ctxfi
echoaudio
emu10k1 ALSA: emu10k1x: Allocate resources with device-managed APIs 2021-07-19 16:16:58 +02:00
hda ALSA: hda/cs8409: Initialize Codec only in init fixup. 2021-08-27 22:35:50 +02:00
ice1712 ALSA: ice1724: Allocate resources with device-managed APIs 2021-07-19 16:17:00 +02:00
korg1212 ALSA: pci/korg1212: completely remove 'set but not used' warnings 2021-08-05 08:23:38 +02:00
lola ALSA: lola: Allocate resources with device-managed APIs 2021-07-19 16:17:02 +02:00
lx6464es ALSA: lx6464es: Allocate resources with device-managed APIs 2021-07-19 16:17:03 +02:00
mixart
nm256 ALSA: nm256: Fix error return code in snd_nm256_create() 2021-07-20 16:08:21 +02:00
oxygen ALSA: oxygen: Allocate resources with device-managed APIs 2021-07-19 16:17:04 +02:00
pcxhr ALSA: pcxhr: use __func__ to get funcion's name in an output message 2021-07-31 10:35:11 +02:00
riptide ALSA: riptide: Allocate resources with device-managed APIs 2021-07-19 16:17:05 +02:00
rme9652 ALSA: pci: rme: Set up buffer type properly 2021-08-09 10:04:04 +02:00
trident ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00
vx222 ALSA: vx222: fix null-ptr-deref 2021-09-07 07:13:19 +02:00
ymfpci ALSA: ymfpci: Allocate resources with device-managed APIs 2021-07-19 16:17:11 +02:00
ad1889.c
ad1889.h
ak4531_codec.c
als300.c ALSA: als300: Fix missing chip initialization 2021-07-21 00:31:56 +02:00
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c ALSA: cs4281: Fix missing chip initialization 2021-07-21 00:31:39 +02:00
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c ALSA: memalloc: Correctly name as WC 2021-08-04 08:07:58 +02:00
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c