linux/sound/pci/hda
Wang YanQing 2195b063f6 ALSA: HDA: Fix Oops caused by dereference NULL pointer
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-07 07:31:59 +02:00
..
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - allow "Headphone Mic" parser flag 2013-04-11 11:59:20 +02:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Make the resume of digital beep setup proper 2013-03-18 12:58:48 +01:00
hda_beep.h ALSA: hda - Fix power-saving during playing beep sound 2013-03-18 12:58:47 +01:00
hda_codec.c ALSA: HDA: Fix Oops caused by dereference NULL pointer 2013-05-07 07:31:59 +02:00
hda_codec.h ALSA: hda - Introduce get_delay codec PCM ops 2013-04-05 07:33:32 +02:00
hda_eld.c ALSA: hda - bug fix on return value when getting HDMI ELD info 2013-04-02 11:55:23 +02:00
hda_generic.c ALSA: hda - Use the primary DAC for all aamix outputs 2013-04-16 14:16:54 +02:00
hda_generic.h ALSA: hda - Allow codec drivers to give own badness tables 2013-03-22 14:53:50 +01:00
hda_hwdep.c ALSA: hda - Add snd_hda_get_int_hint() helper function 2013-01-12 08:44:47 +01:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_intel.c ALSA: hda - Fix system panic when DMA > 40 bits for Nvidia audio controllers 2013-05-03 11:56:18 +02:00
hda_jack.c ALSA: hda - Handle Headphone Mic jack more generic 2013-04-11 11:59:41 +02:00
hda_jack.h ALSA: hda - Allow jack state to depend on another jack 2012-11-19 19:49:58 +01:00
hda_local.h ALSA: hda - Don't apply EAPD power filter as default 2013-03-13 18:07:05 +01:00
hda_proc.c ALSA: hda - Remove limit of widget connections 2013-02-07 20:01:08 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig Merge branch 'topic/hda-ca0132-dsp' into for-next 2013-02-07 12:34:36 +01:00
Makefile ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
patch_analog.c ALSA: hda - Move beep attach/detach calls in hda_generic.c 2013-03-18 12:58:42 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda/ca0132 - Update latency based on DSP state. 2013-04-05 07:34:21 +02:00
patch_cirrus.c ALSA: hda/cirrus - Add a quirk for Stumpy ChromeBox. 2013-04-05 07:35:37 +02:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Fix 3.9 regression of EAPD init on Conexant codecs 2013-05-04 10:57:16 +02:00
patch_hdmi.c ALSA: hda - fixup D3 pin and right channel mute on Haswell HDMI audio 2013-04-17 08:13:44 +02:00
patch_realtek.c ALSA: hda - Add the support for ALC286 codec 2013-04-25 11:06:54 +02:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Enable "Headset Mic" name for some Dell Latitude devices 2013-03-21 17:17:30 +01:00
patch_via.c ALSA: hda - VIA prefers side surrounds over HP 2013-03-22 15:11:07 +01:00