ALSA: timer - Fix Oops at closing slave timer
Takashi Iwai authored
commit 0584ffa5 upstream.

A slave-timer instance has no timer reference, and this results in
NULL-dereference at stopping the timer, typically called at closing
the device.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=40682

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
b80a7826
Name Last commit Last update
..
oss Merge branch 'topic/oss' into for-linus
seq ALSA: seq/oss - Fix double-free at error path of snd_seq_oss_open()
Kconfig ALSA: Fix SG-buffer DMA with non-coherent architectures
Makefile ALSA: Fix SG-buffer DMA with non-coherent architectures
control.c ALSA: prevent heap corruption in snd_ctl_new()
control_compat.c ALSA: Kill snd_assert() in sound/core/*
device.c ALSA: Print function symbol in the error messages
hrtimer.c ALSA: hrtimer: handle delayed timer interrupts
hwdep.c ALSA: hwdep - Make open callback optional
hwdep_compat.c [PATCH] hwdep_compat missed __user annotations
info.c Merge branch 'topic/dummy' into for-linus
info_oss.c ALSA: Kill snd_assert() in sound/core/*
init.c ALSA: Fix yet another race in disconnection
isadma.c [ALSA] Remove sound/driver.h
jack.c ALSA: use card device as parent for jack input-devices
memalloc.c ALSA: Fix SG-buffer DMA with non-coherent architectures
memory.c [ALSA] Remove sound/driver.h
misc.c ALSA: Add debug module option
pcm.c ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests
pcm_compat.c ALSA: sound/core/pcm_compat.c: adjust array index
pcm_lib.c Merge branch 'topic/pcm-drain-nonblock' into for-linus
pcm_memory.c ALSA: Fix SG-buffer DMA with non-coherent architectures
pcm_misc.c sound: add missing pcm kernel-doc
pcm_native.c ALSA: emu10k1 - delay the PCM interrupts (add pcm_irq_delay parameter)
pcm_timer.c ALSA: Remove unneeded snd_pcm_substream.timer_lock
rawmidi.c ALSA: rawmidi: fix oops (use after free) when unloading a driver module
rawmidi_compat.c [ALSA] Remove xxx_t typedefs: Raw MIDI
rtctimer.c ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule()
sgbuf.c ALSA: Fix vunmap and free order in snd_free_sgbuf_pages()
sound.c Check fops_get() return value
sound_oss.c ALSA: Kill snd_assert() in sound/core/*
timer.c ALSA: timer - Fix Oops at closing slave timer
timer_compat.c ALSA: Kill snd_assert() in sound/core/*
vmaster.c ALSA: Add new TLV types for dBwith min/max