------------[ cut here ]------------ WARNING: CPU: 0 PID: 5236 at net/mac80211/tx.c:5034 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5034 [inline] WARNING: CPU: 0 PID: 5236 at net/mac80211/tx.c:5034 __ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5461 Modules linked in: CPU: 0 PID: 5236 Comm: syz-executor424 Not tainted 6.9.0-rc1-next-20240328-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5034 [inline] RIP: 0010:__ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5461 Code: e8 05 86 9a f6 eb 0d e8 fe 85 9a f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 5e a8 f3 f6 45 31 ed e9 4e fe ff ff e8 e1 85 9a f6 90 <0f> 0b 90 e9 02 f7 ff ff e8 d3 85 9a f6 90 0f 0b 90 e9 ea f8 ff ff RSP: 0018:ffffc90000007a00 EFLAGS: 00010246 RAX: ffffffff8afae4ef RBX: 0000000000000000 RCX: ffff88807ac38000 RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8afadbed R09: ffffffff8afad5f0 R10: 0000000000000003 R11: ffff88807ac38000 R12: ffff88807f5da2d0 R13: ffff88806a510c00 R14: ffff88807f5da750 R15: ffff88807f5d8ca0 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000001d8a4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5588 ieee80211_beacon_get include/net/mac80211.h:5557 [inline] mac80211_hwsim_beacon_tx+0x398/0x7e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2332 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1773 __do_softirq+0x2c6/0x980 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 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+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 fe b8 6f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 63 c5 da f5 65 8b 05 04 66 79 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000434f0e0 EFLAGS: 00000206 RAX: fa599b232fa6d800 RBX: 1ffff92000869e20 RCX: ffffffff8172570a RDX: dffffc0000000000 RSI: ffffffff8bcad5c0 RDI: 0000000000000001 RBP: ffffc9000434f170 R08: ffffffff92f33557 R09: 1ffffffff25e66aa R10: dffffc0000000000 R11: fffffbfff25e66ab R12: dffffc0000000000 R13: 1ffff92000869e1c R14: ffffc9000434f100 R15: 0000000000000246 __debug_check_no_obj_freed lib/debugobjects.c:998 [inline] debug_check_no_obj_freed+0x561/0x580 lib/debugobjects.c:1019 free_pages_prepare mm/page_alloc.c:1117 [inline] free_unref_folios+0x537/0x19e0 mm/page_alloc.c:2666 folios_put_refs+0x93a/0xa60 mm/swap.c:1034 free_pages_and_swap_cache+0x2ea/0x690 mm/swap_state.c:329 __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+0x459/0xcf0 mm/mmap.c:3279 __mmput+0x115/0x3c0 kernel/fork.c:1345 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x360 kernel/entry/common.c:218 do_syscall_64+0x10a/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7ff42ca90dc9 Code: Unable to access opcode bytes at 0x7ff42ca90d9f. RSP: 002b:00007ff42ca4a228 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007ff42cb1a368 RCX: 00007ff42ca90dc9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff42cb1a368 RBP: 00007ff42cb1a360 R08: 00007ff42ca4a6c0 R09: 00007ff42ca4a6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff42cb1a36c R13: 00007ff42cae71b4 R14: 0031313230386c6e R15: 00007ffe6c8fb748 ---------------- Code disassembly (best guess): 0: 9c pushf 1: 8f 44 24 20 pop 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 fe b8 6f f6 call 0xf66fb912 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 52 jne 0x6d 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 63 c5 da f5 call 0xf5dac592 <-- trapping instruction 2f: 65 8b 05 04 66 79 74 mov %gs:0x74796604(%rip),%eax # 0x7479663a 36: 85 c0 test %eax,%eax 38: 74 43 je 0x7d 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss