linux/sound/pci
Peter Ujfalusi 1c7f0e349a ALSA: hda: Skip codec shutdown in case the codec is not registered
If the codec->registered is not set then it means that pm_runtime is
not yet enabled and the codec->pcm_list_head has not been initialized.

The access to the not initialized pcm_list_head will lead a kernel crash
during shutdown.

Reported-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Fixes: b98444ed59 ("ALSA: hda: Suspend codec at shutdown")
Link: https://lore.kernel.org/r/20220201112144.29411-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-02-01 15:18:17 +01:00
..
ac97 ALSA: Fix some typo 2021-12-06 10:04:05 +01:00
ali5451
asihpi
au88x0
aw2
ca0106
cs46xx ALSA: pci: cs46xx: Fix set up buffer type properly 2021-08-09 10:04:05 +02:00
cs5535audio
ctxfi ALSA: ctxfi: Fix out-of-range access 2021-11-18 22:57:55 +01:00
echoaudio
emu10k1
hda ALSA: hda: Skip codec shutdown in case the codec is not registered 2022-02-01 15:18:17 +01:00
ice1712
korg1212 ALSA: pci/korg1212: completely remove 'set but not used' warnings 2021-08-05 08:23:38 +02:00
lola
lx6464es
mixart ALSA: mixart: Add sanity check for timer notify streams 2021-12-07 16:35:58 +01:00
nm256
oxygen
pcxhr ALSA: pcxhr: "fix" PCXHR_REG_TO_PORT definition 2021-09-16 11:09:04 +02:00
riptide
rme9652 ALSA: pci: rme: Fix unaligned buffer addresses 2021-11-08 15:58:31 +01:00
trident
vx222 ALSA: vx222: fix null-ptr-deref 2021-09-07 07:13:19 +02:00
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c ALSA: cmipci: Drop stale variable assignment 2021-11-14 09:28:59 +01:00
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c
Kconfig ALSA: ISA: not for M68K 2021-10-17 09:03:20 +02:00
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c