syzbot


general protection fault in go7007_usb_probe

Status: fixed on 2020/09/16 22:51
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+cabfa4b5b05ff6be4ef0@syzkaller.appspotmail.com
Fix commit: 137641287eb4 go7007: add sanity checking for endpoints
First crash: 1463d, last: 1355d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 5.8 000/464] 5.8.2-rc1 review 475 (475) 2020/08/19 06:11
[PATCH 5.7 000/393] 5.7.16-rc1 review 398 (398) 2020/08/18 22:36
[PATCH] go7007: add sanity checking for endpoints 1 (1) 2020/05/05 10:50
general protection fault in go7007_usb_probe 8 (16) 2020/05/04 14:27
Last patch testing requests (6)
Created Duration User Patch Repo Result
2020/05/04 14:08 17m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 OK
2020/04/30 13:10 18m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 OK
2020/04/23 13:48 10m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 report log
2020/04/23 12:46 17m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 OK
2020/04/23 11:01 17m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 OK
2020/04/22 12:00 9m oneukum@suse.com patch https://github.com/google/kasan.git e9010320 report log

Sample crash report:
usb 1-1: new high-speed USB device number 2 using dummy_hcd
usb 1-1: New USB device found, idVendor=0eb1, idProduct=7007, bcdDevice= 2.05
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.7.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:go7007_usb_probe+0x4ba/0x1d49 drivers/media/usb/go7007/go7007-usb.c:1145
Code: c1 ee 03 80 3c 0e 00 0f 85 59 16 00 00 4c 8b a2 e8 05 00 00 48 b9 00 00 00 00 00 fc ff df 49 8d 7c 24 03 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 11 16 00
RSP: 0018:ffff8881da21f110 EFLAGS: 00010246
RAX: ffff8881cd9c4800 RBX: ffff8881c5f7b000 RCX: dffffc0000000000
RDX: ffff8881c5f7a000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: ffff8881c3634000 R08: 0000000000000001 R09: fffffbfff126c8c6
R10: ffffffff8936462f R11: fffffbfff126c8c5 R12: 0000000000000000
R13: ffff8881c5f7a0a0 R14: ffff8881d9032100 R15: ffffffff86789720
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9e79e09000 CR3: 00000001c7973000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:374
 really_probe+0x290/0xac0 drivers/base/dd.c:520
 driver_probe_device+0x223/0x350 drivers/base/dd.c:697
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:804
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x21a/0x390 drivers/base/dd.c:870
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1367/0x1c40 drivers/base/core.c:2538
 usb_set_configuration+0xed4/0x1850 drivers/usb/core/message.c:2032
 usb_generic_driver_probe+0x9d/0xe0 drivers/usb/core/generic.c:241
 usb_probe_device+0xd9/0x230 drivers/usb/core/driver.c:272
 really_probe+0x290/0xac0 drivers/base/dd.c:520
 driver_probe_device+0x223/0x350 drivers/base/dd.c:697
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:804
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x21a/0x390 drivers/base/dd.c:870
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1367/0x1c40 drivers/base/core.c:2538
 usb_new_device.cold+0x552/0xf6e drivers/usb/core/hub.c:2554
 hub_port_connect drivers/usb/core/hub.c:5208 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5348 [inline]
 port_event drivers/usb/core/hub.c:5494 [inline]
 hub_event+0x226d/0x43c0 drivers/usb/core/hub.c:5576
 process_one_work+0x965/0x1630 kernel/workqueue.c:2268
 worker_thread+0x96/0xe20 kernel/workqueue.c:2414
 kthread+0x326/0x430 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351
Modules linked in:
---[ end trace 1f3abb564b3c9839 ]---
RIP: 0010:go7007_usb_probe+0x4ba/0x1d49 drivers/media/usb/go7007/go7007-usb.c:1145
Code: c1 ee 03 80 3c 0e 00 0f 85 59 16 00 00 4c 8b a2 e8 05 00 00 48 b9 00 00 00 00 00 fc ff df 49 8d 7c 24 03 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 11 16 00
RSP: 0018:ffff8881da21f110 EFLAGS: 00010246
RAX: ffff8881cd9c4800 RBX: ffff8881c5f7b000 RCX: dffffc0000000000
RDX: ffff8881c5f7a000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: ffff8881c3634000 R08: 0000000000000001 R09: fffffbfff126c8c6
R10: ffffffff8936462f R11: fffffbfff126c8c5 R12: 0000000000000000
R13: ffff8881c5f7a0a0 R14: ffff8881d9032100 R15: ffffffff86789720
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9e79e09000 CR3: 0000000007024000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2103):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/28 22:08 https://github.com/google/kasan.git usb-fuzzer d19c64b3d097 c7192a2f .config console log report syz C ci2-upstream-usb
2020/05/14 02:42 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c a885920d .config console log report syz C ci2-upstream-usb
2020/04/21 23:44 https://github.com/google/kasan.git usb-fuzzer e9010320f2d9 2e44d63e .config console log report syz C ci2-upstream-usb
2020/08/08 06:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 ff51e522 .config console log report ci2-upstream-usb
2020/08/08 03:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 ff51e522 .config console log report ci2-upstream-usb
2020/08/08 03:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 ff51e522 .config console log report ci2-upstream-usb
2020/08/07 21:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 19:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 18:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 17:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 15:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 13:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 28ac5c9e .config console log report ci2-upstream-usb
2020/08/07 04:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 cb436c69 .config console log report ci2-upstream-usb
2020/08/07 02:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 cb436c69 .config console log report ci2-upstream-usb
2020/08/07 00:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 cb436c69 .config console log report ci2-upstream-usb
2020/08/06 20:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 47ec5303d73e 4ca1c0ea .config console log report ci2-upstream-usb
2020/08/06 19:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 47ec5303d73e 4ca1c0ea .config console log report ci2-upstream-usb
2020/08/06 16:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 47ec5303d73e 4ca1c0ea .config console log report ci2-upstream-usb
2020/08/06 12:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 47ec5303d73e 4ca1c0ea .config console log report ci2-upstream-usb
2020/08/06 09:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/06 08:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/06 06:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/06 03:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/06 01:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/06 00:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 0487ea6f .config console log report ci2-upstream-usb
2020/08/05 21:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 19:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 18:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 15:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 12:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 11:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 10:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config console log report ci2-upstream-usb
2020/08/05 07:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 02034dac .config console log report ci2-upstream-usb
2020/08/05 03:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 02034dac .config console log report ci2-upstream-usb
2020/08/05 01:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 02034dac .config console log report ci2-upstream-usb
2020/08/05 01:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 02034dac .config console log report ci2-upstream-usb
2020/08/04 22:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 02034dac .config console log report ci2-upstream-usb
2020/08/04 20:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 80a06902 .config console log report ci2-upstream-usb
2020/08/04 19:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 80a06902 .config console log report ci2-upstream-usb
2020/08/04 17:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 80a06902 .config console log report ci2-upstream-usb
2020/08/04 12:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 80a06902 .config console log report ci2-upstream-usb
2020/08/04 10:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 80a06902 .config console log report ci2-upstream-usb
2020/08/04 08:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 96dd3623 .config console log report ci2-upstream-usb
2020/08/04 06:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 96dd3623 .config console log report ci2-upstream-usb
2020/08/04 05:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 96dd3623 .config console log report ci2-upstream-usb
2020/04/21 23:28 https://github.com/google/kasan.git usb-fuzzer e9010320f2d9 2e44d63e .config console log report ci2-upstream-usb
2020/04/21 23:21 https://github.com/google/kasan.git usb-fuzzer e9010320f2d9 2e44d63e .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.