syzbot


INFO: rcu detected stall in ieee80211_iface_work

Status: auto-obsoleted due to no activity on 2024/09/18 22:31
Reported-by: syzbot+d80a865ab838e79ed557@syzkaller.appspotmail.com
First crash: 125d, last: 125d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ieee80211_iface_work (3) wireless 1 688d 688d 0/28 auto-obsoleted due to no activity on 2023/02/25 18:08
upstream INFO: rcu detected stall in ieee80211_iface_work (4) wireless 3 474d 581d 0/28 auto-obsoleted due to no activity on 2023/09/25 23:55
upstream INFO: rcu detected stall in ieee80211_iface_work wireless 2 1141d 1148d 0/28 auto-closed as invalid on 2021/10/29 13:44
upstream INFO: rcu detected stall in ieee80211_iface_work (2) iomap 1 902d 902d 0/28 auto-closed as invalid on 2022/06/25 02:47
linux-6.1 INFO: rcu detected stall in ieee80211_iface_work 2 62d 66d 0/3 upstream: reported on 2024/08/09 01:20

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P3619/1:b..l
	(detected by 1, t=10502 jiffies, g=9629, q=12)
task:kworker/u4:5    state:R  running task     stack:20224 pid: 3619 ppid:     2 flags:0x00004000
Workqueue: phy9 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780
 irqentry_exit+0x53/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:rcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:311
Code: 0f 8c 8f fa ff ff 48 89 ef 4c 89 44 24 28 48 89 74 24 20 e8 82 9b 1d f8 48 8b 74 24 20 4c 8b 44 24 28 e9 6e fa ff ff 0f 1f 00 <e8> 8b cd d3 f7 e8 86 cd d3 f7 48 c7 c7 e0 fa 91 8c 31 f6 31 d2 b9
RSP: 0000:ffffc900042579b8 EFLAGS: 00000283
RAX: 0000000000000001 RBX: ffff88807c4a8768 RCX: ffff88807c67bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffffc90004257bd8 R08: ffffffff89ac3f66 R09: fffff5200084aeee
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805fba5b08
R13: ffff88807c4ab510 R14: ffff88807c4a85c0 R15: dffffc0000000000
 rcu_read_lock include/linux/rcupdate.h:739 [inline]
 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline]
 ieee80211_rx_bss_info net/mac80211/ibss.c:1121 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline]
 ieee80211_ibss_rx_queued_mgmt+0xd20/0x2af0 net/mac80211/ibss.c:1643
 ieee80211_iface_process_skb net/mac80211/iface.c:1441 [inline]
 ieee80211_iface_work+0x78f/0xcc0 net/mac80211/iface.c:1495
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>
rcu: rcu_preempt kthread starved for 10528 jiffies! g9629 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:27192 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 1
CPU: 1 PID: 4369 Comm: syz-executor.3 Not tainted 5.15.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 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_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487
 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592
 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline]
 rcu_pending kernel/rcu/tree.c:3932 [inline]
 rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619
 update_process_times+0x196/0x200 kernel/time/timer.c:1818
 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:1686 [inline]
 __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
 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+0x8c/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:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4785
Code: 45 31 c9 68 b7 90 59 81 e8 cc 1a 09 00 48 83 c4 08 4c 89 ff e8 60 da fe ff 66 90 4c 89 ff e8 f6 da cd 08 e8 d1 4b 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87
RSP: 0018:ffffc9000132f698 EFLAGS: 00000286
RAX: 7f0ff237f651dd00 RBX: ffff88801d071df4 RCX: ffffffff913eff03
RDX: dffffc0000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0
RBP: ffffc9000132f710 R08: ffffffff8186dcf0 R09: ffffed1017367469
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff11017367613 R14: ffff8880b9b3b098 R15: ffff8880b9b3a340
 finish_task_switch+0x134/0x630 kernel/sched/core.c:4902
 context_switch kernel/sched/core.c:5033 [inline]
 __schedule+0x12cc/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 freezable_schedule include/linux/freezer.h:172 [inline]
 futex_wait_queue_me+0x25b/0x480 kernel/futex/core.c:2863
 futex_wait+0x2f8/0x740 kernel/futex/core.c:2964
 do_futex+0x1414/0x1810 kernel/futex/core.c:3982
 __do_sys_futex kernel/futex/core.c:4059 [inline]
 __se_sys_futex+0x407/0x490 kernel/futex/core.c:4040
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5b5e209f69
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:00007f5b5cd83178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007f5b5e340f88 RCX: 00007f5b5e209f69
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f5b5e340f88
RBP: 00007f5b5e340f80 R08: 00007f5b5cd836c0 R09: 00007f5b5cd836c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5b5e340f8c
R13: 000000000000000b R14: 00007fff5e9e0520 R15: 00007fff5e9e0608
 </TASK>
sched: RT throttling activated

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/10 22:30 linux-5.15.y c61bd26ae81a 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in ieee80211_iface_work
* Struck through repros no longer work on HEAD.