------------[ cut here ]------------ WARNING: CPU: 1 PID: 6415 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 1 PID: 6415 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 1 UID: 0 PID: 6415 Comm: syz.0.127 Not tainted 6.13.0-rc3-syzkaller-00136-g8faabc041a00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] RIP: 0010:__ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Code: e8 13 0f 64 f6 eb 0d e8 0c 0f 64 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 2c 45 bc f6 45 31 ed e9 4c fe ff ff e8 ef 0e 64 f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 e1 0e 64 f6 90 0f 0b 90 e9 e8 f8 ff ff RSP: 0018:ffffc90000a189e0 EFLAGS: 00010246 RAX: ffffffff8b3b64b1 RBX: 0000000000000000 RCX: ffff88802db8da00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b3b5bad R09: ffffffff8b3b55b0 R10: 0000000000000003 R11: ffff88802db8da00 R12: ffff88807f1ee500 R13: ffff888075b20400 R14: ffff88807f1ee9d0 R15: ffff88807f1ecd80 FS: 00007efd973dc6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c309f70 CR3: 0000000067b6e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596 ieee80211_beacon_get include/net/mac80211.h:5635 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311 __iterate_interfaces+0x297/0x570 net/mac80211/util.c:758 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:794 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 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+0xa6/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+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 2e ed 3f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 d3 26 aa f5 65 8b 05 44 79 40 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900103b7460 EFLAGS: 00000206 RAX: 7581b1c4a5fed200 RBX: 1ffff92002076e90 RCX: ffffffff817b270a RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc900103b74f8 R08: ffffffff94270937 R09: 1ffffffff284e126 R10: dffffc0000000000 R11: fffffbfff284e127 R12: dffffc0000000000 R13: 1ffff92002076e8c R14: ffffc900103b7480 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] prepare_to_wait_exclusive+0xd0/0x230 kernel/sched/wait.c:256 unix_wait_for_peer+0x162/0x340 net/unix/af_unix.c:1520 unix_dgram_sendmsg+0x127f/0x1f80 net/unix/af_unix.c:2131 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:726 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583 ___sys_sendmsg net/socket.c:2637 [inline] __sys_sendmmsg+0x36a/0x720 net/socket.c:2726 __do_sys_sendmmsg net/socket.c:2753 [inline] __se_sys_sendmmsg net/socket.c:2750 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2750 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd96585d29 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:00007efd973dc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007efd96775fa0 RCX: 00007efd96585d29 RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000006 RBP: 00007efd96601aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efd96775fa0 R15: 00007ffc199c6008 ---------------- 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 2e ed 3f f6 call 0xf63fed42 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 d3 26 aa f5 call 0xf5aa2702 <-- trapping instruction 2f: 65 8b 05 44 79 40 74 mov %gs:0x74407944(%rip),%eax # 0x7440797a 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