------------[ cut here ]------------ WARNING: CPU: 1 PID: 6219 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 1 PID: 6219 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5035 [inline] WARNING: CPU: 1 PID: 6219 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x14ac/0x16b0 net/mac80211/tx.c:5469 Modules linked in: CPU: 1 UID: 0 PID: 6219 Comm: syz-executor345 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #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_update_cntdwn net/mac80211/tx.c:5035 [inline] RIP: 0010:__ieee80211_beacon_get+0x14ac/0x16b0 net/mac80211/tx.c:5469 Code: 00 89 df 44 89 e6 e8 b3 0d ee f6 44 38 e3 72 a1 e8 c9 13 ee f6 48 89 ef e8 b1 e9 45 f7 31 ed e9 9c fe ff ff e8 b5 13 ee f6 90 <0f> 0b 90 e9 86 f6 ff ff 48 89 c6 48 c7 c7 a0 28 2d 90 48 89 04 24 RSP: 0018:ffffc90000a18b70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8aabfba2 RDX: ffff88807f1a2440 RSI: ffffffff8aac051b RDI: 0000000000000001 RBP: ffffc90000a18c20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffff888035edc800 R13: 0000000000000041 R14: ffff888031950d80 R15: ffff8880319529d0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efeb41bc888 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xa7/0x280 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5635 [inline] mac80211_hwsim_beacon_tx+0x4ea/0xa10 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __iterate_interfaces+0x2e5/0x640 net/mac80211/util.c:758 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:794 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 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+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1049 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+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 c6 50 4a f6 48 89 df e8 1e d0 4a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 05 b5 3b f6 65 8b 05 76 70 d7 74 85 c0 74 16 5b RSP: 0018:ffffc900056675e8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffffffff9aa7eec8 RCX: 1ffffffff2dccfb6 RDX: 0000000000000000 RSI: ffffffff8b6cd9e0 RDI: ffffffff8bd1eca0 RBP: 0000000000000286 R08: 0000000000000001 R09: fffffbfff2dca39e R10: ffffffff96e51cf7 R11: 0000000000000001 R12: ffffffff9aa7eec0 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88807164c000 __debug_check_no_obj_freed lib/debugobjects.c:1108 [inline] debug_check_no_obj_freed+0x327/0x600 lib/debugobjects.c:1129 free_pages_prepare mm/page_alloc.c:1134 [inline] free_unref_folios+0x2f2/0x14f0 mm/page_alloc.c:2706 folios_put_refs+0x587/0x7b0 mm/swap.c:962 free_pages_and_swap_cache+0x36d/0x510 mm/swap_state.c:332 __tlb_batch_free_encoded_pages+0xf9/0x290 mm/mmu_gather.c:136 tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:366 [inline] tlb_flush_mmu mm/mmu_gather.c:373 [inline] tlb_finish_mmu+0x168/0x7b0 mm/mmu_gather.c:465 exit_mmap+0x3df/0xb20 mm/mmap.c:1685 __mmput+0x12a/0x4c0 kernel/fork.c:1348 mmput+0x62/0x70 kernel/fork.c:1370 exit_mm kernel/exit.c:570 [inline] do_exit+0x9ba/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 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+0x3e/0x50 kernel/exit.c:1096 x64_sys_call+0x151f/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efeb4164599 Code: Unable to access opcode bytes at 0x7efeb416456f. RSP: 002b:00007ffebd548a78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efeb4164599 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007efeb41f03d0 R08: ffffffffffffffb0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efeb41f03d0 R13: 0000000000000000 R14: 00007efeb41f1fc0 R15: 00007efeb41315a0 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 c6 50 4a f6 call 0xf64a50d9 13: 48 89 df mov %rbx,%rdi 16: e8 1e d0 4a f6 call 0xf64ad039 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 05 b5 3b f6 call 0xf63bb539 34: 65 8b 05 76 70 d7 74 mov %gs:0x74d77076(%rip),%eax # 0x74d770b1 3b: 85 c0 test %eax,%eax 3d: 74 16 je 0x55 3f: 5b pop %rbx