------------[ cut here ]------------
WARNING: CPU: 0 PID: 7171 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline]
WARNING: CPU: 0 PID: 7171 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265
Modules linked in:
CPU: 0 PID: 7171 Comm: syz.0.771 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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 50 2c eb f7 0f 0b 48 8b 7c 24 20 e8 34 6c 7f fe e9 dd e9 ff ff e8 3a 2c eb f7 0f 0b e9 f1 ee ff ff e8 2e 2c eb f7 <0f> 0b e9 61 f2 ff ff e8 22 2c eb f7 48 c7 c7 f0 11 da 8d 4c 89 f6
RSP: 0018:ffffc900000078a0 EFLAGS: 00010246
RAX: ffffffff8995b3a2 RBX: 0000000000000000 RCX: ffff88802d483b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007aa8 R08: ffff88802d483b80 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff92000000f2c
R13: dffffc0000000000 R14: ffff888055e9e258 R15: ffff888079d02800
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2b0ec0 CR3: 000000000c68e000 CR4: 00000000003506f0
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:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:244 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x80 kernel/kcov.c:299
Code: 77 1e 49 ff c0 4c 89 02 48 c7 44 0a 08 06 00 00 00 48 89 7c 0a 10 48 89 74 0a 18 48 89 44 0a 20 c3 0f 1f 44 00 00 48 8b 04 24 <65> 48 8b 15 04 8d 81 7e 65 8b 0d 05 8d 81 7e 81 e1 00 01 ff 00 74
RSP: 0018:ffffc900050672c0 EFLAGS: 00000202
RAX: ffffffff81a9962a RBX: ffffea0000e3f980 RCX: ffffffff81a9960f
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff940001c7f37
R10: fffff940001c7f37 R11: 1ffffd40001c7f36 R12: 1ffffd40001c7f31
R13: 1ffffd40001c7f30 R14: 0000000000000000 R15: dffffc0000000000
arch_atomic_sub_and_test arch/x86/include/asm/atomic.h:83 [inline]
atomic_sub_and_test include/linux/atomic/atomic-instrumented.h:568 [inline]
page_ref_sub_and_test include/linux/page_ref.h:182 [inline]
folio_ref_sub_and_test include/linux/page_ref.h:191 [inline]
folio_put_refs include/linux/mm.h:1201 [inline]
filemap_free_folio+0x1ea/0x3e0 mm/filemap.c:237
truncate_inode_folio+0x59/0x70 mm/truncate.c:195
shmem_undo_range+0x4d2/0x2050 mm/shmem.c:942
shmem_truncate_range mm/shmem.c:1062 [inline]
shmem_evict_inode+0x248/0xa40 mm/shmem.c:1171
evict+0x485/0x870 fs/inode.c:705
__dentry_kill+0x431/0x650 fs/dcache.c:611
dentry_kill+0xb8/0x290 fs/dcache.c:-1
dput+0xfa/0x1d0 fs/dcache.c:918
__fput+0x5e0/0x920 fs/file_table.c:328
task_work_run+0x1ca/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0x93e/0x2400 kernel/exit.c:880
do_group_exit+0x217/0x2d0 kernel/exit.c:1022
get_signal+0x1272/0x1350 kernel/signal.c:2871
arch_do_signal_or_restart+0xb7/0x1240 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6b6cb8f749
Code: Unable to access opcode bytes at 0x7f6b6cb8f71f.
RSP: 002b:00007f6b6d98f0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6b6cde6098 RCX: 00007f6b6cb8f749
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6b6cde6098
RBP: 00007f6b6cde6090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6b6cde6128 R14: 00007ffe0158bae0 R15: 00007ffe0158bbc8
----------------
Code disassembly (best guess):
0: 77 1e ja 0x20
2: 49 ff c0 inc %r8
5: 4c 89 02 mov %r8,(%rdx)
8: 48 c7 44 0a 08 06 00 movq $0x6,0x8(%rdx,%rcx,1)
f: 00 00
11: 48 89 7c 0a 10 mov %rdi,0x10(%rdx,%rcx,1)
16: 48 89 74 0a 18 mov %rsi,0x18(%rdx,%rcx,1)
1b: 48 89 44 0a 20 mov %rax,0x20(%rdx,%rcx,1)
20: c3 ret
21: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
26: 48 8b 04 24 mov (%rsp),%rax
* 2a: 65 48 8b 15 04 8d 81 mov %gs:0x7e818d04(%rip),%rdx # 0x7e818d36 <-- trapping instruction
31: 7e
32: 65 8b 0d 05 8d 81 7e mov %gs:0x7e818d05(%rip),%ecx # 0x7e818d3e
39: 81 e1 00 01 ff 00 and $0xff0100,%ecx
3f: 74 .byte 0x74