linux/sound
Takashi Iwai f13876e2c3 ALSA: pcm: Check PCM state at xfern compat ioctl
Since snd_pcm_ioctl_xfern_compat() has no PCM state check, it may go
further and hit the sanity check pcm_sanity_check() when the ioctl is
called right after open.  It may eventually spew a kernel warning, as
triggered by syzbot, depending on kconfig.

The lack of PCM state check there was just an oversight.  Although
it's no real crash, the spurious kernel warning is annoying, so let's
add the proper check.

Reported-by: syzbot+1dac3a4f6bc9c1c675d4@syzkaller.appspotmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-05-02 08:54:54 +02:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Check PCM state at xfern compat ioctl 2018-05-02 08:54:54 +02:00
drivers ALSA: aloop: Add missing cable lock to ctl API callbacks 2018-04-30 10:06:48 +02:00
firewire ALSA: dice: fix kernel NULL pointer dereference due to invalid calculation for array index 2018-04-29 09:06:39 +02:00
hda
i2c
isa
mips
oss
parisc
pci ALSA: hda - Fix incorrect usage of IS_REACHABLE() 2018-04-27 17:17:35 +02:00
pcmcia
ppc
sh
soc ASoC: Fixes for v4.17 2018-04-25 12:22:20 +02:00
sparc
spi
synth
usb ALSA: usx2y: Change return type to vm_fault_t 2018-04-25 08:15:20 +02:00
x86
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c