android_kernel_google_msm/sound
Wang YanQing a855502146 ALSA: HDA: Fix Oops caused by dereference NULL pointer
commit 2195b063f6 upstream.

The interrupt handler azx_interrupt will call azx_update_rirb,
which may call snd_hda_queue_unsol_event, snd_hda_queue_unsol_event
will dereference chip->bus pointer.

The problem is we alloc chip->bus in azx_codec_create
which will be called after we enable IRQ and enable unsolicited
event in azx_probe.

This will cause Oops due dereference NULL pointer. I meet it, good luck:)

[Rearranged the NULL check before the tracepoint and added another
 NULL check of bus->workq -- tiwai]

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-19 10:54:36 -07:00
..
aoa
arm ALSA: pxa27x: fix ac97 warm reset 2013-01-17 08:50:55 -08:00
atmel
core vm: convert snd_pcm_lib_mmap_iomem() to vm_iomap_memory() helper 2013-04-25 21:19:56 -07:00
drivers ALSA: aloop - add locking to timer access 2012-10-13 05:38:51 +09:00
firewire
i2c
isa
mips
oss
parisc
pci ALSA: HDA: Fix Oops caused by dereference NULL pointer 2013-05-19 10:54:36 -07:00
pcmcia
ppc
sh
soc ASoC: wm8994: missing break in wm8994_aif3_hw_params() 2013-05-19 10:54:34 -07:00
sparc
spi
synth
usb ALSA: usb-audio: Fix autopm error during probing 2013-05-07 19:51:55 -07:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c