------------[ cut here ]------------
WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline], CPU#1: syz.4.1748/11222
WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453, CPU#1: syz.4.1748/11222
Modules linked in:
CPU: 1 UID: 0 PID: 11222 Comm: syz.4.1748 Not tainted 6.16.0-rc2-next-20250616-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline]
RIP: 0010:__ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453
Code: e7 e8 27 f2 2f f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 78 fe ff ff e8 92 bf d6 f6 90 0f 0b 90 e9 e0 f7 ff ff e8 84 bf d6 f6 90 <0f> 0b 90 e9 38 fb ff ff e8 76 bf d6 f6 48 c7 c7 a0 5c 79 8f 4c 89
RSP: 0018:ffffc90000a089f8 EFLAGS: 00010246
RAX: ffffffff8ae9aaac RBX: ffffffff8ae99886 RCX: ffff88802d6b8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88802d6b8000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88806bc02500
R13: dffffc0000000000 R14: ffff88806bc029d0 R15: ffff888056d74c24
FS: 00007f38c3a346c0(0000) GS:ffff888125d40000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f38c3a33f98 CR3: 0000000029644000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb4/0x2b0 net/mac80211/tx.c:5580
ieee80211_beacon_get include/net/mac80211.h:5638 [inline]
mac80211_hwsim_beacon_tx+0x3ce/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2319
__iterate_interfaces+0x2a8/0x590 net/mac80211/util.c:761
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:797
mac80211_hwsim_beacon+0xbb/0x1c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2353
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x529/0xc60 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842
handle_softirqs+0x283/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:127 [inline]
RIP: 0010:lock_is_held_type+0x65/0x190 kernel/locking/lockdep.c:5939
Code: 85 ef 00 00 00 65 4c 8b 2c 25 08 00 9e 92 41 83 bd ec 0a 00 00 00 0f 85 d8 00 00 00 89 f5 49 89 fe 48 c7 04 24 00 00 00 00 9c <8f> 04 24 4c 8b 24 24 fa 48 c7 c7 d5 f4 99 8d e8 e7 16 00 00 65 ff
RSP: 0018:ffffc9001ac6f438 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 5e0b165682939100
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e13ee20
RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffffff822c25d8
R10: dffffc0000000000 R11: fffff94000344311 R12: ffffea0001a21888
R13: ffff88802d6b8000 R14: ffffffff8e13ee20 R15: ffff88807cd60000
get_mem_cgroup_from_mm+0xca/0x2a0 mm/memcontrol.c:941
__mem_cgroup_charge+0x15/0x80 mm/memcontrol.c:4786
mem_cgroup_charge include/linux/memcontrol.h:652 [inline]
shmem_alloc_and_add_folio+0x7c1/0xf60 mm/shmem.c:1896
shmem_get_folio_gfp+0x59d/0x1660 mm/shmem.c:2532
shmem_fault+0x179/0x390 mm/shmem.c:2733
__do_fault+0x135/0x390 mm/memory.c:5187
do_read_fault mm/memory.c:5608 [inline]
do_fault mm/memory.c:5742 [inline]
do_pte_missing mm/memory.c:4269 [inline]
handle_pte_fault mm/memory.c:6087 [inline]
__handle_mm_fault+0x37ed/0x5620 mm/memory.c:6230
handle_mm_fault+0x40a/0x8e0 mm/memory.c:6399
faultin_page mm/gup.c:1186 [inline]
__get_user_pages+0x1aef/0x30b0 mm/gup.c:1488
populate_vma_page_range+0x29f/0x3a0 mm/gup.c:1922
__mm_populate+0x24c/0x380 mm/gup.c:2025
mm_populate include/linux/mm.h:3371 [inline]
vm_mmap_pgoff+0x3f0/0x4c0 mm/util.c:584
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f38c2b8e929
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:00007f38c3a34038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f38c2db5fa0 RCX: 00007f38c2b8e929
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f38c2c10b39 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f38c2db5fa0 R15: 00007ffe32db2e88
----------------
Code disassembly (best guess):
0: 85 ef test %ebp,%edi
2: 00 00 add %al,(%rax)
4: 00 65 4c add %ah,0x4c(%rbp)
7: 8b 2c 25 08 00 9e 92 mov 0xffffffff929e0008,%ebp
e: 41 83 bd ec 0a 00 00 cmpl $0x0,0xaec(%r13)
15: 00
16: 0f 85 d8 00 00 00 jne 0xf4
1c: 89 f5 mov %esi,%ebp
1e: 49 89 fe mov %rdi,%r14
21: 48 c7 04 24 00 00 00 movq $0x0,(%rsp)
28: 00
29: 9c pushf
* 2a: 8f 04 24 pop (%rsp) <-- trapping instruction
2d: 4c 8b 24 24 mov (%rsp),%r12
31: fa cli
32: 48 c7 c7 d5 f4 99 8d mov $0xffffffff8d99f4d5,%rdi
39: e8 e7 16 00 00 call 0x1725
3e: 65 gs
3f: ff .byte 0xff