------------[ cut here ]------------
WARNING: CPU: 0 PID: 6751 at net/mac80211/tx.c:5040 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline]
WARNING: CPU: 0 PID: 6751 at net/mac80211/tx.c:5040 __ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469
Modules linked in:
CPU: 0 UID: 0 PID: 6751 Comm: syz-executor217 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5040 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1202/0x15c0 net/mac80211/tx.c:5469
Code: e8 e3 a8 58 f6 eb 0d e8 dc a8 58 f6 4c 8b bc 24 98 00 00 00 4c 89 ef e8 dc 5e b3 f6 45 31 ed e9 4c fe ff ff e8 bf a8 58 f6 90 <0f> 0b 90 e9 00 f7 ff ff e8 b1 a8 58 f6 90 0f 0b 90 e9 e8 f8 ff ff
RSP: 0018:ffffc900000079e0 EFLAGS: 00010246
RAX: ffffffff8b46b361 RBX: 0000000000000000 RCX: ffff888033608000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8b46aa5d R09: ffffffff8b46a460
R10: 0000000000000003 R11: ffff888033608000 R12: ffff88807911e500
R13: ffff88802464a800 R14: ffff88807911e9d0 R15: ffff88807911cd80
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27f9ecc030 CR3: 0000000074e1e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5596
ieee80211_beacon_get include/net/mac80211.h:5635 [inline]
mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2311
__iterate_interfaces+0x297/0x570 net/mac80211/util.c:758
ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:794
mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2345
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__preempt_count_add kernel/rcu/tree.c:733 [inline]
RIP: 0010:rcu_is_watching+0x4/0xb0 kernel/rcu/tree.c:736
Code: 8e e8 d0 f2 78 03 eb cd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <41> 57 41 56 53 65 ff 05 68 e2 7e 7e e8 fb 0f 47 0a 89 c3 83 f8 08
RSP: 0018:ffffc9000b9e72e8 EFLAGS: 00000257
RAX: 0000000000000001 RBX: 0000000001b3ae80 RCX: ffffffff81f7487f
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9019d9b0
RBP: 0000000000000000 R08: ffffffff9019d9b7 R09: 1ffffffff2033b36
R10: dffffc0000000000 R11: fffffbfff2033b37 R12: 0000000000000000
R13: ffffea0001b3ae80 R14: dffffc0000000000 R15: ffffea0001b3ae88
trace_mm_page_free include/trace/events/kmem.h:136 [inline]
free_pages_prepare mm/page_alloc.c:1055 [inline]
free_unref_folios+0x20e/0x18b0 mm/page_alloc.c:2705
folios_put_refs+0x76c/0x860 mm/swap.c:987
folio_batch_release include/linux/pagevec.h:101 [inline]
shmem_undo_range+0x593/0x1820 mm/shmem.c:1108
shmem_truncate_range mm/shmem.c:1220 [inline]
shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1348
evict+0x4e8/0x9a0 fs/inode.c:796
__dentry_kill+0x20d/0x630 fs/dcache.c:625
dput+0x19f/0x2b0 fs/dcache.c:867
__fput+0x5ba/0xa50 fs/file_table.c:458
task_work_run+0x24f/0x310 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xa2f/0x28e0 kernel/exit.c:938
do_group_exit+0x207/0x2c0 kernel/exit.c:1087
__do_sys_exit_group kernel/exit.c:1098 [inline]
__se_sys_exit_group kernel/exit.c:1096 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096
x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f27f9e4a5e9
Code: Unable to access opcode bytes at 0x7f27f9e4a5bf.
RSP: 002b:00007fffcdfcf478 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f27f9e4a5e9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f27f9eca150 R08: ffffffffffffffb8 R09: ffffffffffffffff
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f27f9eca150
R13: 0000000000000000 R14: 00007f27f9ecbc20 R15: 00007f27f9e12bd0
----------------
Code disassembly (best guess):
0: 8e e8 mov %eax,%gs
2: d0 f2 shl %dl
4: 78 03 js 0x9
6: eb cd jmp 0xffffffd5
8: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
f: 00 00 00
12: 0f 1f 40 00 nopl 0x0(%rax)
16: 90 nop
17: 90 nop
18: 90 nop
19: 90 nop
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: f3 0f 1e fa endbr64
* 2a: 41 57 push %r15 <-- trapping instruction
2c: 41 56 push %r14
2e: 53 push %rbx
2f: 65 ff 05 68 e2 7e 7e incl %gs:0x7e7ee268(%rip) # 0x7e7ee29e
36: e8 fb 0f 47 0a call 0xa471036
3b: 89 c3 mov %eax,%ebx
3d: 83 f8 08 cmp $0x8,%eax