mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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:
|
||
|---|---|---|
| .. | ||
| go7007-driver.c | ||
| go7007-fw.c | ||
| go7007-i2c.c | ||
| go7007-loader.c | ||
| go7007-priv.h | ||
| go7007-usb.c | ||
| go7007-v4l2.c | ||
| Kconfig | ||
| Makefile | ||
| s2250-board.c | ||
| snd-go7007.c | ||