summaryrefslogtreecommitdiffstats
path: root/net/ife
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-05-02 08:48:46 +0200
committerTakashi Iwai <tiwai@suse.de>2018-05-02 08:54:54 +0200
commitf13876e2c33a657a71bcbb10f767c0951b165020 (patch)
tree49af8f700b6e882ca19c01abd1c334ec2b9f7a13 /net/ife
parentALSA: aloop: Add missing cable lock to ctl API callbacks (diff)
downloadlinux-f13876e2c33a657a71bcbb10f767c0951b165020.tar.xz
linux-f13876e2c33a657a71bcbb10f767c0951b165020.zip
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>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions