------------[ cut here ]------------
WARNING: CPU: 0 PID: 4590 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline]
WARNING: CPU: 0 PID: 4590 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5075
Modules linked in:
CPU: 0 PID: 4590 Comm: syz.0.63 Not tainted 5.15.186-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 71 f6 41 f8 0f 0b 4c 8b 74 24 08 e9 36 fe ff ff e8 60 f6 41 f8 0f 0b e9 3c ef ff ff e8 54 f6 41 f8 <0f> 0b e9 b8 f2 ff ff e8 88 d0 6b 00 44 89 e1 80 e1 07 80 c1 03 38
RSP: 0018:ffffc900000078c0 EFLAGS: 00010246
RAX: ffffffff8935ccbc RBX: ffff88805f024c80 RCX: ffff88807b5d9dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007ae8 R08: ffff88807b5d9dc0 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888076757800
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28
FS: 00007fb0693b56c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000010e030 CR3: 000000005a04c000 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:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
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:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_is_held_type+0x64/0x190 kernel/locking/lockdep.c:5662
Code: 00 00 00 65 48 8b 1d bb cf 60 76 83 bb ec 0a 00 00 00 0f 85 df 00 00 00 41 89 f7 49 89 fe 48 c7 04 24 00 00 00 00 9c 8f 04 24 <4c> 8b 2c 24 fa 48 c7 c7 c0 1f 0b 8a e8 4b 0e 00 00 65 ff 05 c4 d8
RSP: 0018:ffffc9000480f438 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88807b5d9dc0 RCX: ffff88807b5d9dc0
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8c11c060
RBP: 00000000ffffffff R08: ffffffff8880dcd1 R09: 0000000000000000
R10: fffff52000901f04 R11: 1ffff92000901f00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffffff8c11c060 R15: 00000000ffffffff
lock_is_held include/linux/lockdep.h:287 [inline]
___might_sleep+0xf2/0x600 kernel/sched/core.c:9605
__mutex_lock_common+0xc1/0x2390 kernel/locking/mutex.c:573
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
__unix_dgram_recvmsg+0x1e1/0xd50 net/unix/af_unix.c:2301
____sys_recvmsg+0x291/0x580 net/socket.c:-1
___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697
do_recvmmsg+0x344/0x7a0 net/socket.c:2791
__sys_recvmmsg net/socket.c:2870 [inline]
__do_sys_recvmmsg net/socket.c:2893 [inline]
__se_sys_recvmmsg net/socket.c:2886 [inline]
__x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886
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:0x7fb06a166929
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:00007fb0693b5038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fb06a38e080 RCX: 00007fb06a166929
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fb06a1e8b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fb06a38e080 R15: 00007ffc38435f88
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 65 48 add %ah,0x48(%rbp)
5: 8b 1d bb cf 60 76 mov 0x7660cfbb(%rip),%ebx # 0x7660cfc6
b: 83 bb ec 0a 00 00 00 cmpl $0x0,0xaec(%rbx)
12: 0f 85 df 00 00 00 jne 0xf7
18: 41 89 f7 mov %esi,%r15d
1b: 49 89 fe mov %rdi,%r14
1e: 48 c7 04 24 00 00 00 movq $0x0,(%rsp)
25: 00
26: 9c pushf
27: 8f 04 24 pop (%rsp)
* 2a: 4c 8b 2c 24 mov (%rsp),%r13 <-- trapping instruction
2e: fa cli
2f: 48 c7 c7 c0 1f 0b 8a mov $0xffffffff8a0b1fc0,%rdi
36: e8 4b 0e 00 00 call 0xe86
3b: 65 gs
3c: ff .byte 0xff
3d: 05 .byte 0x5
3e: c4 .byte 0xc4
3f: d8 .byte 0xd8