------------[ cut here ]------------
WARNING: CPU: 0 PID: 7427 at net/mac80211/tx.c:5031 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
WARNING: CPU: 0 PID: 7427 at net/mac80211/tx.c:5031 __ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Modules linked in:
CPU: 0 PID: 7427 Comm: syz.3.413 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Code: 24 4c 89 e7 e8 9e cc d3 f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 7a fe ff ff e8 c9 a3 96 f7 0f 0b e9 f6 f7 ff ff e8 bd a3 96 f7 <0f> 0b e9 48 fb ff ff e8 b1 a3 96 f7 48 c7 c7 60 07 24 8e 4c 89 e6
RSP: 0018:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff89eeebd3 RBX: ffffffff89eed9d6 RCX: ffff888020ed0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888020ed0000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805bb723c0
R13: dffffc0000000000 R14: ffff88805bb728b0 R15: ffff88805bd23824
FS: 00007f6e642e16c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002e034000 CR4: 00000000003506f0
Call Trace:
ieee80211_beacon_get_tim+0xb8/0x560 net/mac80211/tx.c:5569
ieee80211_beacon_get include/net/mac80211.h:5440 [inline]
mac80211_hwsim_beacon_tx+0x3c7/0x780 drivers/net/wireless/virtual/mac80211_hwsim.c:2265
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:766
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:802
mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2295
__run_hrtimer kernel/time/hrtimer.c:1750 [inline]
__hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1814
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1831
handle_softirqs+0x280/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:lock_acquire+0x1f2/0x410 kernel/locking/lockdep.c:5758
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 66 43 c7 44 3c 09 00 00 43 c6 44 3c 0b 00
RSP: 0018:ffffc9000bd97900 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: f8fd4f56bdd30d00
RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffffffff8afc6b00
RBP: ffffc9000bd97a08 R08: dffffc0000000000 R09: 1ffffffff21b50a6
R10: dffffc0000000000 R11: fffffbfff21b50a7 R12: 1ffff920017b2f2c
R13: ffff88802dd994a0 R14: 0000000000000246 R15: dffffc0000000000
__might_fault+0xc6/0x120 mm/memory.c:5946
_copy_from_user+0x2a/0xe0 lib/usercopy.c:14
copy_from_user include/linux/uaccess.h:183 [inline]
copy_msghdr_from_user net/socket.c:2525 [inline]
recvmsg_copy_msghdr net/socket.c:2780 [inline]
___sys_recvmsg+0x12f/0x510 net/socket.c:2852
do_recvmmsg+0x360/0x7d0 net/socket.c:2950
__sys_recvmmsg net/socket.c:3029 [inline]
__do_sys_recvmmsg net/socket.c:3052 [inline]
__se_sys_recvmmsg net/socket.c:3045 [inline]
__x64_sys_recvmmsg+0x191/0x240 net/socket.c:3045
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6e6338f6c9
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:00007f6e642e1038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f6e635e6090 RCX: 00007f6e6338f6c9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007f6e63411f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6e635e6128 R14: 00007f6e635e6090 R15: 00007ffdad9917b8
----------------
Code disassembly (best guess):
0: 00 9c 8f 84 24 80 00 add %bl,0x802484(%rdi,%rcx,4)
7: 00 00 add %al,(%rax)
9: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp)
10: 02
11: 0f 85 f5 00 00 00 jne 0x10c
17: 41 f7 c6 00 02 00 00 test $0x200,%r14d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 04 3c 00 00 00 movq $0x0,(%r12,%r15,1) <-- trapping instruction
31: 00
32: 66 43 c7 44 3c 09 00 movw $0x0,0x9(%r12,%r15,1)
39: 00
3a: 43 c6 44 3c 0b 00 movb $0x0,0xb(%r12,%r15,1)