------------[ cut here ]------------ WARNING: CPU: 1 PID: 14157 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 1 PID: 14157 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 1 UID: 0 PID: 14157 Comm: syz.7.1383 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: 0000:ffffc90000a189e0 EFLAGS: 00010246 RAX: ffffffff8b3b64b1 RBX: 0000000000000000 RCX: ffff8880324fda00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b3b5bad R09: ffffffff8b3b55b0 R10: 0000000000000003 R11: ffff8880324fda00 R12: ffff88805928e500 R13: ffff8880303bf000 R14: ffff88805928e9d0 R15: ffff88805928cd80 FS: 00007fc8d3ed76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f99fa91cf30 CR3: 00000000323ac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 00000000872c9164 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:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5243 Code: c9 50 e8 59 0c 0c 00 48 83 c4 08 4c 89 f7 e8 ed 39 00 00 e9 de 04 00 00 4c 89 f7 e8 50 b8 54 0a e8 eb 8a 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0000:ffffc9000c797488 EFLAGS: 00000282 RAX: 0f16c65005014600 RBX: ffff8880324fda00 RCX: ffffffff9a377903 RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: ffffffff8c5edb60 RBP: ffffc9000c7974d0 R08: ffffffff901851b7 R09: 1ffffffff2030a36 R10: dffffc0000000000 R11: fffffbfff2030a37 R12: 1ffff110170e7eac R13: dffffc0000000000 R14: ffff8880b863e740 R15: ffff8880b873f560 context_switch kernel/sched/core.c:5372 [inline] __schedule+0x1803/0x4be0 kernel/sched/core.c:6756 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:__import_iovec+0x497/0x870 lib/iov_iter.c:1488 Code: 80 3c 28 00 74 13 48 89 d7 49 89 d6 e8 92 55 4a fd 4c 89 f2 4c 8b 74 24 18 48 8b 44 24 28 48 89 02 48 8b 44 24 20 80 3c 28 00 <74> 08 4c 89 e7 e8 7f 54 4a fd 31 c0 4d 3b 34 24 4c 0f 44 f0 4d 89 RSP: 0000:ffffc9000c797880 EFLAGS: 00000246 RAX: 1ffff920018f2f7c RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000c797d30 RSI: 0000000000000000 RDI: ffffc9000c797d28 RBP: dffffc0000000000 R08: ffffffff84b8f2d8 R09: ffffc9000c797d10 R10: ffffc9000c797d50 R11: fffff520018f2fac R12: ffffc9000c797be0 R13: 0000000000000000 R14: ffffc9000c797b40 R15: ffff8880324fda10 import_iovec+0xeb/0x120 lib/iov_iter.c:1521 copy_msghdr_from_user+0x52f/0x680 net/socket.c:2520 recvmsg_copy_msghdr net/socket.c:2769 [inline] ___sys_recvmsg net/socket.c:2841 [inline] do_recvmmsg+0x3bd/0xab0 net/socket.c:2940 __sys_recvmmsg net/socket.c:3014 [inline] __do_sys_recvmmsg net/socket.c:3037 [inline] __se_sys_recvmmsg net/socket.c:3030 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3030 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:0x7fc8d3185d29 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:00007fc8d3ed7038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fc8d3376080 RCX: 00007fc8d3185d29 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fc8d3201aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc8d3376080 R15: 00007fff610ae598 ---------------- Code disassembly (best guess): 0: c9 leave 1: 50 push %rax 2: e8 59 0c 0c 00 call 0xc0c60 7: 48 83 c4 08 add $0x8,%rsp b: 4c 89 f7 mov %r14,%rdi e: e8 ed 39 00 00 call 0x3a00 13: e9 de 04 00 00 jmp 0x4f6 18: 4c 89 f7 mov %r14,%rdi 1b: e8 50 b8 54 0a call 0xa54b870 20: e8 eb 8a 38 00 call 0x388b10 25: fb sti 26: 48 8b 5d c0 mov -0x40(%rbp),%rbx * 2a: 48 8d bb f8 15 00 00 lea 0x15f8(%rbx),%rdi <-- trapping instruction 31: 48 89 f8 mov %rdi,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 49 rex.WB 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah