------------[ cut here ]------------ WARNING: CPU: 0 PID: 6244 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 0 PID: 6244 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 0 UID: 0 PID: 6244 Comm: syz.0.93 Not tainted 6.13.0-rc3-syzkaller-00136-g8faabc041a00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/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 13 0f 64 f6 eb 0d e8 0c 0f 64 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 2c 45 bc f6 45 31 ed e9 4c fe ff ff e8 ef 0e 64 f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 e1 0e 64 f6 90 0f 0b 90 e9 e8 f8 ff ff RSP: 0018:ffffc900000079e0 EFLAGS: 00010246 RAX: ffffffff8b3b64b1 RBX: 0000000000000000 RCX: ffff888029b71e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b3b5bad R09: ffffffff8b3b55b0 R10: 0000000000000003 R11: ffff888029b71e00 R12: ffff88806e8ba500 R13: ffff8880277f6400 R14: ffff88806e8ba9d0 R15: ffff88806e8b8d80 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8fb0cd6d58 CR3: 000000006485e000 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:5635 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:758 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:794 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:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 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:bytes_is_nonzero mm/kasan/generic.c:89 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x8c/0x290 mm/kasan/generic.c:189 Code: 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 0f 85 c9 01 00 00 <49> ff c3 48 ff c5 75 ee e9 1e 01 00 00 45 89 dc 41 83 e4 07 0f 84 RSP: 0018:ffffc90003387130 EFLAGS: 00000246 RAX: ffff888029b71e01 RBX: 1ffff92000670e3c RCX: ffffffff814bd0a6 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc900033871e0 RBP: ffffffffffffffff R08: ffffc9000338723f R09: 1ffff92000670e47 R10: dffffc0000000000 R11: fffff52000670e47 R12: 0000000000000000 R13: ffffffff818b3990 R14: dffffc0000000001 R15: fffff52000670e48 __asan_memset+0x23/0x50 mm/kasan/shadow.c:84 __unwind_start+0x36/0x740 arch/x86/kernel/unwind_orc.c:688 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xe5/0x150 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_folios+0xe23/0x1890 mm/page_alloc.c:2704 folios_put_refs+0x76c/0x860 mm/swap.c:962 free_pages_and_swap_cache+0x5c8/0x690 mm/swap_state.c:335 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu+0x3a3/0x680 mm/mmu_gather.c:373 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:465 exit_mmap+0x496/0xc20 mm/mmap.c:1681 __mmput+0x115/0x3b0 kernel/fork.c:1353 exit_mm+0x220/0x310 kernel/exit.c:570 do_exit+0x9b2/0x28e0 kernel/exit.c:925 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096 x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7f6ef7185d29 Code: Unable to access opcode bytes at 0x7f6ef7185cff. RSP: 002b:00007ffcc315b7f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6ef7185d29 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffcc315b84c R08: 00007ffcc315b8df R09: 000000000001bcde R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000001bcde R14: 00007ffcc315b8a0 R15: 00007ffcc315b8a0 ---------------- Code disassembly (best guess): 0: 3c 31 cmp $0x31,%al 2: 4c 89 fd mov %r15,%rbp 5: 4c 29 dd sub %r11,%rbp 8: 48 83 fd 10 cmp $0x10,%rbp c: 7f 29 jg 0x37 e: 48 85 ed test %rbp,%rbp 11: 0f 84 3e 01 00 00 je 0x155 17: 4c 89 cd mov %r9,%rbp 1a: 48 f7 d5 not %rbp 1d: 48 01 dd add %rbx,%rbp 20: 41 80 3b 00 cmpb $0x0,(%r11) 24: 0f 85 c9 01 00 00 jne 0x1f3 * 2a: 49 ff c3 inc %r11 <-- trapping instruction 2d: 48 ff c5 inc %rbp 30: 75 ee jne 0x20 32: e9 1e 01 00 00 jmp 0x155 37: 45 89 dc mov %r11d,%r12d 3a: 41 83 e4 07 and $0x7,%r12d 3e: 0f .byte 0xf 3f: 84 .byte 0x84