syzbot


INFO: rcu detected stall in hub_event

Status: upstream: reported C repro on 2019/11/21 14:45
Reported-by: syzbot+ec5f884c4a135aa0dbb9@syzkaller.appspotmail.com
First crash: 955d, last: 71d
Patch testing requests:
Created Duration User Patch Repo Result
2019/11/25 21:24 17m stern@rowland.harvard.edu patch https://github.com/google/kasan.git 46178223 OK
2019/11/24 16:17 10m stern@rowland.harvard.edu patch https://github.com/google/kasan.git 46178223 report log
2019/11/22 16:51 11m stern@rowland.harvard.edu patch https://github.com/google/kasan.git 46178223 report log

Sample crash report:
rcu: INFO: rcu_sched self-detected stall on CPU
rcu: 	0-....: (10499 ticks this GP) idle=d02/1/0x4000000000000002 softirq=2696/2696 fqs=5195 
	(t=10500 jiffies g=1449 q=28)
NMI backtrace for cpu 0
CPU: 0 PID: 95 Comm: kworker/0:2 Not tainted 5.6.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xef/0x16e lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1db/0x207 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x169/0x1b3 kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:475 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:549 [inline]
 rcu_pending kernel/rcu/tree.c:3030 [inline]
 rcu_sched_clock_irq.cold+0x4da/0x901 kernel/rcu/tree.c:2276
 update_process_times+0x25/0x60 kernel/time/timer.c:1726
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:171
 tick_sched_timer+0x42/0x130 kernel/time/tick-sched.c:1314
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x32c/0xd20 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x2e8/0x730 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1119 [inline]
 smp_apic_timer_interrupt+0xfe/0x540 arch/x86/kernel/apic/apic.c:1144
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:write_comp_data+0x1e/0x70 kernel/kcov.c:208
Code: 48 89 11 c3 0f 1f 84 00 00 00 00 00 65 4c 8b 04 25 00 0f 02 00 65 8b 05 78 b1 c2 7e a9 00 01 1f 00 75 51 41 8b 80 b0 12 00 00 <83> f8 03 75 45 49 8b 80 b8 12 00 00 45 8b 80 b4 12 00 00 4c 8b 08
RSP: 0018:ffff8881d5be6c88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff846d24ac
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005
RBP: ffff8881d97e6400 R08: ffff8881d8994980 R09: ffffc9000046f0cc
R10: fffff5200009141b R11: ffffc9000048a0db R12: ffff8881c5680000
R13: 0000000000000000 R14: ffff8881d97e6400 R15: dffffc0000000000
 hid_apply_multiplier drivers/hid/hid-core.c:1106 [inline]
 hid_setup_resolution_multiplier+0x34c/0x990 drivers/hid/hid-core.c:1163
 hid_open_report+0x438/0x640 drivers/hid/hid-core.c:1274
 hid_parse include/linux/hid.h:1017 [inline]
 ms_probe+0x12d/0x4d0 drivers/hid/hid-microsoft.c:388
 hid_device_probe+0x2be/0x3f0 drivers/hid/hid-core.c:2261
 really_probe+0x290/0xac0 drivers/base/dd.c:551
 driver_probe_device+0x223/0x350 drivers/base/dd.c:724
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x217/0x390 drivers/base/dd.c:897
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1459/0x1bf0 drivers/base/core.c:2487
 hid_add_device drivers/hid/hid-core.c:2417 [inline]
 hid_add_device+0x33c/0x9a0 drivers/hid/hid-core.c:2366
 usbhid_probe+0xa81/0xfa0 drivers/hid/usbhid/hid-core.c:1386
 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:374
 really_probe+0x290/0xac0 drivers/base/dd.c:551
 driver_probe_device+0x223/0x350 drivers/base/dd.c:724
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x217/0x390 drivers/base/dd.c:897
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1459/0x1bf0 drivers/base/core.c:2487
 usb_set_configuration+0xe47/0x17d0 drivers/usb/core/message.c:2023
 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:551
 driver_probe_device+0x223/0x350 drivers/base/dd.c:724
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x217/0x390 drivers/base/dd.c:897
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1459/0x1bf0 drivers/base/core.c:2487
 usb_new_device.cold+0x540/0xcd0 drivers/usb/core/hub.c:2544
 hub_port_connect drivers/usb/core/hub.c:5191 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5331 [inline]
 port_event drivers/usb/core/hub.c:5477 [inline]
 hub_event+0x21cb/0x4300 drivers/usb/core/hub.c:5559
 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264
 worker_thread+0x96/0xe20 kernel/workqueue.c:2410
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (36):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2020/02/27 00:56 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 251aabb7 .config log report syz C
ci2-upstream-usb 2020/01/27 03:23 https://github.com/google/kasan.git usb-fuzzer cd234325a5f1 dd56146d .config log report syz C
ci2-upstream-usb 2019/12/21 14:05 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 bc586918 .config log report syz C
ci2-upstream-usb 2019/12/18 10:28 https://github.com/google/kasan.git usb-fuzzer d533c9925862 64ca0a37 .config log report syz C
ci2-upstream-usb 2019/11/20 14:24 https://github.com/google/kasan.git usb-fuzzer 46178223c0ca 432c7650 .config log report syz C
ci2-upstream-usb 2019/12/27 19:58 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 be5c2c81 .config log report syz
ci2-upstream-usb 2022/04/22 19:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d4323059dd2e 131df97d .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2022/04/18 04:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 8bcc32a6 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2022/01/18 10:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 731a2d23 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/05/08 00:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3ac077570a42 bc5434be .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/04/11 15:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3db53374405f 6a81331a .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/04/03 10:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/31 22:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/29 08:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a a8529b82 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/29 06:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a a8529b82 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/28 14:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 487adc545bce a8529b82 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/25 06:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 049d3db625a6 607e3baf .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/09 03:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 855b35ea96c4 09fbf400 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/09 01:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 855b35ea96c4 09fbf400 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/08 04:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5e17812c22bc 09fbf400 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/03/07 15:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5e17812c22bc c599ed12 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/27 11:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3fb6d0e00efc 4c37c133 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/23 17:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3b9cdafb5358 fcc6d71b .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/21 09:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 3e5ed8b4 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/20 17:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 3e5ed8b4 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/18 14:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 14052202 .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/16 21:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 98682e5e .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/16 14:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 98682e5e .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/16 09:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 98682e5e .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/09 04:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d8c849037d93 2bd9619f .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/02/04 21:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2a1673f0f1de 42b90a7c .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2021/01/30 13:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3c648d3deb0f fc9fd31e .config log report info INFO: rcu detected stall in hub_event
ci2-upstream-usb 2020/11/06 17:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9e39aef3a105 cba33199 .config log report info
ci2-upstream-usb 2020/10/14 15:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 93578a25d4e2 fc7735a2 .config log report info
ci2-upstream-usb 2020/08/13 10:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 449dc8c97089 bc15f7db .config log report
ci2-upstream-usb 2020/02/24 18:54 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 1253d6f0 .config log report