------------[ cut here ]------------
WARNING: CPU: 1 PID: 6247 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline]
WARNING: CPU: 1 PID: 6247 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469
Modules linked in:
CPU: 1 UID: 0 PID: 6247 Comm: syz.1.67 Not tainted 6.13.0-rc1-syzkaller-00239-g9a6e8c7c3a02 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
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 a3 cb 5c f6 eb 0d e8 9c cb 5c f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 dc 3f b8 f6 45 31 ed e9 4c fe ff ff e8 7f cb 5c f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 71 cb 5c f6 90 0f 0b 90 e9 e8 f8 ff ff
RSP: 0018:ffffc90000a189e0 EFLAGS: 00010246
RAX: ffffffff8b42a641 RBX: 0000000000000000 RCX: ffff88802f3f5a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8b429d3d R09: ffffffff8b429740
R10: 0000000000000003 R11: ffff88802f3f5a00 R12: ffff88805e916508
R13: ffff88805e867400 R14: ffff88805e9169d8 R15: ffff88805e914d80
FS: 00007f326ee196c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020242030 CR3: 000000002fc4a000 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/0xd30 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820
handle_softirqs+0x2d4/0x9b0 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:__might_sleep+0x37/0xe0 kernel/sched/core.c:8675
Code: 53 41 89 f6 49 89 ff 49 bc 00 00 00 00 00 fc ff df 65 48 8b 2c 25 80 d4 03 00 48 8d 5d 18 48 89 d8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 80 00 00 00 44 8b 2b 45 85 ed 74 2d 48 81 c5 68 17 00
RSP: 0018:ffffc90002dff528 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffff88802f3f5a18 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000232 RDI: ffffffff8c0a8280
RBP: ffff88802f3f5a00 R08: ffffc90002dff667 R09: 0000000000000000
R10: ffffc90002dff640 R11: fffff520005bfecd R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000232 R15: ffffffff8c0a8280
__mutex_lock_common kernel/locking/mutex.c:562 [inline]
__mutex_lock+0x131/0xee0 kernel/locking/mutex.c:735
__unix_dgram_recvmsg+0x246/0x12f0 net/unix/af_unix.c:2432
sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1033
____sys_recvmsg+0x3cd/0x480 net/socket.c:2801
___sys_recvmsg net/socket.c:2845 [inline]
do_recvmmsg+0x426/0xab0 net/socket.c:2940
__sys_recvmmsg net/socket.c:3014 [inline]
__do_sys_recvmmsg net/socket.c:3037 [inline]
__se_sys_recvmmsg net/socket.c:3030 [inline]
__x64_sys_recvmmsg+0x199/0x250 net/socket.c:3030
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f326df7fed9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f326ee19058 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f326e146080 RCX: 00007f326df7fed9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f326dff3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f326e146080 R15: 00007ffc740f8178
----------------
Code disassembly (best guess):
0: 53 push %rbx
1: 41 89 f6 mov %esi,%r14d
4: 49 89 ff mov %rdi,%r15
7: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12
e: fc ff df
11: 65 48 8b 2c 25 80 d4 mov %gs:0x3d480,%rbp
18: 03 00
1a: 48 8d 5d 18 lea 0x18(%rbp),%rbx
1e: 48 89 d8 mov %rbx,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax
* 2a: 84 c0 test %al,%al <-- trapping instruction
2c: 0f 85 80 00 00 00 jne 0xb2
32: 44 8b 2b mov (%rbx),%r13d
35: 45 85 ed test %r13d,%r13d
38: 74 2d je 0x67
3a: 48 rex.W
3b: 81 .byte 0x81
3c: c5 68 17 (bad)