------------[ cut here ]------------ WARNING: CPU: 1 PID: 5231 at net/mac80211/tx.c:5034 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5034 [inline] WARNING: CPU: 1 PID: 5231 at net/mac80211/tx.c:5034 __ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5461 Modules linked in: CPU: 1 PID: 5231 Comm: syz-executor908 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5034 [inline] RIP: 0010:__ieee80211_beacon_get+0x1200/0x15c0 net/mac80211/tx.c:5461 Code: e8 75 57 ac f6 eb 0d e8 6e 57 ac f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 ce 07 01 f7 45 31 ed e9 4e fe ff ff e8 51 57 ac f6 90 <0f> 0b 90 e9 02 f7 ff ff e8 43 57 ac f6 90 0f 0b 90 e9 ea f8 ff ff RSP: 0018:ffffc90000a08a00 EFLAGS: 00010246 RAX: ffffffff8ae89cff RBX: 0000000000000000 RCX: ffff88807d560000 RDX: 0000000080000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8ae893fd R09: ffffffff8ae88e00 R10: 0000000000000003 R11: ffff88807d560000 R12: ffff8880247822d0 R13: ffff888011012c00 R14: ffff888024782750 R15: ffff888024780ca0 FS: 00007fa52d9216c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020318030 CR3: 000000001e3dc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5588 ieee80211_beacon_get include/net/mac80211.h:5552 [inline] mac80211_hwsim_beacon_tx+0x398/0x7e0 drivers/net/wireless/virtual/mac80211_hwsim.c:2296 __iterate_interfaces+0x223/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2326 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x595/0xd00 kernel/time/hrtimer.c:1756 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1773 __do_softirq+0x2bc/0x943 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 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:ffffc900048778d8 EFLAGS: 00000206 RAX: 2df9fcb877926700 RBX: 0000000000000000 RCX: ffff88807d560000 RDX: 0000000000000000 RSI: ffffffff8baad360 RDI: ffffffff8bfdff00 RBP: ffffc90004877a40 R08: ffffffff81df1941 R09: 1ffff9200090eed0 R10: dffffc0000000000 R11: fffff5200090eed1 R12: 0000000000000246 R13: ffff88807d560000 R14: 00000000ffffffff R15: ffffffff8e131fa0 lock_is_held include/linux/lockdep.h:231 [inline] __might_resched+0xf4/0x780 kernel/sched/core.c:10149 __might_fault+0x72/0x120 mm/memory.c:6077 do_recvmmsg+0x5e1/0xae0 net/socket.c:2945 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3034 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fa52d988dc9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa52d921228 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fa52da12378 RCX: 00007fa52d988dc9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fa52da12370 R08: 0000000000000000 R09: 00007fa52d9216c0 R10: 0000000000000002 R11: 0000000000000246 R12: 00007fa52da1237c R13: 00007fa52d9df1b4 R14: 0031313230386c6e R15: 00007ffdca70c2a8 ---------------- 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