------------[ cut here ]------------ WARNING: CPU: 0 PID: 3496 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 0 PID: 3496 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 0 UID: 0 PID: 3496 Comm: kworker/u8:7 Not tainted 6.12.0-syzkaller-05525-g8d5c1b8c3e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] RIP: 0010:__ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Code: e8 63 b3 42 f6 eb 0d e8 5c b3 42 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 ec 46 a1 f6 45 31 ed e9 4c fe ff ff e8 3f b3 42 f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 31 b3 42 f6 90 0f 0b 90 e9 e8 f8 ff ff RSP: 0018:ffffc90000007a00 EFLAGS: 00010246 RAX: ffffffff8b524fa1 RBX: 0000000000000000 RCX: ffff8880320e3c00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b52469d R09: ffffffff8b5240a0 R10: 0000000000000003 R11: ffff8880320e3c00 R12: ffff88807914a508 R13: ffff888034934c00 R14: ffff88807914a9d8 R15: ffff888079148d80 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556c6d7da8 CR3: 000000000e938000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5632 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:775 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:811 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19fc/0x2ca0 kernel/smp.c:884 Code: 01 31 ff e8 e6 e8 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 91 e4 0b 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 <41> f7 45 00 01 00 00 00 74 1e e8 75 e4 0b 00 eb e4 44 89 e9 80 e1 RSP: 0018:ffffc9000c5176e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e88e9 RCX: ffff8880320e3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000c5178e0 R08: ffffffff81891e3a R09: 1ffffffff28a8d10 R10: dffffc0000000000 R11: fffffbfff28a8d11 R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 31 ff xor %edi,%edi 2: e8 e6 e8 0b 00 call 0xbe8ed 7: 41 83 e4 01 and $0x1,%r12d b: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 12: fc ff df 15: 75 07 jne 0x1e 17: e8 91 e4 0b 00 call 0xbe4ad 1c: eb 38 jmp 0x56 1e: f3 90 pause 20: 42 0f b6 04 23 movzbl (%rbx,%r12,1),%eax 25: 84 c0 test %al,%al 27: 75 11 jne 0x3a * 29: 41 f7 45 00 01 00 00 testl $0x1,0x0(%r13) <-- trapping instruction 30: 00 31: 74 1e je 0x51 33: e8 75 e4 0b 00 call 0xbe4ad 38: eb e4 jmp 0x1e 3a: 44 89 e9 mov %r13d,%ecx 3d: 80 .byte 0x80 3e: e1 .byte 0xe1