------------[ cut here ]------------ WARNING: CPU: 0 PID: 5194 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 0 PID: 5194 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 5194 Comm: syz.5.221 Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 91 50 42 f8 0f 0b 4c 8b 74 24 08 e9 36 fe ff ff e8 80 50 42 f8 0f 0b e9 3c ef ff ff e8 74 50 42 f8 <0f> 0b e9 b8 f2 ff ff e8 58 bf 6b 00 44 89 e1 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900000078c0 EFLAGS: 00010246 RAX: ffffffff89356d9c RBX: ffff88805ff5cc80 RCX: ffff888029728000 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007ae8 R08: ffff888029728000 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: ffff88807d278600 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28 FS: 00007ff9a3ccb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000b000 CR3: 000000005ba21000 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:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 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 7c d2 4d 08 85 c0 74 4a 4d 85 ff 75 66 e9 fe 00 00 00 48 89 df e8 66 2e 57 08 e8 11 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:ffffc9000322f708 EFLAGS: 00000282 RAX: a36d3a6fac69c700 RBX: ffff8880b903a300 RCX: a36d3a6fac69c700 RDX: dffffc0000000000 RSI: ffffffff8a0b0fc0 RDI: ffffffff8a59a2c0 RBP: 1ffff1101720760b R08: dffffc0000000000 R09: ffffed1017207461 R10: ffffed1017207461 R11: 1ffff11017207460 R12: ffff8880b903b048 R13: dffffc0000000000 R14: ffff8880b903adc8 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 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 snd_rawmidi_write+0x3e3/0xbc0 sound/core/rawmidi.c:1542 do_loop_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x3e4/0x7b0 fs/read_write.c:857 vfs_writev fs/read_write.c:928 [inline] do_writev+0x254/0x410 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7ff9a5e63969 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:00007ff9a3ccb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007ff9a608afa0 RCX: 00007ff9a5e63969 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000007 RBP: 00007ff9a5ee5ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff9a608afa0 R15: 00007ffc3d6a4078 ---------------- Code disassembly (best guess): 0: be ff ff ff ff mov $0xffffffff,%esi 5: e8 7c d2 4d 08 call 0x84dd286 a: 85 c0 test %eax,%eax c: 74 4a je 0x58 e: 4d 85 ff test %r15,%r15 11: 75 66 jne 0x79 13: e9 fe 00 00 00 jmp 0x116 18: 48 89 df mov %rbx,%rdi 1b: e8 66 2e 57 08 call 0x8572e86 20: e8 11 7f 2a 00 call 0x2a7f36 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