------------[ cut here ]------------ WARNING: CPU: 0 PID: 5632 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline] WARNING: CPU: 0 PID: 5632 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469 Modules linked in: CPU: 0 UID: 0 PID: 5632 Comm: syz.2.9359 Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 33 1a 5c f6 eb 0d e8 2c 1a 5c f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 7c dc b6 f6 45 31 ed e9 4c fe ff ff e8 0f 1a 5c f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 01 1a 5c f6 90 0f 0b 90 e9 e8 f8 ff ff RSP: 0018:ffffc900000079e0 EFLAGS: 00010246 RAX: ffffffff8b4359e1 RBX: 0000000000000000 RCX: ffff888057881e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8b4350dd R09: ffffffff8b434ae0 R10: 0000000000000003 R11: ffff888057881e00 R12: ffff888090e1a500 R13: ffff88809384a400 R14: ffff888090e1a9d0 R15: ffff888090e18d80 FS: 00007fafb69106c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020390030 CR3: 000000006d752000 CR4: 0000000000350ef0 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+0x299/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+0x59d/0xd30 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2d6/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:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc90004b3f918 EFLAGS: 00000206 RAX: 2466f9270b4c5b00 RBX: 0000000000000000 RCX: ffff888057881e00 RDX: 0000000000000000 RSI: ffffffff8c0aa960 RDI: ffffffff8c5faee0 RBP: ffffc90004b3fa70 R08: ffffffff8989a8bc R09: 1ffffffff2032fae R10: dffffc0000000000 R11: fffffbfff2032faf R12: 0000000000000246 R13: ffff888057881e00 R14: 00000000ffffffff R15: ffffffff8e937b40 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0xa5/0x780 kernel/sched/core.c:8720 do_recvmmsg+0x7f4/0xab0 net/socket.c:2974 __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:0x7fafb5b85d29 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:00007fafb6910038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fafb5d75fa0 RCX: 00007fafb5b85d29 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000006 RBP: 00007fafb5c01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fafb5d75fa0 R15: 00007ffec0e35ec8 ---------------- Code disassembly (best guess): 0: 75 44 jne 0x46 2: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) 9: 00 a: 9c pushf b: 8f 04 24 pop (%rsp) e: f7 04 24 00 02 00 00 testl $0x200,(%rsp) 15: 75 4c jne 0x63 17: 41 f7 c4 00 02 00 00 test $0x200,%r12d 1e: 74 01 je 0x21 20: fb sti 21: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 28: 00 00 * 2a: 48 3b 44 24 08 cmp 0x8(%rsp),%rax <-- trapping instruction 2f: 75 42 jne 0x73 31: 89 d8 mov %ebx,%eax 33: 48 83 c4 10 add $0x10,%rsp 37: 5b pop %rbx 38: 41 5c pop %r12 3a: 41 5d pop %r13 3c: 41 5e pop %r14 3e: 41 5f pop %r15