------------[ cut here ]------------
WARNING: CPU: 0 PID: 3961 at net/mac80211/tx.c:4926 __ieee80211_beacon_get+0x19f6/0x2030 net/mac80211/tx.c:5245
Modules linked in:
CPU: 0 PID: 3961 Comm: syz-executor418 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4926 [inline]
RIP: 0010:__ieee80211_beacon_get+0x19f6/0x2030 net/mac80211/tx.c:5245
Code: ff e8 ce 26 78 f7 0f 0b e9 67 ff ff ff e8 c2 26 78 f7 0f 0b e9 04 e9 ff ff e8 b6 26 78 f7 0f 0b e9 10 ee ff ff e8 aa 26 78 f7 <0f> 0b e9 8a f1 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 8c e9
RSP: 0018:ffffc90000007840 EFLAGS: 00010246
RAX: ffffffff8a123a76 RBX: 0000000000000000 RCX: ffff8880762357c0
RDX: 0000000080000103 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007a30 R08: ffffffff8a122bfa R09: ffffffff8a12242c
R10: 0000000000000003 R11: ffff8880762357c0 R12: 1ffff92000000f1c
R13: dffffc0000000000 R14: ffff888022fba248 R15: ffffc90000007aa0
FS: 00007fb37520f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000203e6030 CR3: 000000001c8cd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb1/0x5a0 net/mac80211/tx.c:5332
ieee80211_beacon_get include/net/mac80211.h:5243 [inline]
mac80211_hwsim_beacon_tx+0x1d2/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2086
__iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788
ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:824
mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x670/0x1020 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1766
__do_softirq+0x30d/0xb1b kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:smp_call_function_many_cond+0x1e20/0x33d0
Code: ff ff e8 63 07 0b 00 0f 0b e9 49 e6 ff ff e8 57 07 0b 00 e8 42 f4 0a 09 4d 85 ff 0f 84 34 ff ff ff e8 44 07 0b 00 fb 4d 89 e7 <44> 8b 64 24 40 83 bc 24 e8 00 00 00 00 0f 84 18 12 00 00 44 39 64
RSP: 0018:ffffc9000447ee80 EFLAGS: 00000293
RAX: ffffffff817f59dc RBX: 0000000000000000 RCX: ffff8880762357c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000447f260 R08: ffffffff817f58f4 R09: fffffbfff204d833
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b983ae80
R13: dffffc0000000000 R14: 0000000000000046 R15: ffff8880b983ae80
on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155
__flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline]
flush_tlb_multi arch/x86/mm/tlb.c:924 [inline]
flush_tlb_mm_range+0x353/0x590 arch/x86/mm/tlb.c:1010
flush_tlb_page arch/x86/include/asm/tlbflush.h:240 [inline]
ptep_clear_flush+0x112/0x150 mm/pgtable-generic.c:98
wp_page_copy+0xafe/0x1710 mm/memory.c:3180
handle_pte_fault mm/memory.c:4968 [inline]
__handle_mm_fault mm/memory.c:5092 [inline]
handle_mm_fault+0x251b/0x5140 mm/memory.c:5213
do_user_addr_fault arch/x86/mm/fault.c:1428 [inline]
handle_page_fault arch/x86/mm/fault.c:1519 [inline]
exc_page_fault+0x655/0x860 arch/x86/mm/fault.c:1575
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc9000447f918 EFLAGS: 00050202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000203e6030
RDX: ffff8880762357c0 RSI: 0000000000000002 RDI: 00000000ffffffff
RBP: ffffc9000447fa90 R08: ffffffff8876738d R09: fffff5200088fedd
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: 00000000203e6000 R14: 0000000000000000 R15: ffffffff8946b8e0
____sys_recvmsg+0x363/0x530 net/socket.c:2714
___sys_recvmsg net/socket.c:2743 [inline]
do_recvmmsg+0x46d/0xad0 net/socket.c:2837
__sys_recvmmsg net/socket.c:2916 [inline]
__do_sys_recvmmsg net/socket.c:2939 [inline]
__se_sys_recvmmsg net/socket.c:2932 [inline]
__x64_sys_recvmmsg+0x195/0x240 net/socket.c:2932
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb37527ff29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 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:00007fb37520f308 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fb375308438 RCX: 00007fb37527ff29
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007fb375308430 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 00007fb37530843c
R13: 00007fb3752d51c4 R14: 0031313230386c6e R15: 0000000000022000
----------------
Code disassembly (best guess), 2 bytes skipped:
0: e8 63 07 0b 00 callq 0xb0768
5: 0f 0b ud2
7: e9 49 e6 ff ff jmpq 0xffffe655
c: e8 57 07 0b 00 callq 0xb0768
11: e8 42 f4 0a 09 callq 0x90af458
16: 4d 85 ff test %r15,%r15
19: 0f 84 34 ff ff ff je 0xffffff53
1f: e8 44 07 0b 00 callq 0xb0768
24: fb sti
25: 4d 89 e7 mov %r12,%r15
* 28: 44 8b 64 24 40 mov 0x40(%rsp),%r12d <-- trapping instruction
2d: 83 bc 24 e8 00 00 00 cmpl $0x0,0xe8(%rsp)
34: 00
35: 0f 84 18 12 00 00 je 0x1253
3b: 44 rex.R
3c: 39 .byte 0x39
3d: 64 fs