------------[ cut here ]------------
WARNING: CPU: 0 PID: 10488 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline]
WARNING: CPU: 0 PID: 10488 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265
Modules linked in:
CPU: 0 PID: 10488 Comm: syz.9.1252 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 00 41 e4 f7 0f 0b 48 8b 7c 24 20 e8 44 ae 7f fe e9 dd e9 ff ff e8 ea 40 e4 f7 0f 0b e9 f1 ee ff ff e8 de 40 e4 f7 <0f> 0b e9 61 f2 ff ff e8 d2 40 e4 f7 48 c7 c7 f0 7a fa 8d 4c 89 f6
RSP: 0018:ffffc900000078a0 EFLAGS: 00010246
RAX: ffffffff899c8f42 RBX: 0000000000000000 RCX: ffff88805689d940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007aa8 R08: ffff88805689d940 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff92000000f2c
R13: dffffc0000000000 R14: ffff88805555a258 R15: ffff888077a04c00
FS: 00007fca1efc26c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33e1fff8 CR3: 00000000277b6000 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:1752 [inline]
__hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816
hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833
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:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189
Code: 5c 37 ff 48 c1 eb 03 4e 8d 14 3b 4d 89 d6 4d 29 ce 49 83 fe 10 7f 26 4d 85 f6 0f 84 39 01 00 00 48 f7 d3 4c 01 db 41 80 39 00 <0f> 85 c1 01 00 00 49 ff c1 48 ff c3 75 ee e9 1c 01 00 00 44 89 cb
RSP: 0018:ffffc90003d07720 EFLAGS: 00000246
RAX: ffff888059df5001 RBX: ffffffffffffffff RCX: ffffffff88d78008
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888059df5060
RBP: ffffc90003d078d0 R08: dffffc0000000000 R09: ffffed100b3bea0c
R10: ffffed100b3bea0d R11: 1ffff1100b3bea0c R12: 0000000000000000
R13: 1ffff920007a0ef8 R14: 0000000000000001 R15: dffffc0000000001
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
sock_flag include/net/sock.h:990 [inline]
__unix_dgram_recvmsg+0x698/0xd70 net/unix/af_unix.c:2494
____sys_recvmsg+0x292/0x580 net/socket.c:-1
___sys_recvmsg+0x1b2/0x510 net/socket.c:2780
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:0x7fca1e18ebe9
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:00007fca1efc2038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fca1e3c6090 RCX: 00007fca1e18ebe9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fca1e211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fca1e3c6128 R14: 00007fca1e3c6090 R15: 00007ffed600b218
----------------
Code disassembly (best guess), 2 bytes skipped:
0: ff 48 c1 decl -0x3f(%rax)
3: eb 03 jmp 0x8
5: 4e 8d 14 3b lea (%rbx,%r15,1),%r10
9: 4d 89 d6 mov %r10,%r14
c: 4d 29 ce sub %r9,%r14
f: 49 83 fe 10 cmp $0x10,%r14
13: 7f 26 jg 0x3b
15: 4d 85 f6 test %r14,%r14
18: 0f 84 39 01 00 00 je 0x157
1e: 48 f7 d3 not %rbx
21: 4c 01 db add %r11,%rbx
24: 41 80 39 00 cmpb $0x0,(%r9)
* 28: 0f 85 c1 01 00 00 jne 0x1ef <-- trapping instruction
2e: 49 ff c1 inc %r9
31: 48 ff c3 inc %rbx
34: 75 ee jne 0x24
36: e9 1c 01 00 00 jmp 0x157
3b: 44 89 cb mov %r9d,%ebx