------------[ cut here ]------------
WARNING: CPU: 0 PID: 6911 at net/mac80211/tx.c:5033 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5033 [inline]
WARNING: CPU: 0 PID: 6911 at net/mac80211/tx.c:5033 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5444
Modules linked in:
CPU: 0 PID: 6911 Comm: syz.0.265 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5033 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5444
Code: f7 4c 89 ef e8 70 d3 ba f7 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 cb f1 7c f7 0f 0b e9 61 f8 ff ff e8 bf f1 7c f7 <0f> 0b e9 85 fb ff ff e8 b3 f1 7c f7 48 c7 c7 00 ae 65 8e 4c 89 e6
RSP: 0018:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff8a09f3b1 RBX: dffffc0000000000 RCX: ffff88802e353c00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88802e353c00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805d6a6440
R13: ffff88805d592c24 R14: ffff88805d6a6930 R15: ffff88805d592c00
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd5ee227dac CR3: 000000000cf32000 CR4: 00000000003506f0
Call Trace:
ieee80211_beacon_get_tim+0xbf/0x580 net/mac80211/tx.c:5571
ieee80211_beacon_get include/net/mac80211.h:5440 [inline]
mac80211_hwsim_beacon_tx+0x3bd/0x770 drivers/net/wireless/virtual/mac80211_hwsim.c:2265
__iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:766
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:802
mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2295
__run_hrtimer kernel/time/hrtimer.c:1754 [inline]
__hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4a 09 d3 f6 48 89 df e8 f2 dc d3 f6 e8 cd d6 f7 f6 fb bf 01 00 00 00 12 ed c6 f6 65 8b 05 e3 3b 6e 75 85 c0 74 02 5b c3 e8 90 20 6b
RSP: 0018:ffffc9001a007378 EFLAGS: 00000286
RAX: e36bc81901641a00 RBX: ffff8880254e4708 RCX: e36bc81901641a00
RDX: dffffc0000000000 RSI: ffffffff8acacb60 RDI: 0000000000000001
RBP: ffffc9001a007630 R08: ffffffff911e7517 R09: 1ffffffff223cea2
R10: dffffc0000000000 R11: fffffbfff223cea3 R12: dffffc0000000000
R13: 1ffff11004a9c8e0 R14: ffff8880254e4700 R15: ffff8880254e4708
spin_unlock_irq include/linux/spinlock.h:401 [inline]
filemap_remove_folio+0xf9/0x2c0 mm/filemap.c:258
truncate_inode_folio+0x5d/0x70 mm/truncate.c:195
shmem_undo_range+0x3f0/0x1a80 mm/shmem.c:1022
shmem_truncate_range mm/shmem.c:1135 [inline]
shmem_evict_inode+0x285/0xa70 mm/shmem.c:1264
evict+0x4b7/0x8a0 fs/inode.c:705
__dentry_kill+0x412/0x630 fs/dcache.c:611
dentry_kill+0xb8/0x290 fs/dcache.c:-1
dput+0xfe/0x1e0 fs/dcache.c:918
__fput+0x5b2/0x940 fs/file_table.c:426
task_work_run+0x1d4/0x260 kernel/task_work.c:245
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0x986/0x2530 kernel/exit.c:884
do_group_exit+0x22d/0x2f0 kernel/exit.c:1026
get_signal+0x12a6/0x1390 kernel/signal.c:2903
arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
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:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f866ed9de59
Code: Unable to access opcode bytes at 0x7f866ed9de2f.
RSP: 002b:00007f866fc44028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: 0000000000010106 RBX: 00007f866f026090 RCX: 00007f866ed9de59
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000005
RBP: 00007f866ee33e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f866f026128 R14: 00007f866f026090 R15: 00007fff190af828
----------------
Code disassembly (best guess):
0: 00 f3 add %dh,%bl
2: 0f 1e fa nop %edx
5: 53 push %rbx
6: 48 89 fb mov %rdi,%rbx
9: 48 83 c7 18 add $0x18,%rdi
d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
12: e8 4a 09 d3 f6 call 0xf6d30961
17: 48 89 df mov %rbx,%rdi
1a: e8 f2 dc d3 f6 call 0xf6d3dd11
1f: e8 cd d6 f7 f6 call 0xf6f7d6f1
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 12 ed c6 f6 call 0xf6c6ed41 <-- trapping instruction
2f: 65 8b 05 e3 3b 6e 75 mov %gs:0x756e3be3(%rip),%eax # 0x756e3c19
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5b pop %rbx
3b: c3 ret
3c: e8 .byte 0xe8
3d: 90 nop
3e: 20 .byte 0x20
3f: 6b .byte 0x6b