------------[ cut here ]------------
WARNING: CPU: 0 PID: 5246 at net/mac80211/tx.c:5039 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5039 [inline]
WARNING: CPU: 0 PID: 5246 at net/mac80211/tx.c:5039 __ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5466
Modules linked in:
CPU: 0 PID: 5246 Comm: syz-executor163 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5039 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5466
Code: e8 45 f5 94 f6 eb 0d e8 3e f5 94 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 2e ac ee f6 45 31 ed e9 4e fe ff ff e8 21 f5 94 f6 90 <0f> 0b 90 e9 02 f7 ff ff e8 13 f5 94 f6 90 0f 0b 90 e9 ea f8 ff ff
RSP: 0018:ffffc90000007a00 EFLAGS: 00010246
RAX: ffffffff8b01686f RBX: 0000000000000000 RCX: ffff88802b8a3c00
RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8b015f6d R09: ffffffff8b015970
R10: 0000000000000003 R11: ffff88802b8a3c00 R12: ffff888023c162d0
R13: ffff888023360800 R14: ffff888023c16750 R15: ffff888023c14ca0
FS: 00007f16860d26c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200fe030 CR3: 000000002bb5a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593
ieee80211_beacon_get include/net/mac80211.h:5562 [inline]
mac80211_hwsim_beacon_tx+0x398/0x7e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2302
__iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772
ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808
mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2332
__run_hrtimer kernel/time/hrtimer.c:1692 [inline]
__hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1773
__do_softirq+0x2c6/0x980 kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633
irq_exit_rcu+0x9/0x30 kernel/softirq.c:645
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 de b4 6a f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 53 e4 d4 f5 65 8b 05 a4 db 72 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc90003caf540 EFLAGS: 00000206
RAX: 593afdffda31d800 RBX: 1ffff92000795eac RCX: ffffffff817324ba
RDX: dffffc0000000000 RSI: ffffffff8bcab360 RDI: 0000000000000001
RBP: ffffc90003caf5d0 R08: ffffffff92f7b64f R09: 1ffffffff25ef6c9
R10: dffffc0000000000 R11: fffffbfff25ef6ca R12: dffffc0000000000
R13: 1ffff92000795ea8 R14: ffffc90003caf560 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
__skb_try_recv_datagram+0x1cb/0x6a0 net/core/datagram.c:266
__unix_dgram_recvmsg+0x3ba/0x12f0 net/unix/af_unix.c:2383
sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1046
____sys_recvmsg+0x3c0/0x470 net/socket.c:2801
___sys_recvmsg net/socket.c:2845 [inline]
do_recvmmsg+0x474/0xae0 net/socket.c:2939
__sys_recvmmsg net/socket.c:3018 [inline]
__do_sys_recvmmsg net/socket.c:3041 [inline]
__se_sys_recvmmsg net/socket.c:3034 [inline]
__x64_sys_recvmmsg+0x199/0x250 net/socket.c:3034
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1686139dc9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f16860d2228 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f16861c3378 RCX: 00007f1686139dc9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f16861c3370 R08: 0000000000000000 R09: 00007f16860d26c0
R10: 0000000000000002 R11: 0000000000000246 R12: 00007f16861c337c
R13: 00007f16861901b4 R14: 0031313230386c6e R15: 00007fff2e2cd708
----------------
Code disassembly (best guess):
0: 9c pushf
1: 8f 44 24 20 pop 0x20(%rsp)
5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1)
a: 74 08 je 0x14
c: 4c 89 f7 mov %r14,%rdi
f: e8 de b4 6a f6 call 0xf66ab4f2
14: f6 44 24 21 02 testb $0x2,0x21(%rsp)
19: 75 52 jne 0x6d
1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 53 e4 d4 f5 call 0xf5d4e482 <-- trapping instruction
2f: 65 8b 05 a4 db 72 74 mov %gs:0x7472dba4(%rip),%eax # 0x7472dbda
36: 85 c0 test %eax,%eax
38: 74 43 je 0x7d
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 04 24 add $0x24,%al
3e: 0e (bad)
3f: 36 ss