wlan1: Trigger new scan to find an IBSS to join wlan1: Trigger new scan to find an IBSS to join wlan1: Trigger new scan to find an IBSS to join WARNING: CPU: 1 PID: 22832 at net/mac80211/tx.c:4154 __ieee80211_csa_update_counter net/mac80211/tx.c:4154 [inline] WARNING: CPU: 1 PID: 22832 at net/mac80211/tx.c:4154 __ieee80211_csa_update_counter net/mac80211/tx.c:4149 [inline] WARNING: CPU: 1 PID: 22832 at net/mac80211/tx.c:4154 __ieee80211_beacon_get+0x1678/0x1a30 net/mac80211/tx.c:4347 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 22832 Comm: kworker/u4:15 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: phy28 ieee80211_iface_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4154 [inline] RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4149 [inline] RIP: 0010:__ieee80211_beacon_get+0x1678/0x1a30 net/mac80211/tx.c:4347 Code: 85 70 03 00 00 41 0f b6 45 24 31 ff 44 8d 60 ff 45 88 65 24 44 89 e6 e8 e6 9f bf f9 45 84 e4 0f 85 4f f5 ff ff e8 a8 9e bf f9 <0f> 0b e9 43 f5 ff ff e8 9c 9e bf f9 e8 c7 c6 ad f9 31 ff 41 89 c4 RSP: 0018:ffff8880ba107c18 EFLAGS: 00010206 RAX: ffff8880a0a24540 RBX: ffff888096f5e1b8 RCX: ffffffff87a2e6ba RDX: 0000000000000100 RSI: ffffffff87a2e6c8 RDI: 0000000000000001 RBP: ffff8880b24a16c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880afc82700 R14: 0000000000000000 R15: ffff8880ba107d60 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463 ieee80211_beacon_get include/net/mac80211.h:4484 [inline] mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:__local_bh_enable_ip+0x194/0x270 kernel/softirq.c:196 Code: 48 c1 e8 03 80 3c 10 00 0f 85 dd 00 00 00 48 83 3d c8 5f b8 08 00 0f 84 8d 00 00 00 fb 66 0f 1f 44 00 00 65 8b 05 6c bc c8 7e <85> c0 74 7d 5b 5d 41 5c c3 80 3d f3 87 d5 09 00 0f 85 36 ff ff ff RSP: 0018:ffff888077467370 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 0000000080000000 RBX: 0000000000000201 RCX: 1ffff110141449c7 RDX: dffffc0000000000 RSI: ffff8880a0a24e18 RDI: ffff8880a0a24dc4 RBP: ffffffff878153c4 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a0a24540 R13: ffff888098254140 R14: ffff88809f524080 R15: ffff8880b24a0b80 spin_unlock_bh include/linux/spinlock.h:374 [inline] cfg80211_bss_update+0x904/0x2590 net/wireless/scan.c:1051 cfg80211_inform_bss_frame_data+0x69c/0xeb0 net/wireless/scan.c:1283 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 8: 0f 85 dd 00 00 00 jne 0xeb e: 48 83 3d c8 5f b8 08 cmpq $0x0,0x8b85fc8(%rip) # 0x8b85fde 15: 00 16: 0f 84 8d 00 00 00 je 0xa9 1c: fb sti 1d: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 23: 65 8b 05 6c bc c8 7e mov %gs:0x7ec8bc6c(%rip),%eax # 0x7ec8bc96 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 74 7d je 0xab 2e: 5b pop %rbx 2f: 5d pop %rbp 30: 41 5c pop %r12 32: c3 retq 33: 80 3d f3 87 d5 09 00 cmpb $0x0,0x9d587f3(%rip) # 0x9d5882d 3a: 0f 85 36 ff ff ff jne 0xffffff76