summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-19 19:16:15 +0300
committerTakashi Iwai <tiwai@suse.de>2018-04-19 19:16:15 +0300
commit8a56ef4f3ffba9ebf4967b61ef600b0a7ba10f11 (patch)
tree8af4f2628754d6ff9514e999bff1a186eee5a0f3 /sound/pci
parenta3dafb2200bf3c13905a088e82ae11f1eb275a83 (diff)
downloadlinux-8a56ef4f3ffba9ebf4967b61ef600b0a7ba10f11.tar.xz
ALSA: rawmidi: Fix missing input substream checks in compat ioctls
Some rawmidi compat ioctls lack of the input substream checks (although they do check only for rfile->output). This many eventually lead to an Oops as NULL substream is passed to the rawmidi core functions. Fix it by adding the proper checks before each function call. The bug was spotted by syzkaller. Reported-by: syzbot+f7a0348affc3b67bc617@syzkaller.appspotmail.com Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions