diff options
| author | Oliver Neukum <oneukum@suse.com> | 2020-05-05 12:50:33 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 07:42:57 +0200 |
| commit | 137641287eb40260783a4413847a0aef06023a6c (patch) | |
| tree | 3f9a94eff549c3711d81107d026f178dedaa8880 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ebeacb1f612db22020561211c21b4d966cf7ca24 (diff) | |
| download | cachepc-linux-137641287eb40260783a4413847a0aef06023a6c.tar.gz cachepc-linux-137641287eb40260783a4413847a0aef06023a6c.zip | |
go7007: add sanity checking for endpoints
A malicious USB device may lack endpoints the driver assumes to exist
Accessing them leads to NULL pointer accesses. This patch introduces
sanity checking.
Reported-and-tested-by: syzbot+cabfa4b5b05ff6be4ef0@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 866b8695d67e8 ("Staging: add the go7007 video driver")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
