android_kernel_samsung_a7y1.../sound
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
..
aoa ALSA: aoa: onyx: always initialize register read value 2020-04-07 13:42:41 +02:00
arm
atmel
core ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks 2020-04-07 14:14:19 +02:00
drivers ALSA: dummy: Fix PCM format loop in proc output 2020-04-07 13:49:43 +02:00
firewire ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback 2020-04-07 12:34:13 +02:00
hda Revert "ALSA: hda: Flush interrupts on disabling" 2020-04-07 09:28:46 +02:00
i2c ALSA: i2c/cs8427: Fix int to char conversion 2020-04-07 12:35:00 +02:00
isa ALSA: cs4236: fix error return comparison of an unsigned integer 2020-04-07 13:24:47 +02:00
mips
oss
parisc
pci ALSA: hda - Add docking station support for Lenovo Thinkpad T420s 2020-04-07 13:57:04 +02:00
pcmcia
ppc
sh ALSA: sh: Fix compile warning wrt const 2020-04-07 13:56:31 +02:00
soc ASoC: dapm: Correct DAPM handling of active widgets during shutdown 2020-04-07 14:10:36 +02:00
sparc
spi
synth
usb ALSA: line6: Fix endless MIDI read loop 2020-04-07 14:14:11 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: fix a memory leak bug 2020-04-06 20:38:13 +02:00
sound_firmware.c