syzbot


INFO: rcu detected stall in hci_rx_work

Status: auto-obsoleted due to no activity on 2023/05/31 20:28
Subsystems: bluetooth
[Documentation on labels]
First crash: 668d, last: 668d

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2646 jiffies s: 19941 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 17577 Comm: kworker/u5:6 Not tainted 6.3.0-rc4-next-20230331-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: hci10 hci_rx_work
RIP: 0010:div_u64_rem include/linux/math64.h:29 [inline]
RIP: 0010:div_u64 include/linux/math64.h:130 [inline]
RIP: 0010:pie_calculate_probability+0x281/0x7c0 net/sched/sch_pie.c:345
Code: 89 c6 4c 89 6c 24 38 e8 dd 3c 4a f9 47 8d 24 a4 31 d2 4c 89 ff 43 8d 0c 24 48 c1 ed 02 48 b8 ff ff ff ff ff ff ff 00 48 f7 f1 <49> 89 c5 48 89 c6 48 c1 eb 02 49 89 cc e8 6d 38 4a f9 4d 39 ef 73
RSP: 0018:ffffc900001e0c50 EFLAGS: 00000206
RAX: 00004189374bc6a7 RBX: 00000000abcc7711 RCX: 00000000000003e8
RDX: 00000000000003a7 RSI: ffffffff8838d473 RDI: 0000000000000000
RBP: 00000000044b82fa R08: 0000000000000007 R09: 00028f5c28f5c28e
R10: 0000000000000000 R11: 0000000000000001 R12: 00000000000001f4
R13: ffff888022cbd300 R14: 0000000000000005 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13fe756300 CR3: 000000009b246000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 fq_pie_timer+0x174/0x2a0 net/sched/sch_fq_pie.c:380
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers+0x234/0x330 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1d4/0x905 kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 26 aa 8e 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 ad aa 80 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc9000384f730 EFLAGS: 00000216
RAX: 0000000000007934 RBX: 0000000000000200 RCX: ffffc900141e7000
RDX: 0000000000040000 RSI: ffffffff81675515 RDI: 0000000000000007
RBP: ffffffff8d25b498 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8d25b440 R14: dffffc0000000000 R15: 0000000000000001
 console_emit_next_record arch/x86/include/asm/irqflags.h:42 [inline]
 console_flush_all+0x61b/0xcc0 kernel/printk/printk.c:2942
 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3016
 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2316
 vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
 _printk+0xbf/0xf0 kernel/printk/printk.c:2337
 bt_warn+0xdc/0x110 net/bluetooth/lib.c:235
 hci_cc_func net/bluetooth/hci_event.c:4166 [inline]
 hci_cmd_complete_evt+0x2d1/0x880 net/bluetooth/hci_event.c:4190
 hci_event_func net/bluetooth/hci_event.c:7483 [inline]
 hci_event_packet+0x641/0xfd0 net/bluetooth/hci_event.c:7538
 hci_rx_work+0xaeb/0x1340 net/bluetooth/hci_core.c:4059
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x33e/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
NMI backtrace for cpu 1
CPU: 1 PID: 17577 Comm: kworker/u5:6 Not tainted 6.3.0-rc4-next-20230331-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: hci10 hci_rx_work
RIP: 0010:pie_calculate_probability+0x10b/0x7c0 net/sched/sch_pie.c:324
Code: ee e8 79 3a 4a f9 85 ed 0f 85 db 05 00 00 e8 4c 3e 4a f9 44 8b 7c 24 28 31 ff 44 89 fe e8 5d 3a 4a f9 45 85 ff 0f 94 44 24 2f <45> 31 f6 e8 2d 3e 4a f9 49 8d 7d 10 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900001e0c50 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88808992fc00 RCX: ffffffff8838d313
RDX: ffff8880801e3a80 RSI: 0000000000000100 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff88801e08bb00 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13fe756300 CR3: 000000009b246000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 fq_pie_timer+0x174/0x2a0 net/sched/sch_fq_pie.c:380
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers+0x234/0x330 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1d4/0x905 kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: 26 aa 8e 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 ad aa 80 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc9000384f730 EFLAGS: 00000216
RAX: 0000000000007934 RBX: 0000000000000200 RCX: ffffc900141e7000
RDX: 0000000000040000 RSI: ffffffff81675515 RDI: 0000000000000007
RBP: ffffffff8d25b498 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8d25b440 R14: dffffc0000000000 R15: 0000000000000001
 console_emit_next_record arch/x86/include/asm/irqflags.h:42 [inline]
 console_flush_all+0x61b/0xcc0 kernel/printk/printk.c:2942
 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3016
 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2316
 vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
 _printk+0xbf/0xf0 kernel/printk/printk.c:2337
 bt_warn+0xdc/0x110 net/bluetooth/lib.c:235
 hci_cc_func net/bluetooth/hci_event.c:4166 [inline]
 hci_cmd_complete_evt+0x2d1/0x880 net/bluetooth/hci_event.c:4190
 hci_event_func net/bluetooth/hci_event.c:7483 [inline]
 hci_event_packet+0x641/0xfd0 net/bluetooth/hci_event.c:7538
 hci_rx_work+0xaeb/0x1340 net/bluetooth/hci_core.c:4059
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x33e/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/01 20:26 linux-next 4b0f4525dc4f f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in hci_rx_work
* Struck through repros no longer work on HEAD.