android_kernel_samsung_a7y1.../sound/core
Takashi Iwai 873c5679b8 ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
commit 5461e0530c222129dfc941058be114b5cbc00837 upstream.

The return value checks in snd_pcm_plug_alloc() are covered with
snd_BUG_ON() macro that may trigger a kernel WARNING depending on the
kconfig.  But since the error condition can be triggered by a weird
user space parameter passed to OSS layer, we shouldn't give the kernel
stack trace just for that.  As it's a normal error condition, let's
remove snd_BUG_ON() macro usage there.

Reported-by: syzbot+2a59ee7a9831b264f45e@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200312155730.7520-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 14:14:19 +02:00
..
oss ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks 2020-04-07 14:14:19 +02:00
seq ALSA: seq: oss: Fix running status after receiving sysex 2020-04-07 14:14:15 +02:00
compress_offload.c ASoC: compress: fix unsigned integer overflow check 2020-04-07 12:40:07 +02:00
control_compat.c
control.c
ctljack.c
device.c
hrtimer.c
hwdep_compat.c
hwdep.c
info_oss.c
info.c ALSA: info: Fix racy addition/deletion of nodes 2020-04-06 15:57:17 +02:00
init.c
isadma.c
jack.c
Kconfig
Makefile
memalloc.c
memory.c
misc.c
pcm_compat.c
pcm_dmaengine.c
pcm_drm_eld.c
pcm_iec958.c
pcm_lib.c ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed() 2020-04-07 12:44:08 +02:00
pcm_memory.c
pcm_misc.c
pcm_native.c ALSA: pcm: Add missing copy ops check before clearing buffer 2020-04-07 13:45:19 +02:00
pcm_timer.c
pcm_trace.h
pcm.c
rawmidi_compat.c
rawmidi.c ALSA: rawmidi: Fix potential Spectre v1 vulnerability 2020-04-06 13:00:54 +02:00
rtctimer.c
sgbuf.c
sound_oss.c
sound.c
timer_compat.c
timer.c
vmaster.c