WARNING: CPU: 0 PID: 15521 at net/mac80211/tx.c:4154 __ieee80211_csa_update_counter net/mac80211/tx.c:4154 [inline] WARNING: CPU: 0 PID: 15521 at net/mac80211/tx.c:4154 __ieee80211_csa_update_counter net/mac80211/tx.c:4149 [inline] WARNING: CPU: 0 PID: 15521 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: 0 PID: 15521 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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:ffff8880ba007c18 EFLAGS: 00010206 RAX: ffff888047f78640 RBX: ffff888046ba2af8 RCX: ffffffff87a2e6ba RDX: 0000000000000100 RSI: ffffffff87a2e6c8 RDI: 0000000000000001 RBP: ffff888046b19b40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888093216500 R14: 0000000000000000 R15: ffff8880ba007d60 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:kasan_mem_to_shadow include/linux/kasan.h:28 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x35/0x170 mm/kasan/kasan.c:267 Code: ff ff ff ff ff 7f ff ff 44 0f b6 c2 48 39 c7 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 55 <48> 89 fd 49 c1 e9 03 48 c1 ed 03 53 49 01 c1 48 01 c5 49 8d 59 01 RSP: 0018:ffff888047287c28 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880ba022ac0 RCX: ffffffff81518c83 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ba022ad0 RBP: ffff8880ba022ad0 R08: 0000000000000000 R09: ffff8880ba022ad3 R10: ffff8880ba022ad3 R11: ffffffff8c66501b R12: 0000000000000000 R13: 0000000000004000 R14: dffffc0000000000 R15: ffffc90001b06038 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:350 [inline] rcu_is_watching+0x53/0xc0 kernel/rcu/tree.c:1025 rcu_read_unlock include/linux/rcupdate.h:677 [inline] bpf_test_run_one net/bpf/test_run.c:23 [inline] bpf_test_run+0x2a3/0x440 net/bpf/test_run.c:43 bpf_prog_test_run_skb+0x579/0x9c0 net/bpf/test_run.c:147 bpf_prog_test_run kernel/bpf/syscall.c:1796 [inline] __do_sys_bpf kernel/bpf/syscall.c:2441 [inline] __se_sys_bpf+0xc9e/0x3a20 kernel/bpf/syscall.c:2384 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4fd0b130c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4fcf064168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4fd0c33050 RCX: 00007f4fd0b130c9 RDX: 0000000000000048 RSI: 0000000020002c00 RDI: 000000000000000a RBP: 00007f4fd0b6eae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbd2ee98f R14: 00007f4fcf064300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess): 0: ff (bad) 1: ff (bad) 2: ff (bad) 3: ff (bad) 4: ff (bad) 5: 7f ff jg 0x6 7: ff 44 0f b6 incl -0x4a(%rdi,%rcx,1) b: c2 48 39 retq $0x3948 e: c7 (bad) f: 0f 86 20 01 00 00 jbe 0x135 15: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10 1a: 41 54 push %r12 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 4d 89 d1 mov %r10,%r9 29: 55 push %rbp * 2a: 48 89 fd mov %rdi,%rbp <-- trapping instruction 2d: 49 c1 e9 03 shr $0x3,%r9 31: 48 c1 ed 03 shr $0x3,%rbp 35: 53 push %rbx 36: 49 01 c1 add %rax,%r9 39: 48 01 c5 add %rax,%rbp 3c: 49 8d 59 01 lea 0x1(%r9),%rbx