------------[ cut here ]------------
WARNING: CPU: 1 PID: 5072 at net/mac80211/tx.c:4877 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4877 [inline]
WARNING: CPU: 1 PID: 5072 at net/mac80211/tx.c:4877 __ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5101
Modules linked in:
CPU: 1 PID: 5072 Comm: kworker/u4:16 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4877 [inline]
RIP: 0010:__ieee80211_beacon_get+0x178a/0x1ff0 net/mac80211/tx.c:5101
Code: 25 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 92 91 25 f8 0f 0b e9 16 ef ff ff e8 86 91 25 f8 <0f> 0b e9 7c f2 ff ff e8 ba b1 6d 00 89 d9 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90000dd08c0 EFLAGS: 00010246
RAX: ffffffff8953831a RBX: ffff888076f3ac00 RCX: ffff8880269fbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000dd0af8 R08: ffff8880269fbb80 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: f8f8f8f8f8f8f8f8
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920001ba128
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555815d6a38 CR3: 000000002302f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x48/0x840 net/mac80211/tx.c:5220
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:stack_trace_consume_entry+0x62/0x270 kernel/stacktrace.c:89
Code: 4d 89 f5 49 c1 ed 03 41 0f b6 44 15 00 84 c0 0f 85 1d 01 00 00 45 3b 0e 73 3a 48 8d 5f 0c 49 89 df 49 c1 ef 03 41 0f b6 04 17 <84> c0 0f 85 42 01 00 00 44 8b 23 45 85 e4 74 21 41 ff cc 41 0f b6
RSP: 0018:ffffc900038cf298 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffffc900038cf3ac RCX: 0000000080000001
RDX: dffffc0000000000 RSI: ffffffff81be2bdf RDI: ffffc900038cf3a0
RBP: 1ffff92000719e76 R08: ffffc900038cf3b0 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000719e69 R12: ffff8880269fbb80
R13: 1ffff92000719e75 R14: ffffc900038cf3a8 R15: 1ffff92000719e75
arch_stack_walk+0x100/0x140 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc mm/kasan/common.c:513 [inline]
__kasan_kmalloc+0xaf/0xe0 mm/kasan/common.c:522
kmalloc include/linux/slab.h:612 [inline]
kzalloc include/linux/slab.h:738 [inline]
ieee802_11_parse_elems_crc+0xb3/0x1090 net/mac80211/util.c:1478
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2243 [inline]
ieee80211_bss_info_update+0x74d/0xa80 net/mac80211/scan.c:212
ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline]
ieee80211_ibss_rx_queued_mgmt+0x1763/0x2b50 net/mac80211/ibss.c:1643
ieee80211_iface_process_skb net/mac80211/iface.c:1465 [inline]
ieee80211_iface_work+0x714/0xc50 net/mac80211/iface.c:1519
cfg80211_wiphy_work+0x224/0x260 net/wireless/core.c:433
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
----------------
Code disassembly (best guess):
0: 4d 89 f5 mov %r14,%r13
3: 49 c1 ed 03 shr $0x3,%r13
7: 41 0f b6 44 15 00 movzbl 0x0(%r13,%rdx,1),%eax
d: 84 c0 test %al,%al
f: 0f 85 1d 01 00 00 jne 0x132
15: 45 3b 0e cmp (%r14),%r9d
18: 73 3a jae 0x54
1a: 48 8d 5f 0c lea 0xc(%rdi),%rbx
1e: 49 89 df mov %rbx,%r15
21: 49 c1 ef 03 shr $0x3,%r15
25: 41 0f b6 04 17 movzbl (%r15,%rdx,1),%eax
* 2a: 84 c0 test %al,%al <-- trapping instruction
2c: 0f 85 42 01 00 00 jne 0x174
32: 44 8b 23 mov (%rbx),%r12d
35: 45 85 e4 test %r12d,%r12d
38: 74 21 je 0x5b
3a: 41 ff cc dec %r12d
3d: 41 rex.B
3e: 0f .byte 0xf
3f: b6 .byte 0xb6