------------[ cut here ]------------
WARNING: CPU: 0 PID: 6629 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075
Modules linked in:
CPU: 0 PID: 6629 Comm: dhcpcd-run-hook Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline]
RIP: 0010:__ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075
Code: ff e8 e7 c9 b4 f7 0f 0b e9 4b fa ff ff e8 db c9 b4 f7 0f 0b e9 3b fe ff ff e8 cf c9 b4 f7 0f 0b e9 06 ee ff ff e8 c3 c9 b4 f7 <0f> 0b e9 91 f0 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2d ea
RSP: 0018:ffffc90000007840 EFLAGS: 00010246
RAX: ffffffff89cba9dd RBX: 0000000000000000 RCX: ffff888021563b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007a70 R08: ffffffff89cb9a68 R09: ffffffff89cb943b
R10: 0000000000000003 R11: ffff888021563b80 R12: dffffc0000000000
R13: ffff8880603f8c80 R14: ffff8880603fa298 R15: 1ffff92000000f18
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555cf742da18 CR3: 000000007e84a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194
ieee80211_beacon_get include/net/mac80211.h:4981 [inline]
mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:60 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:347 [inline]
RIP: 0010:deref_stack_reg+0x76/0x110 arch/x86/kernel/unwind_orc.c:357
Code: 93 91 00 48 8b 6b 10 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 80 00 00 00 83 3b 00 74 18 4d 39 fd 77 13 4c 39 fd 76 0e <49> 8d 47 08 4c 39 e8 76 05 48 39 e8 76 32 48 8d 7b 28 48 89 f8 48
RSP: 0018:ffffc90003577450 EFLAGS: 00000206
RAX: 0000000000000000 RBX: ffffc90003577540 RCX: 0000000000000000
RDX: ffffc90003577580 RSI: ffffc90003577940 RDI: ffffc90003577550
RBP: ffffc90003578000 R08: ffffc90003577940 R09: ffffc90003577590
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90003570000 R14: ffffc90003577580 R15: ffffc90003577940
unwind_next_frame+0x12f1/0x1fa0
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x80 mm/kasan/common.c:46
kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kmem_cache_free+0x91/0x1f0 mm/slub.c:3515
anon_vma_chain_free mm/rmap.c:143 [inline]
unlink_anon_vmas+0x59d/0x5f0 mm/rmap.c:443
free_pgtables+0x178/0x2a0 mm/memory.c:426
exit_mmap+0x3c5/0x670 mm/mmap.c:3187
__mmput+0x112/0x3b0 kernel/fork.c:1127
exit_mm+0x688/0x7f0 kernel/exit.c:550
do_exit+0x626/0x2480 kernel/exit.c:861
do_group_exit+0x144/0x310 kernel/exit.c:996
__do_sys_exit_group kernel/exit.c:1007 [inline]
__se_sys_exit_group kernel/exit.c:1005 [inline]
__x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f17bcf6ea90
Code: Unable to access opcode bytes at RIP 0x7f17bcf6ea66.
RSP: 002b:00007ffd8cb250c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000555cf7417910 RCX: 00007f17bcf6ea90
RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00007ffd8cb253f8 R08: 0000555cf7417c58 R09: 7be547705e450371
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd8cb253f0
R13: 00007ffd8cb25400 R14: 0000555cf1c63169 R15: 00007f17bd165a80
----------------
Code disassembly (best guess):
0: 93 xchg %eax,%ebx
1: 91 xchg %eax,%ecx
2: 00 48 8b add %cl,-0x75(%rax)
5: 6b 10 48 imul $0x48,(%rax),%edx
8: 89 d8 mov %ebx,%eax
a: 48 c1 e8 03 shr $0x3,%rax
e: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax
13: 84 c0 test %al,%al
15: 0f 85 80 00 00 00 jne 0x9b
1b: 83 3b 00 cmpl $0x0,(%rbx)
1e: 74 18 je 0x38
20: 4d 39 fd cmp %r15,%r13
23: 77 13 ja 0x38
25: 4c 39 fd cmp %r15,%rbp
28: 76 0e jbe 0x38
* 2a: 49 8d 47 08 lea 0x8(%r15),%rax <-- trapping instruction
2e: 4c 39 e8 cmp %r13,%rax
31: 76 05 jbe 0x38
33: 48 39 e8 cmp %rbp,%rax
36: 76 32 jbe 0x6a
38: 48 8d 7b 28 lea 0x28(%rbx),%rdi
3c: 48 89 f8 mov %rdi,%rax
3f: 48 rex.W