------------[ cut here ]------------
WARNING: CPU: 1 PID: 6686 at net/mac80211/tx.c:5202 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5202 [inline]
WARNING: CPU: 1 PID: 6686 at net/mac80211/tx.c:5202 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5614
Modules linked in:
CPU: 1 PID: 6686 Comm: syz.3.165 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5202 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5614
Code: f7 4c 89 ef e8 10 9e ae f7 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 eb 16 70 f7 0f 0b e9 61 f8 ff ff e8 df 16 70 f7 <0f> 0b e9 85 fb ff ff e8 d3 16 70 f7 48 c7 c7 00 44 67 8f 4c 89 e6
RSP: 0018:ffffc90000a08a18 EFLAGS: 00010246
RAX: ffffffff8a1806f1 RBX: dffffc0000000000 RCX: ffff888025f15a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888025f15a00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805cd2e420
R13: ffff888026dabc24 R14: ffff88805cd2e910 R15: ffff888026dabc00
FS: 00007f7fcb2836c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fca392c00 CR3: 0000000053583000 CR4: 00000000003506e0
Call Trace:
ieee80211_beacon_get_tim+0xbf/0x580 net/mac80211/tx.c:5741
ieee80211_beacon_get include/net/mac80211.h:5447 [inline]
mac80211_hwsim_beacon_tx+0x3bd/0x770 drivers/net/wireless/virtual/mac80211_hwsim.c:2271
__iterate_interfaces+0x225/0x4c0 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:2301
__run_hrtimer kernel/time/hrtimer.c:1754 [inline]
__hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/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:finish_task_switch+0x267/0x8f0 kernel/sched/core.c:5267
Code: 3c 09 85 c0 0f 84 30 01 00 00 48 85 db 0f 85 4f 01 00 00 e9 d5 04 00 00 4c 89 e7 e8 c3 42 46 09 e8 5e 4e 30 00 fb 4c 8b 65 b8 <49> 8d bc 24 00 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc9000f72f5e0 EFLAGS: 00000282
RAX: 45fcb07085bb4900 RBX: 0000000000000000 RCX: 45fcb07085bb4900
RDX: dffffc0000000000 RSI: ffffffff8aead240 RDI: ffffffff8b3c70e0
RBP: ffffc9000f72f630 R08: ffffffff8f8e2f6f R09: 1ffffffff1f1c5ed
R10: dffffc0000000000 R11: fffffbfff1f1c5ee R12: ffff888025f15a00
R13: ffff8880b8d3cf48 R14: dffffc0000000000 R15: ffff8880b8d3ccc8
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x1577/0x4720 kernel/sched/core.c:6722
schedule+0xbd/0x170 kernel/sched/core.c:6796
schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2145
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x2c6/0x5a0 kernel/sched/completion.c:148
rdmsr_safe_on_cpu+0x18f/0x2a0 arch/x86/lib/msr-smp.c:183
msr_read+0x142/0x240 arch/x86/kernel/msr.c:66
vfs_read+0x298/0x990 fs/read_write.c:468
ksys_read+0x151/0x260 fs/read_write.c:613
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7fca3a9a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7fcb283028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f7fca635fa0 RCX: 00007f7fca3a9a99
RDX: 0000000000018ff8 RSI: 00002000000008c0 RDI: 0000000000000004
RBP: 00007f7fca43918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7fca636038 R14: 00007f7fca635fa0 R15: 00007ffe6d3b97b8
----------------
Code disassembly (best guess):
0: 3c 09 cmp $0x9,%al
2: 85 c0 test %eax,%eax
4: 0f 84 30 01 00 00 je 0x13a
a: 48 85 db test %rbx,%rbx
d: 0f 85 4f 01 00 00 jne 0x162
13: e9 d5 04 00 00 jmp 0x4ed
18: 4c 89 e7 mov %r12,%rdi
1b: e8 c3 42 46 09 call 0x94642e3
20: e8 5e 4e 30 00 call 0x304e83
25: fb sti
26: 4c 8b 65 b8 mov -0x48(%rbp),%r12
* 2a: 49 8d bc 24 00 16 00 lea 0x1600(%r12),%rdi <-- trapping instruction
31: 00
32: 48 89 f8 mov %rdi,%rax
35: 48 c1 e8 03 shr $0x3,%rax
39: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax
3e: 84 c0 test %al,%al