------------[ cut here ]------------
WARNING: CPU: 0 PID: 10480 at net/mac80211/tx.c:4970 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4970 [inline]
WARNING: CPU: 0 PID: 10480 at net/mac80211/tx.c:4970 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5371
Modules linked in:
CPU: 0 PID: 10480 Comm: syz.1.1568 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4970 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5371
Code: f7 4c 89 ef e8 90 49 04 f8 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 5b 7b cb f7 0f 0b e9 61 f8 ff ff e8 4f 7b cb f7 <0f> 0b e9 85 fb ff ff e8 43 7b cb f7 48 c7 c7 00 bd db 8e 4c 89 e6
RSP: 0018:ffffc90000007a48 EFLAGS: 00010246
RAX: ffffffff89b6cb31 RBX: dffffc0000000000 RCX: ffff888047afda00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888047afda00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888027fc2228
R13: ffff88801ebe5024 R14: ffff888027fc2760 R15: ffff88801ebe5000
FS: 00007f46993016c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000006c0 CR3: 000000007a34d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x63/0x4e0 net/mac80211/tx.c:5498
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:lock_acquire+0x226/0x4a0 kernel/locking/lockdep.c:5794
Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3c 04 f8 0f 85 ef 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 43 c7 44 3c 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc90005896c00 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 26bb955a2ceb8000
RDX: 0000000000000000 RSI: ffffffff8a8c2b20 RDI: ffffffff8adf7160
RBP: ffffc90005896d10 R08: dffffc0000000000 R09: 1ffffffff2326848
R10: dffffc0000000000 R11: fffffbfff2326849 R12: 1ffff92000b12d8c
R13: 0000000000000000 R14: 0000000000000246 R15: dffffc0000000000
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock include/linux/rcupdate.h:791 [inline]
percpu_ref_put_many include/linux/percpu-refcount.h:330 [inline]
percpu_ref_put+0x35/0x180 include/linux/percpu-refcount.h:351
css_put include/linux/cgroup.h:407 [inline]
__mem_cgroup_charge+0x52/0x80 mm/memcontrol.c:6951
mem_cgroup_charge include/linux/memcontrol.h:672 [inline]
shmem_add_to_page_cache+0x8d7/0x1c90 mm/shmem.c:708
shmem_get_folio_gfp+0x1663/0x35e0 mm/shmem.c:1971
shmem_get_folio mm/shmem.c:2072 [inline]
shmem_write_begin+0xee/0x3f0 mm/shmem.c:2556
generic_perform_write+0x2fa/0x5c0 mm/filemap.c:3862
__generic_file_write_iter+0x148/0x2a0 mm/filemap.c:3960
generic_file_write_iter+0xab/0x2e0 mm/filemap.c:3989
__kernel_write_iter+0x298/0x690 fs/read_write.c:517
dump_emit_page fs/coredump.c:950 [inline]
dump_user_range+0x40a/0x840 fs/coredump.c:977
elf_core_dump+0x30ca/0x3630 fs/binfmt_elf.c:2354
do_coredump+0x16c1/0x2480 fs/coredump.c:824
get_signal+0x1093/0x1340 kernel/signal.c:2870
arch_do_signal_or_restart+0xc4/0x1310 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:319
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1485
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f469839e561
Code: 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 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:fffffffffffffe70 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f4698625fa0 RCX: 00007f469839e559
RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000
RBP: 00007f4698435ab8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f4698626038 R14: 00007f4698625fa0 R15: 00007ffe6d470508
----------------
Code disassembly (best guess):
0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp)
7: 00 02 00 00
b: 43 c6 44 3c 04 f8 movb $0xf8,0x4(%r12,%r15,1)
11: 0f 85 ef 00 00 00 jne 0x106
17: 41 f7 c6 00 02 00 00 test $0x200,%r14d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 04 3c 00 00 00 movq $0x0,(%r12,%r15,1) <-- trapping instruction
31: 00
32: 43 c7 44 3c 08 00 00 movl $0x0,0x8(%r12,%r15,1)
39: 00 00
3b: 65 gs
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 04 25 add $0x25,%al