syzbot


general protection fault in flexcop_usb_probe

Status: fixed on 2019/12/13 00:31
Subsystems: usb media
[Documentation on labels]
Reported-by: syzbot+d93dff37e6a89431c158@syzkaller.appspotmail.com
Fix commit: 1b976fc6d684 media: b2c2-flexcop-usb: add sanity checking
First crash: 2061d, last: 1830d
Discussions (19)
Title Replies (including bot) Last reply
[PATCH 4.19 000/306] 4.19.87-stable review 359 (359) 2020/01/28 13:29
[PATCH 3.16 00/72] 3.16.79-rc1 review 87 (87) 2019/12/14 18:44
[PATCH 4.4 000/132] 4.4.204-stable review 142 (142) 2019/12/03 18:58
[PATCH 4.14 000/211] 4.14.157-stable review 220 (220) 2019/11/29 18:48
[PATCH 5.4 00/66] 5.4.1-stable review 75 (75) 2019/11/29 08:52
[PATCH 4.9 000/151] 4.9.204-stable review 156 (156) 2019/11/29 00:03
[PATCH 5.3 00/95] 5.3.14-stable review 100 (100) 2019/11/28 21:29
KASAN reporting: general protection fault in flexcop_usb_probe 8 (9) 2019/11/08 09:07
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 52 active syzbot reports in usb subsystem 4 (4) 2019/09/19 19:01
Reminder: 52 active syzbot reports in usb subsystem 1 (1) 2019/08/22 03:28
[PATCH] b2c2-flexcop-usb: add sanity checking 1 (1) 2019/07/30 09:23
KASAN reporting: general protection fault in flexcop_usb_probe 4 (6) 2019/07/30 08:52
Reminder: 35 open syzbot bugs in media subsystem 1 (1) 2019/07/24 01:39
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Reminder: 47 open syzbot bugs in usb subsystem 1 (1) 2019/07/09 19:01
Reminder: 28 open syzbot bugs in media subsystem 1 (1) 2019/06/27 03:53
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44
general protection fault in flexcop_usb_probe 0 (1) 2019/04/12 11:16
Last patch testing requests (3)
Created Duration User Patch Repo Result
2019/07/30 07:48 37m oneukum@suse.com patch https://github.com/google/kasan.git 9a33b369 OK
2019/07/29 16:55 38m andreyknvl@google.com patch https://github.com/google/kasan.git 9a33b369 OK
2019/07/29 14:26 38m oneukum@suse.com patch https://github.com/google/kasan.git usb-fuzzer-usb-testing-2019.07.11 OK

