syzbot


INFO: rcu detected stall in ieee80211_tasklet_handler

Status: auto-obsoleted due to no activity on 2024/02/21 17:39
Reported-by: syzbot+b354966d94ecce0f5252@syzkaller.appspotmail.com
First crash: 223d, last: 223d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ieee80211_tasklet_handler wireless C error done 74 1002d 1282d 20/27 fixed on 2022/03/08 16:11
linux-5.15 INFO: rcu detected stall in ieee80211_tasklet_handler (2) 1 70d 70d 0/3 upstream: reported on 2024/04/14 13:47
upstream INFO: rcu detected stall in ieee80211_tasklet_handler (2) wireless C error 141 17d 38d 0/27 upstream: reported C repro on 2024/05/16 12:27
linux-6.1 INFO: rcu detected stall in ieee80211_tasklet_handler 1 20d 20d 0/3 upstream: reported on 2024/06/03 08:38
upstream BUG: soft lockup in ieee80211_tasklet_handler wireless C inconclusive error 9 1124d 1216d 0/27 auto-obsoleted due to no activity on 2023/01/07 08:49
linux-4.19 BUG: soft lockup in ieee80211_tasklet_handler syz 29 493d 1192d 0/1 upstream: reported syz repro on 2021/03/19 03:24

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10264 ticks this GP) idle=baf/1/0x4000000000000000 softirq=26851/27087 fqs=5076 
	(t=10500 jiffies g=42589 q=1391)
NMI backtrace for cpu 0
CPU: 0 PID: 8268 Comm: syz-executor.0 Not tainted 5.15.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3911 [inline]
 rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2606
 update_process_times+0x196/0x200 kernel/time/timer.c:1788
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:ieee80211_rx_h_sta_process net/mac80211/rx.c:1780 [inline]
RIP: 0010:ieee80211_rx_handlers+0x110f/0x91c0 net/mac80211/rx.c:3936
Code: 24 48 83 c3 70 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 b0 50 00 00 44 8b 33 49 8d 9f 28 05 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 4c 8b 64 24 20 74 08 48 89 df e8 bd d7 1a f8 4c 01
RSP: 0018:ffffc90000007560 EFLAGS: 00000a06
RAX: 1ffff1100f23e8a5 RBX: ffff8880791f4528 RCX: ffff888024d4d940
RDX: 0000000000000302 RSI: 0000000000000000 RDI: 0000000000000008
RBP: ffffc900000077d0 R08: ffffffff89aefaa5 R09: ffffed100f23e83a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007aa8
R13: dffffc0000000000 R14: 000000000000004c R15: ffff8880791f4000
 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3989 [inline]
 ieee80211_prepare_and_rx_handle+0x2b76/0x51e0 net/mac80211/rx.c:4699
 __ieee80211_rx_handle_packet net/mac80211/rx.c:4859 [inline]
 ieee80211_rx_list+0x1dac/0x2a60 net/mac80211/rx.c:4982
 ieee80211_rx_napi+0x15f/0x380 net/mac80211/rx.c:5005
 ieee80211_rx include/net/mac80211.h:4571 [inline]
 ieee80211_tasklet_handler+0x109/0x1b0 net/mac80211/main.c:235
 tasklet_action_common+0x3cb/0x4a0
 __do_softirq+0x3b3/0x93a kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:account_kernel_stack+0x270/0x420 kernel/fork.c:386
Code: 9d 34 00 b8 00 02 00 00 48 21 c3 75 31 e8 78 99 34 00 4c 89 fb 4d 85 ed 75 07 e8 6b 99 34 00 eb 06 e8 64 99 34 00 fb 4d 89 f5 <49> 83 fc 38 74 1a e8 55 99 34 00 49 83 c4 08 e9 90 fe ff ff e8 47
RSP: 0018:ffffc90002e4e8c0 EFLAGS: 00000293
RAX: ffffffff814b88ec RBX: ffff888014fd32a0 RCX: ffff888024d4d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e4e9e8 R08: ffffffff814b88c9 R09: fffffbfff1f79c22
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888014fd32a0
 release_task_stack kernel/fork.c:431 [inline]
 put_task_stack+0x8f/0x140 kernel/fork.c:443
 finish_task_switch+0x276/0x630 kernel/sched/core.c:4938
 context_switch kernel/sched/core.c:5029 [inline]
 __schedule+0x12cc/0x45b0 kernel/sched/core.c:6372
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6776
 irqentry_exit+0x53/0x80 kernel/entry/common.c:426
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:reg_copy_dfs_chan_state net/wireless/reg.c:2923 [inline]
RIP: 0010:wiphy_share_dfs_chan_state net/wireless/reg.c:2958 [inline]
RIP: 0010:wiphy_all_share_dfs_chan_state+0x25b/0x6c0 net/wireless/reg.c:2973
Code: 74 08 4c 89 e7 e8 15 f7 3c f8 49 8b 1c 24 48 8b 7c 24 18 48 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 fa 01 00 00 44 8b 2f <44> 89 ee 83 e6 08 31 ff e8 c8 44 f3 f7 44 89 e8 83 e0 08 75 0a e8
RSP: 0018:ffffc90002e4edd0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88804141d150 RCX: 0000000000000a00
RDX: ffff88804376db7c RSI: 0000000000000033 RDI: ffff88804376db5c
RBP: ffff88804376db80 R08: ffffffff898ce03f R09: fffffbfff1bc7266
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88804141b4a8
R13: 0000000000000031 R14: 0000000000000030 R15: dffffc0000000000
 wiphy_regulatory_register+0x179/0x230 net/wireless/reg.c:4073
 wiphy_register+0x1ef0/0x2bb0 net/wireless/core.c:934
 ieee80211_register_hw+0x2986/0x39d0 net/mac80211/main.c:1299
 mac80211_hwsim_new_radio+0x223d/0x4200 drivers/net/wireless/mac80211_hwsim.c:3374
 hwsim_new_radio_nl+0xbae/0x1090 drivers/net/wireless/mac80211_hwsim.c:3950
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xfbd/0x14a0 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2429
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2483
 __sys_sendmsg net/socket.c:2512 [inline]
 __do_sys_sendmsg net/socket.c:2521 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2519
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f2fbe2a9ae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2fbc82b0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2fbe3c8f80 RCX: 00007f2fbe2a9ae9
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007f2fbe2f547a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2fbe3c8f80 R15: 00007ffc14aa0d58
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/13 17:38 linux-5.15.y 80529b4968a8 6d6dbf8a .config console log report info ci2-linux-5-15-kasan-perf INFO: rcu detected stall in ieee80211_tasklet_handler
* Struck through repros no longer work on HEAD.