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: 69d, last: 27d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ieee80211_iface_work (3) wireless 1 917d 917d 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 704d 810d 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 1370d 1378d 0/28 auto-closed as invalid on 2021/10/29 13:44
linux-5.15 INFO: rcu detected stall in ieee80211_iface_work (2) 2 26d 52d 0/3 upstream: reported on 2025/04/09 15:46
linux-5.15 INFO: rcu detected stall in ieee80211_iface_work 1 355d 355d 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 1131d 1131d 0/28 auto-closed as invalid on 2022/06/25 02:47
linux-6.1 INFO: rcu detected stall in ieee80211_iface_work 3 210d 296d 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): P16462/1:b..l P4733/2:b..l
	(detected by 0, t=10502 jiffies, g=111969, q=349 ncpus=2)
task:kworker/u4:7    state:R  running task     stack:21760 pid:4733  ppid:2      flags:0x00004000
Workqueue: phy58 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__rcu_read_unlock+0x0/0xd0 kernel/rcu/tree_plugin.h:419
Code: c0 75 11 ff 03 8b 03 3d 00 00 00 40 7d 02 5b c3 0f 0b eb fa 89 d9 80 e1 07 80 c1 03 38 c1 7c e3 48 89 df e8 c2 7b 66 00 eb d9 <41> 57 41 56 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b
RSP: 0000:ffffc9000c17f8a0 EFLAGS: 00000293
RAX: ffffffff89858b23 RBX: ffffffff898589cb RCX: ffff88802a680000
RDX: 0000000000000000 RSI: ffffffff8abf0d80 RDI: ffffffff8abf0d40
RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000c
R10: 000000000000000c R11: 0000000000000000 R12: ffff88807e548050
R13: dffffc0000000000 R14: ffff8880635e0c80 R15: ffff88807e548000
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 sta_info_get+0x27a/0x2a0 net/mac80211/sta_info.c:-1
 ieee80211_update_sta_info net/mac80211/ibss.c:1000 [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+0xfb7/0x2b10 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1671 [inline]
 ieee80211_iface_work+0x726/0xc80 net/mac80211/iface.c:1725
 process_one_work+0x898/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
task:kworker/u4:13   state:R  running task     stack:22784 pid:16462 ppid:2      flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc90003547ac0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: e70f70ad239d7f00
RDX: 0000000000000000 RSI: ffffffff8a6c0f80 RDI: ffffffff8abf0da0
RBP: ffffc90003547bc8 R08: dffffc0000000000 R09: fffffbfff2117049
R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: 0000000000000000
R13: 1ffff920006a8f64 R14: 0000000000000246 R15: dffffc0000000000
 rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 rcu_read_lock include/linux/rcupdate.h:791 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0xeb/0x600 net/batman-adv/network-coding.c:719
 process_one_work+0x898/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: rcu_preempt kthread starved for 9563 jiffies! g111969 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:27840 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5244 [inline]
 __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561
 schedule+0xb9/0x180 kernel/sched/core.c:6637
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 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:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.136-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:736
Code: 48 89 df e8 67 3a b9 f7 e9 4c ff ff ff e8 4d 14 f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 66 90 0f 00 2d b7 a2 4d 00 fb f4 <c3> 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48
RSP: 0018:ffffffff8c607d88 EFLAGS: 000002c6
RAX: 826fc8a575b43600 RBX: ffffffff8a1900d7 RCX: 826fc8a575b43600
RDX: 0000000000000001 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffffffff8c607ec0 R08: dffffc0000000000 R09: ffffed10171c6aee
R10: ffffed10171c6aee R11: 1ffff110171c6aed R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff8c6bc680 R15: 1ffffffff1bfd07e
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2d64839866 CR3: 0000000030f23000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 default_idle_call+0x84/0xc0 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x1fc/0x570 kernel/sched/idle.c:303
 cpu_startup_entry+0x3f/0x60 kernel/sched/idle.c:401
 rest_init+0x2dc/0x300 init/main.c:733
 arch_call_rest_init+0xa/0xa init/main.c:893
 start_kernel+0x490/0x539 init/main.c:1140
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/04 14:14 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in ieee80211_iface_work
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.