Sample crash report:
lgdt330x 0-0059: Demod loaded for LGDT3303 chip
tuner-simple 0-0061: creating new instance
tuner-simple 0-0061: type set to 64 (LG TDVS-H06xF)
b2c2-flexcop: found 'LG Electronics LGDT3303 VSB/QAM Frontend' .
usb 1-1: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
b2c2-flexcop: initialization of 'Air2PC/AirStar 2 ATSC 3rd generation (HD5000)' at the 'USB' bus controlled by a 'FlexCopIII' complete
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.4.0-rc6+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:flexcop_usb_transfer_init drivers/media/usb/b2c2/flexcop-usb.c:430 [inline]
RIP: 0010:flexcop_usb_probe.cold+0x1cb/0x7bd drivers/media/usb/b2c2/flexcop-usb.c:575
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 74 05 e8 41 1a 62 fd 48 8b 5b 18 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 c1
RSP: 0018:ffff8881da227298 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff840350bb
RDX: 0000000000000000 RSI: ffffffff8403517b RDI: 0000000000000004
RBP: ffff8881c7aa4008 R08: ffff8881da211800 R09: ffffed103b645d58
R10: ffffed103b645d57 R11: ffff8881db22eabf R12: ffff8881c7aa4048
R13: 0000000000000000 R14: ffff8881c7aa4000 R15: ffff8881cf9bc000
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000019b1cf8 CR3: 00000001d3f7d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0xae6/0x16f0 drivers/base/core.c:2202
 usb_set_configuration+0xdf6/0x1670 drivers/usb/core/message.c:2023
 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210
 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0xae6/0x16f0 drivers/base/core.c:2202
 usb_new_device.cold+0x6a4/0xe79 drivers/usb/core/hub.c:2537
 hub_port_connect drivers/usb/core/hub.c:5184 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5324 [inline]
 port_event drivers/usb/core/hub.c:5470 [inline]
 hub_event+0x1df8/0x3800 drivers/usb/core/hub.c:5552
 process_one_work+0x92b/0x1530 kernel/workqueue.c:2269
 worker_thread+0x96/0xe20 kernel/workqueue.c:2415
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 3a43a2fb9353e0d9 ]---
RIP: 0010:flexcop_usb_transfer_init drivers/media/usb/b2c2/flexcop-usb.c:430 [inline]
RIP: 0010:flexcop_usb_probe.cold+0x1cb/0x7bd drivers/media/usb/b2c2/flexcop-usb.c:575
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 74 05 e8 41 1a 62 fd 48 8b 5b 18 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 c1
RSP: 0018:ffff8881da227298 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff840350bb
RDX: 0000000000000000 RSI: ffffffff8403517b RDI: 0000000000000004
RBP: ffff8881c7aa4008 R08: ffff8881da211800 R09: ffffed103b645d58
R10: ffffed103b645d57 R11: ffff8881db22eabf R12: ffff8881c7aa4048
R13: 0000000000000000 R14: ffff8881c7aa4000 R15: ffff8881cf9bc000
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000019b1cf8 CR3: 00000001d3f7d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (403):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/15 19:09 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 79248ee8 .config console log report syz C ci2-upstream-usb
2019/11/06 21:04 https://github.com/google/kasan.git usb-fuzzer d60bbfea36c1 da505f84 .config console log report syz C ci2-upstream-usb
2019/11/05 23:08 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config console log report syz C ci2-upstream-usb
2019/11/05 17:27 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config console log report syz C ci2-upstream-usb
2019/11/04 15:11 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 18e12644 .config console log report syz C ci2-upstream-usb
2019/10/29 23:41 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report syz C ci2-upstream-usb
2019/10/02 21:18 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2e29b534 .config console log report syz C ci2-upstream-usb
2019/09/06 21:24 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 acb5b744 .config console log report syz C ci2-upstream-usb
2019/08/23 19:37 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 78ded196 .config console log report syz C ci2-upstream-usb
2019/08/20 18:21 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 cfc9868f .config console log report syz C ci2-upstream-usb
2019/07/10 23:30 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 ff7bf04c .config console log report syz C ci2-upstream-usb
2019/07/09 15:34 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report syz C ci2-upstream-usb
2019/07/02 00:02 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 cccc4302 .config console log report syz C ci2-upstream-usb
2019/06/28 23:30 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/27 17:27 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/18 18:57 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 e3f76baa .config console log report syz C ci2-upstream-usb
2019/06/13 00:52 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 3f4e812b .config console log report syz C ci2-upstream-usb
2019/06/07 20:35 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f cf9c3a50 .config console log report syz C ci2-upstream-usb
2019/06/03 18:09 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 63bf051f .config console log report syz C ci2-upstream-usb
2019/04/12 08:59 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 8916f5e1 .config console log report syz C ci2-upstream-usb
2019/11/29 02:27 https://github.com/google/kasan.git usb-fuzzer da06441bb485 76357d6f .config console log report ci2-upstream-usb
2019/11/27 16:22 https://github.com/google/kasan.git usb-fuzzer da06441bb485 0d63f89c .config console log report ci2-upstream-usb
2019/11/27 15:16 https://github.com/google/kasan.git usb-fuzzer da06441bb485 1048481f .config console log report ci2-upstream-usb
2019/11/27 00:57 https://github.com/google/kasan.git usb-fuzzer da06441bb485 1048481f .config console log report ci2-upstream-usb
2019/11/23 19:51 https://github.com/google/kasan.git usb-fuzzer da06441bb485 598ca6c8 .config console log report ci2-upstream-usb
2019/11/23 17:12 https://github.com/google/kasan.git usb-fuzzer da06441bb485 598ca6c8 .config console log report ci2-upstream-usb
2019/11/23 13:50 https://github.com/google/kasan.git usb-fuzzer da06441bb485 598ca6c8 .config console log report ci2-upstream-usb
2019/11/22 21:26 https://github.com/google/kasan.git usb-fuzzer da06441bb485 598ca6c8 .config console log report ci2-upstream-usb
2019/11/21 14:43 https://github.com/google/kasan.git usb-fuzzer da06441bb485 8098ea0f .config console log report ci2-upstream-usb
2019/11/21 13:40 https://github.com/google/kasan.git usb-fuzzer da06441bb485 8098ea0f .config console log report ci2-upstream-usb
2019/11/21 10:25 https://github.com/google/kasan.git usb-fuzzer da06441bb485 8098ea0f .config console log report ci2-upstream-usb
2019/11/21 08:01 https://github.com/google/kasan.git usb-fuzzer da06441bb485 8098ea0f .config console log report ci2-upstream-usb
2019/11/20 02:01 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca 432c7650 .config console log report ci2-upstream-usb
2019/11/19 12:56 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca 432c7650 .config console log report ci2-upstream-usb
2019/11/19 04:18 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca d5696d51 .config console log report ci2-upstream-usb
2019/11/19 03:01 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca d5696d51 .config console log report ci2-upstream-usb
2019/11/18 14:10 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca d5696d51 .config console log report ci2-upstream-usb
2019/11/17 19:07 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca d5696d51 .config console log report ci2-upstream-usb
2019/11/15 21:55 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 79248ee8 .config console log report ci2-upstream-usb
2019/11/15 11:39 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 79248ee8 .config console log report ci2-upstream-usb
2019/11/13 03:33 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 048f2d49 .config console log report ci2-upstream-usb
2019/11/11 05:14 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 dc438b91 .config console log report ci2-upstream-usb
2019/11/10 20:42 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 dc438b91 .config console log report ci2-upstream-usb
2019/11/10 19:34 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 dc438b91 .config console log report ci2-upstream-usb
2019/11/10 06:39 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 dc438b91 .config console log report ci2-upstream-usb
2019/11/10 04:08 https://github.com/google/kasan.git usb-fuzzer 3183c03757f8 dc438b91 .config console log report ci2-upstream-usb
2019/11/09 07:32 https://github.com/google/kasan.git usb-fuzzer d60bbfea36c1 1e35461e .config console log report ci2-upstream-usb
2019/11/08 18:33 https://github.com/google/kasan.git usb-fuzzer d60bbfea36c1 1e35461e .config console log report ci2-upstream-usb
2019/11/08 08:49 https://github.com/google/kasan.git usb-fuzzer d60bbfea36c1 1e35461e .config console log report ci2-upstream-usb
2019/11/03 18:40 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 c9610487 .config console log report ci2-upstream-usb
2019/11/03 04:12 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 d603afc9 .config console log report ci2-upstream-usb
2019/11/03 02:33 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 d603afc9 .config console log report ci2-upstream-usb
2019/11/02 23:09 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 d603afc9 .config console log report ci2-upstream-usb
2019/11/02 11:24 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 997ccc67 .config console log report ci2-upstream-usb
2019/11/02 09:57 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 997ccc67 .config console log report ci2-upstream-usb
2019/11/02 02:11 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 997ccc67 .config console log report ci2-upstream-usb
2019/10/31 03:46 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 a41ca8fa .config console log report ci2-upstream-usb
2019/10/31 01:09 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 a41ca8fa .config console log report ci2-upstream-usb
2019/10/30 04:28 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report ci2-upstream-usb
2019/10/29 20:28 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report ci2-upstream-usb
2019/10/29 15:50 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report ci2-upstream-usb
2019/10/29 08:49 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report ci2-upstream-usb
2019/10/28 08:34 https://github.com/google/kasan.git usb-fuzzer 22be26f76193 25bb509e .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.