------------[ cut here ]------------
WARNING: CPU: 0 PID: 4649 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline]
WARNING: CPU: 0 PID: 4649 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265
Modules linked in:
CPU: 0 PID: 4649 Comm: syz.0.66 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:4944 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265
Code: ff ff ff e8 40 d3 e3 f7 0f 0b 48 8b 7c 24 20 e8 04 90 7f fe e9 dd e9 ff ff e8 2a d3 e3 f7 0f 0b e9 f1 ee ff ff e8 1e d3 e3 f7 <0f> 0b e9 61 f2 ff ff e8 12 d3 e3 f7 48 c7 c7 f0 73 fa 8d 4c 89 f6
RSP: 0018:ffffc900000078a0 EFLAGS: 00010246
RAX: ffffffff899d0342 RBX: 0000000000000000 RCX: ffff88802e2a0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007aa8 R08: ffff88802e2a0000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff92000000f2c
R13: dffffc0000000000 R14: ffff88807626a258 R15: ffff88802e348800
FS: 00007ffb29c436c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffb29c42f98 CR3: 000000007e42f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x5b/0x4d0 net/mac80211/tx.c:5352
ieee80211_beacon_get include/net/mac80211.h:5264 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2091
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:788
ieee80211_iterate_active_interfaces_atomic+0xd7/0x170 net/mac80211/util.c:824
mac80211_hwsim_beacon+0xb7/0x1b0 drivers/net/wireless/mac80211_hwsim.c:2147
__run_hrtimer kernel/time/hrtimer.c:1747 [inline]
__hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1811
hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1828
handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:kasan_check_range+0x1aa/0x290 mm/kasan/generic.c:-1
Code: d9 4d 89 d6 4d 8d 56 07 4d 85 f6 4d 0f 49 d6 49 83 e2 f8 4d 29 d6 74 12 41 80 39 00 0f 85 a0 00 00 00 49 ff c1 49 ff ce 75 ee <5b> 41 5e 41 5f c3 84 db 75 61 f7 c3 00 ff 00 00 75 5e f7 c3 00 00
RSP: 0018:ffffc900053ffa30 EFLAGS: 00000256
RAX: ffffffff84072901 RBX: 0000000000000000 RCX: ffffffff84072987
RDX: 0000000000000001 RSI: 0000000000000038 RDI: ffffc900053ffae0
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000a7ff63
R10: fffff52000a7ff63 R11: 1ffff92000a7ff5c R12: 00007fffffffefc8
R13: dffffc0000000000 R14: 0000000000000007 R15: dffffc0000000001
instrument_copy_from_user_before include/linux/instrumented.h:137 [inline]
_copy_from_user+0xe7/0x170 lib/usercopy.c:22
copy_from_user include/linux/uaccess.h:161 [inline]
copy_msghdr_from_user net/socket.c:2449 [inline]
recvmsg_copy_msghdr net/socket.c:2704 [inline]
___sys_recvmsg+0x12b/0x510 net/socket.c:2776
do_recvmmsg+0x359/0x7d0 net/socket.c:2874
__sys_recvmmsg net/socket.c:2953 [inline]
__do_sys_recvmmsg net/socket.c:2976 [inline]
__se_sys_recvmmsg net/socket.c:2969 [inline]
__x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2969
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ffb28d8f749
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:00007ffb29c43038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007ffb28fe6090 RCX: 00007ffb28d8f749
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007ffb28e13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffb28fe6128 R14: 00007ffb28fe6090 R15: 00007fffa63fd708
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 4d 89 d6 mov %r10,%r14
3: 4d 8d 56 07 lea 0x7(%r14),%r10
7: 4d 85 f6 test %r14,%r14
a: 4d 0f 49 d6 cmovns %r14,%r10
e: 49 83 e2 f8 and $0xfffffffffffffff8,%r10
12: 4d 29 d6 sub %r10,%r14
15: 74 12 je 0x29
17: 41 80 39 00 cmpb $0x0,(%r9)
1b: 0f 85 a0 00 00 00 jne 0xc1
21: 49 ff c1 inc %r9
24: 49 ff ce dec %r14
27: 75 ee jne 0x17
* 29: 5b pop %rbx <-- trapping instruction
2a: 41 5e pop %r14
2c: 41 5f pop %r15
2e: c3 ret
2f: 84 db test %bl,%bl
31: 75 61 jne 0x94
33: f7 c3 00 ff 00 00 test $0xff00,%ebx
39: 75 5e jne 0x99
3b: f7 .byte 0xf7
3c: c3 ret