syzbot


INFO: rcu detected stall in ieee80211_iface_work (4)

Status: auto-obsoleted due to no activity on 2023/09/25 23:55
Subsystems: wireless
[Documentation on labels]
First crash: 411d, last: 304d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in ieee80211_iface_work (3) wireless 1 518d 518d 0/26 auto-obsoleted due to no activity on 2023/02/25 18:08
upstream INFO: rcu detected stall in ieee80211_iface_work wireless 2 970d 978d 0/26 auto-closed as invalid on 2021/10/29 13:44
upstream INFO: rcu detected stall in ieee80211_iface_work (2) iomap 1 732d 732d 0/26 auto-closed as invalid on 2022/06/25 02:47

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P4443/1:b..l P6806/1:b..l P2875/2:b..l P6486/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=27773, q=364 ncpus=2)
task:kworker/u4:10   state:R  running task     stack:27328 pid:6486  ppid:2      flags:0x00004000
Workqueue: phy14 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6669
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981
 irqentry_exit+0x35/0x80 kernel/entry/common.c:433
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire+0x1f5/0x520 kernel/locking/lockdep.c:5673
Code: 88 9c 7e 83 f8 01 0f 85 b9 02 00 00 9c 58 f6 c4 02 0f 85 a4 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc9000562f990 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000ac5f34 RCX: 8b880a6b728d7746
RDX: 1ffff1100439ac80 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9153dd07
R10: fffffbfff22a7ba0 R11: 0000000000094001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8c798800 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:302 [inline]
 rcu_read_lock include/linux/rcupdate.h:748 [inline]
 ieee80211_update_sta_info net/mac80211/ibss.c:999 [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+0x1048/0x3030 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1594 [inline]
 ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1648
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
 kthread+0x344/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
task:kworker/u4:7    state:R  running task     stack:26344 pid:2875  ppid:2      flags:0x00004000
Workqueue: phy5 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6669
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981
 irqentry_exit+0x35/0x80 kernel/entry/common.c:433
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_is_held_type+0x103/0x140 kernel/locking/lockdep.c:5781
Code: 00 00 b8 ff ff ff ff 65 0f c1 05 98 a5 f0 75 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48
RSP: 0018:ffffc9000cbd7978 EFLAGS: 00000286
RAX: 0000000000000046 RBX: 0000000000000003 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8c798800 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000094001 R12: ffff88802977bb80
R13: 0000000000000001 R14: 00000000ffffffff R15: ffff88802977c6c0
 ieee80211_vif_get_shift+0x144/0x2d0 net/mac80211/ieee80211_i.h:1175
 ieee80211_sta_get_rates+0x124/0x730 net/mac80211/util.c:2285
 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+0x10e2/0x3030 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1594 [inline]
 ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1648
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
 kthread+0x344/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
task:kworker/u4:11   state:R  running task     stack:26336 pid:6806  ppid:2      flags:0x00004000
Workqueue: phy7 ieee80211_iface_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6669
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981
 irqentry_exit+0x35/0x80 kernel/entry/common.c:433
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:ieee80211_sta_get_rates+0x438/0x730 net/mac80211/util.c:2314
Code: 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 48 02 00 00 0f b7 5b 04 03 5c 24 34 e8 43 56 eb f7 89 d8 8b 6c 24 2c 99 f7 7c 24 40 <89> ee 89 c3 89 c7 e8 cd 51 eb f7 39 eb 0f 85 f3 fe ff ff e8 20 56
RSP: 0018:ffffc9000709f9d0 EFLAGS: 00000293
RAX: 0000000000000037 RBX: 0000000000000037 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8999297d RDI: ffff88807d995f94
RBP: 00000000000001e0 R08: 0000000000000005 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000094001 R12: 0000000000000002
R13: 0000000000000002 R14: 000000000000000c R15: 0000000000000000
 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+0x10e2/0x3030 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1594 [inline]
 ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1648
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
 kthread+0x344/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
task:syslogd         state:R  running task     stack:25824 pid:4443  ppid:1      flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0xc9a/0x5880 kernel/sched/core.c:6669
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6981
 irqentry_exit+0x35/0x80 kernel/entry/common.c:433
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:arch_stack_walk+0x75/0xf0 arch/x86/kernel/stacktrace.c:25
Code: 00 00 00 48 8d bd 78 ff ff ff 4c 89 ea 4c 89 f6 e8 60 42 08 00 8b 95 78 ff ff ff 85 d2 75 21 eb 33 4c 89 e7 ff d3 84 c0 74 2a <48> 8d bd 78 ff ff ff e8 0f 24 08 00 8b 85 78 ff ff ff 85 c0 74 14
RSP: 0018:ffffc90006597518 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff81727fa0 RCX: 0000000000000000
RDX: 1ffff92000cb2ed1 RSI: ffffffff81d73d56 RDI: ffffc900065975dc
RBP: ffffc900065975a0 R08: 0000000000000001 R09: ffffc90006597940
R10: ffffc90006597518 R11: 0000000000094001 R12: ffffc900065975d0
R13: 0000000000000000 R14: ffff88802774bb80 R15: 0000004b9db2cc35
 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
 save_stack+0x151/0x1e0 mm/page_owner.c:128
 __reset_page_owner+0x56/0x170 mm/page_owner.c:149
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1308 [inline]
 free_unref_page_prepare+0x62e/0xcb0 mm/page_alloc.c:2577
 free_unref_page+0x33/0x370 mm/page_alloc.c:2672
 __unfreeze_partials+0x17c/0x1a0 mm/slub.c:2636
 qlink_free mm/kasan/quarantine.c:166 [inline]
 qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:185
 kasan_quarantine_reduce+0x195/0x220 mm/kasan/quarantine.c:292
 ____kasan_kmalloc mm/kasan/common.c:340 [inline]
 __kasan_kmalloc+0x86/0xb0 mm/kasan/common.c:383
 kasan_kmalloc include/linux/kasan.h:196 [inline]
 __do_kmalloc_node mm/slab_common.c:966 [inline]
 __kmalloc+0x5e/0x190 mm/slab_common.c:979
 kmalloc include/linux/slab.h:563 [inline]
 kzalloc include/linux/slab.h:680 [inline]
 tomoyo_encode2.part.0+0xe9/0x3a0 security/tomoyo/realpath.c:45
 tomoyo_encode2 security/tomoyo/realpath.c:31 [inline]
 tomoyo_encode+0x2c/0x50 security/tomoyo/realpath.c:80
 tomoyo_realpath_from_path+0x185/0x600 security/tomoyo/realpath.c:283
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path_perm+0x230/0x430 security/tomoyo/file.c:822
 security_inode_getattr+0xd3/0x140 security/security.c:2114
 vfs_getattr fs/stat.c:167 [inline]
 vfs_statx+0x16e/0x430 fs/stat.c:242
 vfs_fstatat+0x90/0xb0 fs/stat.c:276
 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1b8dad05f4
RSP: 002b:00007fff4bdcbff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 0000559b9dec4910 RCX: 00007f1b8dad05f4
RDX: 00007fff4bdcc020 RSI: 00007f1b8db6d130 RDI: 0000000000000003
RBP: 00007fff4bdcc100 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000206 R12: 0000559b9dec4c50
R13: 00000000649b756d R14: 0000000000000004 R15: 0000559b9dec4a60
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/27 23:50 upstream e8f75c0270d9 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in ieee80211_iface_work
2023/03/13 09:48 upstream eeac8ede1755 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in ieee80211_iface_work
2023/06/10 11:09 linux-next 715abedee4cd 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in ieee80211_iface_work
* Struck through repros no longer work on HEAD.