syzbot


INFO: rcu detected stall in ieee80211_iface_work (2)

Status: upstream: reported on 2025/03/23 05:33
Reported-by: syzbot+8596b4248548da2e4c67@syzkaller.appspotmail.com
First crash: 16d, last: 2d21h
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ieee80211_iface_work (3) wireless 1 864d 864d 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 650d 757d 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 1316d 1324d 0/28 auto-closed as invalid on 2021/10/29 13:44
linux-5.15 INFO: rcu detected stall in ieee80211_iface_work 1 301d 301d 0/3 auto-obsoleted due to no activity on 2024/09/18 22:31
upstream INFO: rcu detected stall in ieee80211_iface_work (2) iomap 1 1078d 1078d 0/28 auto-closed as invalid on 2022/06/25 02:47
linux-6.1 INFO: rcu detected stall in ieee80211_iface_work 3 157d 242d 0/3 auto-obsoleted due to no activity on 2025/02/10 05:28

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P11/2:b..l
	(detected by 0, t=10502 jiffies, g=83977, q=27 ncpus=2)
task:kworker/u4:1    state:R  running task     stack:20792 pid:11    ppid:2      flags:0x00004000
Workqueue: phy16 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6561
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6873
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_is_held_type+0x137/0x180 arch/x86/include/asm/irqflags.h:-1
Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc900001077d0 EFLAGS: 00000206
RAX: ff0a4923e2419100 RBX: 0000000000000003 RCX: 0000000080000000
RDX: ffff888017ff3b80 RSI: ffffffff8b0c2f40 RDI: ffffffff8b5f70e0
RBP: 0000000000000001 R08: ffffffff8a3a740f R09: fffffbfff225764d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246
R13: ffff888017ff3b80 R14: 00000000ffffffff R15: ffffffff8d32e740
 ieee80211_vif_get_shift+0xf8/0x280 net/mac80211/ieee80211_i.h:1159
 ieee80211_sta_get_rates+0x133/0x720 net/mac80211/util.c:2169
 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline]
 ieee80211_rx_bss_info net/mac80211/ibss.c:1118 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline]
 ieee80211_ibss_rx_queued_mgmt+0x1144/0x2de0 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1668 [inline]
 ieee80211_iface_work+0x7aa/0xce0 net/mac80211/iface.c:1722
 process_one_work+0x917/0x1260 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10464 jiffies! g83977 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=54928
rcu: rcu_preempt kthread starved for 10465 jiffies! g83977 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25944 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6561
 schedule+0xbf/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567
vkms_vblank_simulate: vblank timer overrun

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/05 12:57 linux-6.1.y 8e60a714ba3b c53ea9c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in ieee80211_iface_work
2025/03/23 05:33 linux-6.1.y 344a09659766 4e8d3850 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in ieee80211_iface_work
* Struck through repros no longer work on HEAD.