syzbot


WARNING in __ieee80211_beacon_get

Status: auto-closed as invalid on 2021/02/20 01:09
Reported-by: syzbot+97254a3b10c541879a65@syzkaller.appspotmail.com
First crash: 1273d, last: 1273d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __ieee80211_beacon_get (3) C 224 408d 914d 0/1 upstream: reported C repro on 2021/10/16 16:09
upstream WARNING in __ieee80211_beacon_get wireless C done 7252 16h13m 1291d 0/26 upstream: reported C repro on 2020/10/05 08:38
linux-5.15 WARNING in __ieee80211_beacon_get origin:upstream C 1690 1d00h 406d 0/3 upstream: reported C repro on 2023/03/08 22:50
linux-4.19 WARNING in __ieee80211_beacon_get 2 1201d 1205d 0/1 auto-closed as invalid on 2021/05/02 15:33
linux-6.1 WARNING in __ieee80211_beacon_get origin:upstream C 724 3h05m 402d 0/3 upstream: reported C repro on 2023/03/13 04:41
linux-4.19 WARNING in __ieee80211_beacon_get (2) 4 1049d 1075d 0/1 auto-closed as invalid on 2021/10/02 04:19

Sample crash report:
ieee80211 phy4: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
ieee80211 phy4: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:04:00)
ieee80211 phy2: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
------------[ cut here ]------------
ieee80211 phy3: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_csa_update_counter net/mac80211/tx.c:4051 [inline]
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_csa_update_counter net/mac80211/tx.c:4046 [inline]
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_beacon_get+0x143e/0x1820 net/mac80211/tx.c:4219
Kernel panic - not syncing: panic_on_warn set ...

ieee80211 phy5: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
CPU: 0 PID: 25111 Comm: kworker/u4:8 Not tainted 4.14.202-syzkaller #0
ieee80211 phy3: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:03:00)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
ieee80211 phy5: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:05:00)
 <IRQ>
ieee80211 phy2: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:02:00)
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4051 [inline]
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4046 [inline]
RIP: 0010:__ieee80211_beacon_get+0x143e/0x1820 net/mac80211/tx.c:4219
RSP: 0000:ffff8880ba407c78 EFLAGS: 00010206
RAX: ffff888076ff0600 RBX: ffff8880a4072a70 RCX: 0000000000000000
RDX: 0000000000000100 RSI: 00000000ffffffff RDI: ffff8880a591a924
RBP: ffff8880a2891720 R08: 0000000000000001 R09: ffff8880ba407d98
R10: ffff8880ba407d9f R11: ffff888076ff0600 R12: 0000000000000001
R13: ffff8880a591a900 R14: 1ffff11017480faf R15: ffff8880ba407d98
 ieee80211_beacon_get_tim+0x78/0x750 net/mac80211/tx.c:4335
 ieee80211_beacon_get include/net/mac80211.h:4401 [inline]
 mac80211_hwsim_beacon_tx+0xd8/0x570 drivers/net/wireless/mac80211_hwsim.c:1520
 __iterate_interfaces+0x247/0x3c0 net/mac80211/util.c:613
 ieee80211_iterate_active_interfaces_atomic+0x74/0x130 net/mac80211/util.c:649
 mac80211_hwsim_beacon+0xbe/0x180 drivers/net/wireless/mac80211_hwsim.c:1558
 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:618
 tasklet_hi_action+0x195/0x330 kernel/softirq.c:549
 __do_softirq+0x254/0xa1d kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x193/0x240 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:200
RSP: 0000:ffff88807499fd18 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff11e121b RBX: ffff888076ff0600 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888076ff0e84
RBP: ffff8880ba42a2c0 R08: ffffffff8b9aca48 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ba42a2c0
R13: ffff8880a15ee080 R14: 0000000000000000 R15: ffff8880ba42ac10
 finish_lock_switch kernel/sched/sched.h:1352 [inline]
 finish_task_switch+0x178/0x610 kernel/sched/core.c:2675
 context_switch kernel/sched/core.c:2811 [inline]
 __schedule+0x893/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 worker_thread+0x14b/0xff0 kernel/workqueue.c:2271
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/23 01:08 linux-4.14.y 5b7a52cd2eef 4e740c00 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.