------------[ cut here ]------------
WARNING: CPU: 0 PID: 1089 at net/mac80211/tx.c:5031 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
WARNING: CPU: 0 PID: 1089 at net/mac80211/tx.c:5031 __ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Modules linked in:
CPU: 0 PID: 1089 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Code: 24 4c 89 e7 e8 0e 88 d4 f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 7a fe ff ff e8 19 65 97 f7 0f 0b e9 f6 f7 ff ff e8 0d 65 97 f7 <0f> 0b e9 48 fb ff ff e8 01 65 97 f7 48 c7 c7 a0 09 24 8e 4c 89 e6
RSP: 0018:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff89ee2a93 RBX: ffffffff89ee1896 RCX: ffff888023a01e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888023a01e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88804d56a3c0
R13: dffffc0000000000 R14: ffff88804d56a8b0 R15: ffff888030bae024
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2c9b9d CR3: 00000000627ed000 CR4: 00000000003506f0
Call Trace:
ieee80211_beacon_get_tim+0xb8/0x560 net/mac80211/tx.c:5569
ieee80211_beacon_get include/net/mac80211.h:5440 [inline]
mac80211_hwsim_beacon_tx+0x3c7/0x780 drivers/net/wireless/virtual/mac80211_hwsim.c:2265
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:766
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:802
mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2295
__run_hrtimer kernel/time/hrtimer.c:1755 [inline]
__hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
handle_softirqs+0x280/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:unwind_next_frame+0x1c64/0x2970 arch/x86/kernel/unwind_orc.c:665
Code: 24 8c 00 00 00 44 89 f6 e8 19 d2 4a 00 44 39 f5 0f 85 a1 00 00 00 48 8b 44 24 68 42 80 3c 28 00 74 08 48 89 df e8 bc 16 a2 00 <4d> 8b 74 24 38 49 8d 7c 24 08 48 89 f8 48 c1 e8 03 42 80 3c 28 00
RSP: 0018:ffffc9000480f598 EFLAGS: 00000246
RAX: 1ffff92000901ed4 RBX: ffffc9000480f6a0 RCX: 0000000000000000
RDX: ffff888023a01e00 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffff888023a01e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffc9000480f668
R13: dffffc0000000000 R14: 0000000000000001 R15: ffffffff8ed9407a
arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522
----------------
Code disassembly (best guess):
0: 24 8c and $0x8c,%al
2: 00 00 add %al,(%rax)
4: 00 44 89 f6 add %al,-0xa(%rcx,%rcx,4)
8: e8 19 d2 4a 00 call 0x4ad226
d: 44 39 f5 cmp %r14d,%ebp
10: 0f 85 a1 00 00 00 jne 0xb7
16: 48 8b 44 24 68 mov 0x68(%rsp),%rax
1b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
20: 74 08 je 0x2a
22: 48 89 df mov %rbx,%rdi
25: e8 bc 16 a2 00 call 0xa216e6
* 2a: 4d 8b 74 24 38 mov 0x38(%r12),%r14 <-- trapping instruction
2f: 49 8d 7c 24 08 lea 0x8(%r12),%rdi
34: 48 89 f8 mov %rdi,%rax
37: 48 c1 e8 03 shr $0x3,%rax
3b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)