summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-04-19 18:16:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-24 09:32:10 +0200
commitfc338748e3e7740113c1c26e2248d919dd8cc05c (patch)
tree35e6088d8ddf5dc6a4d632552a8fdadc5e8c6336 /tools/perf/scripts/python
parent68fc6f74b516447bbbddde1b08437787d0063c6d (diff)
ALSA: rawmidi: Fix missing input substream checks in compat ioctls
commit 8a56ef4f3ffba9ebf4967b61ef600b0a7ba10f11 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions