------------[ cut here ]------------ WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline], CPU#1: syz.6.572/8051 WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453, CPU#1: syz.6.572/8051 Modules linked in: CPU: 1 UID: 0 PID: 8051 Comm: syz.6.572 Not tainted 6.16.0-rc2-next-20250616-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline] RIP: 0010:__ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453 Code: e7 e8 27 f2 2f f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 78 fe ff ff e8 92 bf d6 f6 90 0f 0b 90 e9 e0 f7 ff ff e8 84 bf d6 f6 90 <0f> 0b 90 e9 38 fb ff ff e8 76 bf d6 f6 48 c7 c7 a0 5c 79 8f 4c 89 RSP: 0018:ffffc90000a089f8 EFLAGS: 00010246 RAX: ffffffff8ae9aaac RBX: ffffffff8ae99886 RCX: ffff888026b59e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffff888026b59e00 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: ffff8880555c6500 R13: dffffc0000000000 R14: ffff8880555c69d0 R15: ffff8880603df424 FS: 0000000000000000(0000) GS:ffff888125d40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f495e1a1f70 CR3: 0000000069a08000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000a0c2b1ef DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x2b0 net/mac80211/tx.c:5580 ieee80211_beacon_get include/net/mac80211.h:5638 [inline] mac80211_hwsim_beacon_tx+0x3ce/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2319 __iterate_interfaces+0x2a8/0x590 net/mac80211/util.c:761 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:797 mac80211_hwsim_beacon+0xbb/0x1c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2353 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x529/0xc60 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 9a 08 32 f6 48 89 df e8 f2 9f 32 f6 e8 9d c0 5b f6 fb bf 01 00 00 00 22 9a 24 f6 65 8b 05 eb c3 31 07 85 c0 74 07 5b e9 51 4c 00 00 RSP: 0018:ffffc90002f77258 EFLAGS: 00000282 RAX: 5489738cbae66b00 RBX: ffff888031bd9740 RCX: 5489738cbae66b00 RDX: 0000000000000006 RSI: ffffffff8d98bd8e RDI: 0000000000000001 RBP: ffffc90002f77670 R08: ffffffff8fa14ff7 R09: 1ffffffff1f429fe R10: dffffc0000000000 R11: fffffbfff1f429ff R12: dffffc0000000000 R13: 1ffff1100637b2e7 R14: ffff888031bd9738 R15: ffff888031bd9740 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0xee/0x1f0 mm/filemap.c:254 truncate_inode_folio+0x5d/0x70 mm/truncate.c:176 shmem_undo_range+0x3a9/0x14b0 mm/shmem.c:1121 shmem_truncate_range mm/shmem.c:1237 [inline] shmem_evict_inode+0x272/0xa70 mm/shmem.c:1365 evict+0x501/0x9c0 fs/inode.c:810 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x68e/0xa70 fs/file_table.c:476 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x22e0 kernel/exit.c:959 do_group_exit+0x21c/0x2d0 kernel/exit.c:1100 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c6f8e929 Code: Unable to access opcode bytes at 0x7fd3c6f8e8ff. RSP: 002b:00007fd3c7d46038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007fd3c71b6080 RCX: 00007fd3c6f8e929 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005 RBP: 00007fd3c7010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd3c71b6080 R15: 00007ffe59996b58 ---------------- Code disassembly (best guess): 0: 90 nop 1: f3 0f 1e fa endbr64 5: 53 push %rbx 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 9a 08 32 f6 call 0xf63208b1 17: 48 89 df mov %rbx,%rdi 1a: e8 f2 9f 32 f6 call 0xf632a011 1f: e8 9d c0 5b f6 call 0xf65bc0c1 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 22 9a 24 f6 call 0xf6249a51 <-- trapping instruction 2f: 65 8b 05 eb c3 31 07 mov %gs:0x731c3eb(%rip),%eax # 0x731c421 36: 85 c0 test %eax,%eax 38: 74 07 je 0x41 3a: 5b pop %rbx 3b: e9 51 4c 00 00 jmp 0x4c91