syzbot


WARNING in zd_mac_clear

Status: fixed on 2019/10/15 23:40
Subsystems: usb wireless
[Documentation on labels]
Reported-by: syzbot+74c65761783d66a9c97c@syzkaller.appspotmail.com
Fix commit: 7a2eb7367fde zd1211rw: remove false assertion from zd_mac_clear()
First crash: 2008d, last: 1847d
Discussions (14)
Title Replies (including bot) Last reply
[PATCH 5.2 000/313] 5.2.19-stable review 324 (324) 2020/06/23 22:07
[PATCH 5.3 000/344] 5.3.4-stable review 360 (360) 2019/11/11 06:01
[PATCH AUTOSEL 5.2 001/185] ALSA: hda: Flush interrupts on disabling 191 (191) 2019/10/02 19:16
[PATCH AUTOSEL 5.3 001/203] ALSA: hda: Flush interrupts on disabling 217 (217) 2019/10/02 14:35
[PATCHv3] zd1211rw: remove false assertion from zd_mac_clear() 2 (2) 2019/09/03 13:39
Reminder: 52 active syzbot reports in usb subsystem 1 (1) 2019/08/22 03:28
[PATCHv2] zdnet: remove false assertion from zd_mac_clear() 1 (1) 2019/08/13 12:01
[PATCH] zd1211rw: remove false assertion from zd_mac_clear() 2 (2) 2019/08/08 18:05
WARNING in zd_mac_clear 3 (5) 2019/08/07 14:58
Reminder: 11 open syzbot bugs in "net/wireless" subsystem 1 (1) 2019/07/24 01:47
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: 12 open syzbot bugs in "net/wireless" subsystem 1 (1) 2019/06/25 05:51
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44
Last patch testing requests (4)
Created Duration User Patch Repo Result
2019/08/07 14:19 38m oneukum@suse.com patch https://github.com/google/kasan.git 9a33b369 OK
2019/07/30 14:21 38m oneukum@suse.com patch https://github.com/google/kasan.git usb-fuzzer OK
2019/07/14 17:40 36m tranmanphong@gmail.com patch https://github.com/google/kasan.git usb-fuzzer OK
2019/07/13 16:24 37m tranmanphong@gmail.com patch https://github.com/google/kasan.git usb-fuzzer OK

