------------[ cut here ]------------
WARNING: CPU: 1 PID: 4607 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline]
WARNING: CPU: 1 PID: 4607 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265
Modules linked in:
CPU: 1 PID: 4607 Comm: syz.2.59 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:ffffc900001e08a0 EFLAGS: 00010246
RAX: ffffffff899d0342 RBX: 0000000000000000 RCX: ffff88802ab1bb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900001e0aa8 R08: ffff88802ab1bb80 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff9200003c12c
R13: dffffc0000000000 R14: ffff8880553b6258 R15: ffff88807cceb200
FS: 00007f2c0f5c16c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c35ca63 CR3: 00000000740fb000 CR4: 00000000003506e0
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:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:379 [inline]
RIP: 0010:__rcu_read_lock+0x25/0x50 kernel/rcu/tree_plugin.h:402
Code: f4 fa ff ff 90 53 65 48 8b 1d 77 92 96 7e 48 81 c3 3c 04 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 11 ff 03 8b 03 3d 00 00 00 40 7d 02 5b c3 0f 0b eb fa 89
RSP: 0018:ffffc900052cf468 EFLAGS: 00000a03
RAX: 0000000000000000 RBX: ffff88802ab1bfbc RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88805467e010
RBP: ffffc900052cf550 R08: dffffc0000000000 R09: fffffbfff215c44f
R10: fffffbfff215c44f R11: 1ffffffff215c44e R12: 0000000000000001
R13: 1ffffd4000298008 R14: 0000000000000001 R15: ffff88805467e010
rcu_read_lock include/linux/rcupdate.h:789 [inline]
percpu_ref_get_many+0x12/0x140 include/linux/percpu-refcount.h:202
percpu_ref_get include/linux/percpu-refcount.h:222 [inline]
css_get include/linux/cgroup.h:327 [inline]
charge_memcg+0x150/0x380 mm/memcontrol.c:6927
__mem_cgroup_charge+0x21/0x80 mm/memcontrol.c:6944
mem_cgroup_charge include/linux/memcontrol.h:672 [inline]
shmem_add_to_page_cache+0x8fc/0x1c00 mm/shmem.c:708
shmem_get_folio_gfp+0x158b/0x3400 mm/shmem.c:1971
shmem_fault+0x1be/0x7b0 mm/shmem.c:2156
__do_fault+0x13b/0x4e0 mm/memory.c:4280
do_read_fault mm/memory.c:4631 [inline]
do_fault mm/memory.c:4760 [inline]
handle_pte_fault mm/memory.c:5031 [inline]
__handle_mm_fault mm/memory.c:5173 [inline]
handle_mm_fault+0x28bf/0x3e60 mm/memory.c:5294
faultin_page mm/gup.c:1026 [inline]
__get_user_pages+0x3ff/0xeb0 mm/gup.c:1250
populate_vma_page_range+0x214/0x2b0 mm/gup.c:1607
__mm_populate+0x248/0x370 mm/gup.c:1721
mm_populate include/linux/mm.h:2891 [inline]
vm_mmap_pgoff+0x203/0x2b0 mm/util.c:525
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:0x7f2c0e78efc9
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:00007f2c0f5c1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f2c0e9e5fa0 RCX: 00007f2c0e78efc9
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f2c0e811f91 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2c0e9e6038 R14: 00007f2c0e9e5fa0 R15: 00007ffeb8013b58
----------------
Code disassembly (best guess), 3 bytes skipped:
0: ff 90 53 65 48 8b call *-0x74b79aad(%rax)
6: 1d 77 92 96 7e sbb $0x7e969277,%eax
b: 48 81 c3 3c 04 00 00 add $0x43c,%rbx
12: 48 89 d8 mov %rbx,%rax
15: 48 c1 e8 03 shr $0x3,%rax
19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
20: fc ff df
23: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax
* 27: 84 c0 test %al,%al <-- trapping instruction
29: 75 11 jne 0x3c
2b: ff 03 incl (%rbx)
2d: 8b 03 mov (%rbx),%eax
2f: 3d 00 00 00 40 cmp $0x40000000,%eax
34: 7d 02 jge 0x38
36: 5b pop %rbx
37: c3 ret
38: 0f 0b ud2
3a: eb fa jmp 0x36
3c: 89 .byte 0x89