------------[ cut here ]------------ WARNING: CPU: 1 PID: 4290 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 4290 Comm: syz-executor152 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] RIP: 0010:__ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Code: ff e8 17 a0 a9 f7 0f 0b e9 4b fa ff ff e8 0b a0 a9 f7 0f 0b e9 3b fe ff ff e8 ff 9f a9 f7 0f 0b e9 06 ee ff ff e8 f3 9f a9 f7 <0f> 0b e9 91 f0 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2d ea RSP: 0018:ffffc90000dd0840 EFLAGS: 00010246 RAX: ffffffff89d6fccd RBX: 0000000000000000 RCX: ffff888023f69dc0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000dd0a70 R08: ffffffff89d6ed58 R09: ffffffff89d6e72b R10: 0000000000000003 R11: ffff888023f69dc0 R12: dffffc0000000000 R13: ffff88802638cc80 R14: ffff88802638e298 R15: 1ffff920001ba118 FS: 000055556d97e380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000031000 CR3: 0000000024af5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:212 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:271 [inline] RIP: 0010:native_x2apic_icr_write arch/x86/include/asm/apic.h:241 [inline] RIP: 0010:__x2apic_send_IPI_dest arch/x86/kernel/apic/x2apic_phys.c:126 [inline] RIP: 0010:x2apic_send_IPI+0x77/0xd0 arch/x86/kernel/apic/x2apic_phys.c:48 Code: 48 c1 e8 03 42 0f b6 04 38 84 c0 75 26 0f b7 13 0f ae f0 0f ae e8 41 83 fe 02 b8 00 04 00 00 41 0f 45 c6 b9 30 08 00 00 0f 30 <66> 90 5b 41 5e 41 5f 5d c3 89 d9 80 e1 07 fe c1 38 c1 7c cf 48 89 RSP: 0018:ffffc90002f1f918 EFLAGS: 00000206 RAX: 00000000000000fb RBX: ffff8880b8e21568 RCX: 0000000000000830 RDX: 0000000000000000 RSI: 00000000000000fb RDI: 0000000000000000 RBP: ffffffff8c5ce810 R08: dffffc0000000000 R09: ffffed10171c7679 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 1ffff920005e3f2c R14: 00000000000000fb R15: dffffc0000000000 __smp_call_single_queue kernel/smp.c:496 [inline] generic_exec_single+0x29f/0x4d0 kernel/smp.c:529 smp_call_function_single_async+0x7b/0x110 kernel/smp.c:803 rdmsr_safe_on_cpu+0x142/0x310 arch/x86/lib/msr-smp.c:181 msr_read+0x168/0x1f0 arch/x86/kernel/msr.c:67 vfs_read+0x2fc/0xe10 fs/read_write.c:483 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc532ab8c79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 1a 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:00007ffd61a6fab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00000000000119b4 RCX: 00007fc532ab8c79 RDX: 0000000000018ff8 RSI: 0000200000019680 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0072736d2f232f75 R09: 0000000000000000 R10: 000000000000001f R11: 0000000000000246 R12: 00007ffd61a6fadc R13: 00007ffd61a6fb10 R14: 00007ffd61a6faf0 R15: 0000000000000016 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 9: 84 c0 test %al,%al b: 75 26 jne 0x33 d: 0f b7 13 movzwl (%rbx),%edx 10: 0f ae f0 mfence 13: 0f ae e8 lfence 16: 41 83 fe 02 cmp $0x2,%r14d 1a: b8 00 04 00 00 mov $0x400,%eax 1f: 41 0f 45 c6 cmovne %r14d,%eax 23: b9 30 08 00 00 mov $0x830,%ecx 28: 0f 30 wrmsr * 2a: 66 90 xchg %ax,%ax <-- trapping instruction 2c: 5b pop %rbx 2d: 41 5e pop %r14 2f: 41 5f pop %r15 31: 5d pop %rbp 32: c3 ret 33: 89 d9 mov %ebx,%ecx 35: 80 e1 07 and $0x7,%cl 38: fe c1 inc %cl 3a: 38 c1 cmp %al,%cl 3c: 7c cf jl 0xd 3e: 48 rex.W 3f: 89 .byte 0x89