------------[ cut here ]------------ WARNING: CPU: 0 PID: 4583 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 0 PID: 4583 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 4583 Comm: syz.2.89 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] RIP: 0010:__ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075 Code: f8 0f 0b e9 f1 fa ff ff e8 b1 1a 42 f8 0f 0b 4c 8b 74 24 08 e9 36 fe ff ff e8 a0 1a 42 f8 0f 0b e9 3c ef ff ff e8 94 1a 42 f8 <0f> 0b e9 b8 f2 ff ff e8 18 c5 6b 00 44 89 e1 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900000078c0 EFLAGS: 00010246 RAX: ffffffff8935a78c RBX: ffff88805ee50c80 RCX: ffff888029678000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007ae8 R08: ffff888029678000 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: ffff8880261e9c00 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28 FS: 0000555571f23500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f020543ff98 CR3: 000000002a40c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0x48/0x840 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xf4/0x920 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x243/0x500 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1754 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1771 handle_softirqs+0x328/0x820 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 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:finish_lock_switch+0x134/0x280 kernel/sched/core.c:4785 Code: be ff ff ff ff e8 2c 0e 4e 08 85 c0 74 4a 4d 85 ff 75 66 0f 1f 44 00 00 48 89 df e8 26 6a 57 08 e8 21 7f 2a 00 fb 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 99 10 fe ff 43 80 3c RSP: 0018:ffffc9000326f8c8 EFLAGS: 00000282 RAX: e8625eace59a9b00 RBX: ffff8880b903a300 RCX: e8625eace59a9b00 RDX: dffffc0000000000 RSI: ffffffff8a0b11c0 RDI: ffffffff8a59a740 RBP: 1ffff1101720760b R08: dffffc0000000000 R09: fffffbfff1ff362d R10: fffffbfff1ff362d R11: 1ffffffff1ff362c R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff8157f220 R15: 0000000000000000 finish_task_switch+0x12f/0x640 kernel/sched/core.c:4902 context_switch kernel/sched/core.c:5033 [inline] __schedule+0x11c0/0x43b0 kernel/sched/core.c:6376 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] ext4_discard_preallocations+0x74b/0xf60 fs/ext4/mballoc.c:5113 ext4_release_file+0x167/0x310 fs/ext4/file.c:149 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f939036f929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffaaa701b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9390598ba0 RCX: 00007f939036f929 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f9390598ba0 R08: 0000000000000150 R09: 00000013aaa704af R10: 00007f9390598ac0 R11: 0000000000000246 R12: 0000000000017880 R13: 00007f9390597160 R14: ffffffffffffffff R15: 00007fffaaa702d0 ---------------- Code disassembly (best guess): 0: be ff ff ff ff mov $0xffffffff,%esi 5: e8 2c 0e 4e 08 call 0x84e0e36 a: 85 c0 test %eax,%eax c: 74 4a je 0x58 e: 4d 85 ff test %r15,%r15 11: 75 66 jne 0x79 13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 18: 48 89 df mov %rbx,%rdi 1b: e8 26 6a 57 08 call 0x8576a46 20: e8 21 7f 2a 00 call 0x2a7f46 25: fb sti 26: 48 83 c4 08 add $0x8,%rsp * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: c3 ret 35: 48 89 df mov %rbx,%rdi 38: e8 99 10 fe ff call 0xfffe10d6 3d: 43 rex.XB 3e: 80 .byte 0x80 3f: 3c .byte 0x3c