------------[ cut here ]------------
WARNING: CPU: 1 PID: 4891 at net/mac80211/tx.c:5003 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5003 [inline]
WARNING: CPU: 1 PID: 4891 at net/mac80211/tx.c:5003 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5405
Modules linked in:
CPU: 1 PID: 4891 Comm: kworker/u4:16 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5003 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5405
Code: f7 4c 89 ef e8 f0 e2 fe f7 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 6b ed c5 f7 0f 0b e9 61 f8 ff ff e8 5f ed c5 f7 <0f> 0b e9 85 fb ff ff e8 53 ed c5 f7 48 c7 c7 a0 54 fd 8e 4c 89 e6
RSP: 0018:ffffc900001e0a48 EFLAGS: 00010246
RAX: ffffffff89bca5f1 RBX: dffffc0000000000 RCX: ffff888031740000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888031740000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888061ada208
R13: ffff88803268d824 R14: ffff888061ada740 R15: ffff88803268d800
FS: 0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f883ddf1360 CR3: 0000000049663000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x63/0x4e0 net/mac80211/tx.c:5532
ieee80211_beacon_get include/net/mac80211.h:5338 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2097
__iterate_interfaces+0x225/0x4c0 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:2153
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 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:strnlen+0x39/0x80 lib/string.c:519
Code: f6 74 5e 4c 8d 34 37 49 bf 00 00 00 00 00 fc ff df 48 89 fb 48 89 f8 48 89 d9 48 c1 e9 03 42 0f b6 0c 39 84 c9 75 12 80 38 00 <74> 35 48 ff c0 48 ff c3 48 ff ce 75 e0 eb 25 89 da 80 e2 07 38 ca
RSP: 0018:ffffc900036875d0 EFLAGS: 00000202
RAX: ffff8880317408b0 RBX: ffff8880317408b0 RCX: 0000000000000000
RDX: 1ffffffff214c208 RSI: 0000000000000010 RDI: ffff8880317408b0
RBP: 000000000000131b R08: ffffffff90a61048 R09: ffffffff90a61058
R10: ffffffff90a61050 R11: ffffffff90a61043 R12: 0000007c4bb27084
R13: dffffc0000000000 R14: ffff8880317408c0 R15: dffffc0000000000
strnlen include/linux/fortify-string.h:174 [inline]
strscpy include/linux/fortify-string.h:254 [inline]
__set_page_owner_handle+0x1db/0x3c0 mm/page_owner.c:175
__set_page_owner+0x41/0x60 mm/page_owner.c:195
set_page_owner include/linux/page_owner.h:31 [inline]
post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2561
prep_new_page mm/page_alloc.c:2568 [inline]
get_page_from_freelist+0x208b/0x21a0 mm/page_alloc.c:4368
__alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5668
alloc_slab_page+0x5d/0x180 mm/slub.c:1805
allocate_slab mm/slub.c:1950 [inline]
new_slab+0x87/0x2d0 mm/slub.c:2003
___slab_alloc+0xbc5/0x1240 mm/slub.c:3161
__slab_alloc mm/slub.c:3247 [inline]
slab_alloc_node mm/slub.c:3332 [inline]
__kmem_cache_alloc_node+0x126/0x270 mm/slub.c:3405
__do_kmalloc_node mm/slab_common.c:935 [inline]
__kmalloc_node_track_caller+0xa0/0x240 mm/slab_common.c:956
kmalloc_reserve net/core/skbuff.c:446 [inline]
__alloc_skb+0x226/0x7d0 net/core/skbuff.c:515
alloc_skb include/linux/skbuff.h:1304 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline]
nsim_dev_trap_report_work+0x24f/0xa80 drivers/net/netdevsim/dev.c:851
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: f6 74 5e 4c divb 0x4c(%rsi,%rbx,2)
4: 8d 34 37 lea (%rdi,%rsi,1),%esi
7: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
e: fc ff df
11: 48 89 fb mov %rdi,%rbx
14: 48 89 f8 mov %rdi,%rax
17: 48 89 d9 mov %rbx,%rcx
1a: 48 c1 e9 03 shr $0x3,%rcx
1e: 42 0f b6 0c 39 movzbl (%rcx,%r15,1),%ecx
23: 84 c9 test %cl,%cl
25: 75 12 jne 0x39
27: 80 38 00 cmpb $0x0,(%rax)
* 2a: 74 35 je 0x61 <-- trapping instruction
2c: 48 ff c0 inc %rax
2f: 48 ff c3 inc %rbx
32: 48 ff ce dec %rsi
35: 75 e0 jne 0x17
37: eb 25 jmp 0x5e
39: 89 da mov %ebx,%edx
3b: 80 e2 07 and $0x7,%dl
3e: 38 ca cmp %cl,%dl