Sample crash report:
usb 1-1: Using ep0 maxpacket: 8
usb 1-1: read over firmware interface failed: -71
usb 1-1: reset high-speed USB device number 2 using dummy_hcd
usb 1-1: Using ep0 maxpacket: 8
------------[ cut here ]------------
WARNING: CPU: 0 PID: 12 at drivers/net/wireless/zydas/zd1211rw/zd_mac.c:226 zd_mac_clear.cold+0x11/0x20 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:226
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.3.0-rc7+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xca/0x13e lib/dump_stack.c:113
 panic+0x2a3/0x6da kernel/panic.c:219
 __warn.cold+0x20/0x4a kernel/panic.c:576
 report_bug+0x262/0x2a0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:272
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:zd_mac_clear.cold+0x11/0x20 drivers/net/wireless/zydas/zd1211rw/zd_mac.c:226
Code: 86 45 89 ec 48 8d 78 30 e8 b7 db 34 ff e9 aa c2 ff ff e8 a2 f7 2d fe eb d3 e8 0b 4f 07 fe 48 c7 c7 80 c7 13 86 e8 88 f0 f1 fd <0f> 0b e9 12 d1 ff ff 90 90 90 90 90 90 90 90 53 48 89 fb e8 e7 4e
RSP: 0018:ffff8881da20f318 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81288ddd RDI: ffffed103b441e55
RBP: 0000000000000001 R08: 0000000000000024 R09: ffffed103b645d58
R10: ffffed103b645d57 R11: ffff8881db22eabf R12: 00000000ffffffb9
R13: ffff8881d3350ba0 R14: ffff8881d3aae670 R15: ffffffff86140cb8
 probe+0x254/0x590 drivers/net/wireless/zydas/zd1211rw/zd_usb.c:1409
 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x101/0x1b0 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:454
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514
 device_add+0xae6/0x16f0 drivers/base/core.c:2165
 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+0x101/0x1b0 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:454
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514
 device_add+0xae6/0x16f0 drivers/base/core.c:2165
 usb_new_device.cold+0x6a4/0xe79 drivers/usb/core/hub.c:2536
 hub_port_connect drivers/usb/core/hub.c:5098 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5213 [inline]
 port_event drivers/usb/core/hub.c:5359 [inline]
 hub_event+0x1b5c/0x3640 drivers/usb/core/hub.c:5441
 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
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (13194):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/06 22:09 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 acb5b744 .config console log report syz C ci2-upstream-usb
2019/08/30 20:52 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 9adfa876 .config console log report syz C ci2-upstream-usb
2019/08/20 16:28 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 cfc9868f .config console log report syz C ci2-upstream-usb
2019/08/09 07:25 https://github.com/google/kasan.git usb-fuzzer e96407b49762 ede31a9b .config console log report syz C ci2-upstream-usb
2019/08/07 16:51 https://github.com/google/kasan.git usb-fuzzer e96407b49762 e6ebef88 .config console log report syz C ci2-upstream-usb
2019/07/23 00:43 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 55e0c077 .config console log report syz C ci2-upstream-usb
2019/07/11 18:05 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 186a30b9 .config console log report syz C ci2-upstream-usb
2019/07/10 23:15 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 ff7bf04c .config console log report syz C ci2-upstream-usb
2019/06/28 19:32 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/28 14:51 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 7509bf36 .config console log report syz C ci2-upstream-usb
2019/06/18 19:35 https://github.com/google/kasan.git usb-fuzzer 9939f56ee6c0 e3f76baa .config console log report syz C ci2-upstream-usb
2019/06/12 18:25 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 794a1ad7 .config console log report syz C ci2-upstream-usb
2019/06/07 18:31 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f cf9c3a50 .config console log report syz C ci2-upstream-usb
2019/06/03 17:53 https://github.com/google/kasan.git usb-fuzzer 69bbe8c72e6f 63bf051f .config console log report syz C ci2-upstream-usb
2019/04/13 05:13 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb c402d8f1 .config console log report syz C ci2-upstream-usb
2019/04/13 03:11 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb c402d8f1 .config console log report syz C ci2-upstream-usb
2019/04/13 02:35 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 4f421599 .config console log report syz C ci2-upstream-usb
2019/04/12 09:22 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 8916f5e1 .config console log report syz C ci2-upstream-usb
2019/04/12 00:37 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 13030ef8 .config console log report syz C ci2-upstream-usb
2019/04/14 12:01 https://github.com/google/kasan.git usb-fuzzer 9a33b36996cb 505ab413 .config console log report syz ci2-upstream-usb
2019/09/19 12:38 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 eb940044 .config console log report ci2-upstream-usb
2019/09/19 11:30 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 eb940044 .config console log report ci2-upstream-usb
2019/09/19 10:29 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 eb940044 .config console log report ci2-upstream-usb
2019/09/19 08:53 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 eb940044 .config console log report ci2-upstream-usb
2019/09/19 07:30 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 06:18 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 05:08 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 04:02 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 02:52 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 01:51 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/19 00:20 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 22:57 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 22:36 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 21:21 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 20:01 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 18:22 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 18:06 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 16:43 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 46c0be24 .config console log report ci2-upstream-usb
2019/09/18 13:38 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 1037b424 .config console log report ci2-upstream-usb
2019/09/18 11:56 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 c2dcd700 .config console log report ci2-upstream-usb
2019/09/18 10:55 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 09:11 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 07:50 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 07:10 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 05:35 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 04:34 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 03:04 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 01:26 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/18 00:05 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 03e0d245 .config console log report ci2-upstream-usb
2019/09/17 22:47 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 22:11 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 19:54 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 18:53 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 17:50 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 16:48 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 15:51 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 14:09 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 12:52 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 11:52 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 13dcda9b .config console log report ci2-upstream-usb
2019/09/17 10:37 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 09:17 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 07:41 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 06:55 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 05:53 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 04:27 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
2019/09/17 02:56 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 51ca0454 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.