------------[ cut here ]------------
WARNING: CPU: 0 PID: 6232 at net/mac80211/tx.c:4890 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4890 [inline]
WARNING: CPU: 0 PID: 6232 at net/mac80211/tx.c:4890 __ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5114
Modules linked in:
CPU: 0 PID: 6232 Comm: syz.1.490 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4890 [inline]
RIP: 0010:__ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5114
Code: 1b f8 0f 0b 4f 89 64 2f 04 4f 89 64 2f 0c 43 c6 44 2f 14 f8 e9 19 fe ff ff e8 f2 bb 1b f8 0f 0b e9 16 ef ff ff e8 e6 bb 1b f8 <0f> 0b e9 7c f2 ff ff e8 9a fb 6d 00 89 d9 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc900000078c0 EFLAGS: 00010246
RAX: ffffffff895d9b8a RBX: ffff888021661400 RCX: ffff888025a78000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007af8 R08: ffff888025a78000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: f8f8f8f8f8f8f8f8
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28
FS: 00007fc2e43b16c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000284030 CR3: 000000001f9f8000 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:5233
ieee80211_beacon_get include/net/mac80211.h:4983 [inline]
mac80211_hwsim_beacon_tx+0x104/0x900 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x225/0x4c0 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:1685 [inline]
__hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 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: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+0x84/0x290 mm/kasan/generic.c:189
Code: 49 c1 e9 03 4b 8d 1c 21 49 89 df 4d 29 df 49 83 ff 10 7f 29 4d 85 ff 0f 84 38 01 00 00 4c 89 cb 48 f7 d3 4c 01 f3 41 80 3b 00 <0f> 85 86 01 00 00 49 ff c3 48 ff c3 75 ee e9 18 01 00 00 44 89 dd
RSP: 0018:ffffc9000354fb50 EFLAGS: 00000246
RAX: 0000000000000001 RBX: ffffffffffffffff RCX: ffffffff815d9b44
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e6d62e8
RBP: ffffc9000354fc90 R08: ffffffff8e6d62ef R09: 1ffffffff1cdac5d
R10: dffffc0000000000 R11: fffffbfff1cdac5d R12: dffffc0000000001
R13: dffffc0000000000 R14: 1ffffffff1cdac5d R15: 0000000000000001
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:344 [inline]
cpu_online include/linux/cpumask.h:895 [inline]
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0xa4/0x8a0 kernel/locking/lockdep.c:5762
do_recvmmsg+0x389/0x7f0 net/socket.c:2807
__sys_recvmmsg net/socket.c:2880 [inline]
__do_sys_recvmmsg net/socket.c:2903 [inline]
__se_sys_recvmmsg net/socket.c:2896 [inline]
__x64_sys_recvmmsg+0x195/0x250 net/socket.c:2896
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:0x7fc2e6185a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc2e43b1028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fc2e6412098 RCX: 00007fc2e6185a99
RDX: 0000000000010106 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007fc2e621518b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc2e6412130 R14: 00007fc2e6412098 R15: 00007fff3f1bb558
----------------
Code disassembly (best guess):
0: 49 c1 e9 03 shr $0x3,%r9
4: 4b 8d 1c 21 lea (%r9,%r12,1),%rbx
8: 49 89 df mov %rbx,%r15
b: 4d 29 df sub %r11,%r15
e: 49 83 ff 10 cmp $0x10,%r15
12: 7f 29 jg 0x3d
14: 4d 85 ff test %r15,%r15
17: 0f 84 38 01 00 00 je 0x155
1d: 4c 89 cb mov %r9,%rbx
20: 48 f7 d3 not %rbx
23: 4c 01 f3 add %r14,%rbx
26: 41 80 3b 00 cmpb $0x0,(%r11)
* 2a: 0f 85 86 01 00 00 jne 0x1b6 <-- trapping instruction
30: 49 ff c3 inc %r11
33: 48 ff c3 inc %rbx
36: 75 ee jne 0x26
38: e9 18 01 00 00 jmp 0x155
3d: 44 89 dd mov %r11d,%ebp