------------[ cut here ]------------
WARNING: CPU: 0 PID: 5477 at net/mac80211/tx.c:4934 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4934 [inline]
WARNING: CPU: 0 PID: 5477 at net/mac80211/tx.c:4934 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5255
Modules linked in:
CPU: 0 PID: 5477 Comm: syz.1.210 Not tainted 6.1.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4934 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5255
Code: ff ff ff e8 80 6b ec f7 0f 0b 48 8b 7c 24 20 e8 34 cc 7f fe e9 dd e9 ff ff e8 6a 6b ec f7 0f 0b e9 f1 ee ff ff e8 5e 6b ec f7 <0f> 0b e9 61 f2 ff ff e8 52 6b ec f7 48 c7 c7 30 92 d9 8d 4c 89 f6
RSP: 0018:ffffc900000078a0 EFLAGS: 00010246
RAX: ffffffff89946bb2 RBX: 0000000000000000 RCX: ffff88802d543b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007aa8 R08: ffff88802d543b80 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff92000000f2c
R13: dffffc0000000000 R14: ffff8880260c2258 R15: ffff88802534d200
FS: 00007f36b6f2d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000002c0 CR3: 000000007e358000 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:5342
ieee80211_beacon_get include/net/mac80211.h:5262 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2086
__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:2142
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x522/0xc80 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1772
handle_softirqs+0x2a1/0x920 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:661
irq_exit_rcu+0x5/0x20 kernel/softirq.c:673
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: f5 ff 0f 1f 00 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ee 3e 4a f7 48 89 df e8 46 04 4b f7 e8 b1 06 6e f7 fb bf 01 00 00 00 56 81 3e f7 65 8b 05 f7 42 e9 75 85 c0 74 02 5b c3 e8 44 54 e7
RSP: 0018:ffffc90003d76d50 EFLAGS: 00000282
RAX: 7de82f7583a29d00 RBX: ffff8880779b5bd0 RCX: 7de82f7583a29d00
RDX: dffffc0000000000 RSI: ffffffff8a6c0000 RDI: 0000000000000001
RBP: ffffc90003d76ee0 R08: dffffc0000000000 R09: fffffbfff211705d
R10: fffffbfff211705d R11: 1ffffffff211705c R12: 0000000000000cc0
R13: 00000003fffffffc R14: ffffc90003d76e20 R15: 0000000000000000
spin_unlock_irq include/linux/spinlock.h:401 [inline]
shmem_add_to_page_cache+0xa5e/0x1c00 mm/shmem.c:740
shmem_get_folio_gfp+0x158b/0x3400 mm/shmem.c:1971
shmem_get_folio mm/shmem.c:2072 [inline]
shmem_write_begin+0xee/0x3f0 mm/shmem.c:2556
generic_perform_write+0x2db/0x560 mm/filemap.c:3846
__generic_file_write_iter+0x172/0x430 mm/filemap.c:3974
generic_file_write_iter+0xab/0x2e0 mm/filemap.c:4006
__kernel_write_iter+0x26d/0x630 fs/read_write.c:517
dump_emit_page fs/coredump.c:881 [inline]
dump_user_range+0x3ea/0x7f0 fs/coredump.c:908
elf_core_dump+0x2f77/0x3490 fs/binfmt_elf.c:2313
do_coredump+0x1573/0x21f0 fs/coredump.c:755
get_signal+0x10aa/0x1350 kernel/signal.c:2857
arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:316
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1490
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f36b618e971
Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000fffffe10 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f36b63b5fa0 RCX: 00007f36b618e969
RDX: 0000000000000000 RSI: 00000000fffffe10 RDI: 0000000000000000
RBP: 00007f36b6210ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f36b63b5fa0 R15: 00007ffd6c68fde8
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 0f 1f 00 nopl (%rax)
3: 53 push %rbx
4: 48 89 fb mov %rdi,%rbx
7: 48 83 c7 18 add $0x18,%rdi
b: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
10: e8 ee 3e 4a f7 call 0xf74a3f03
15: 48 89 df mov %rbx,%rdi
18: e8 46 04 4b f7 call 0xf74b0463
1d: e8 b1 06 6e f7 call 0xf76e06d3
22: fb sti
23: bf 01 00 00 00 mov $0x1,%edi
* 28: e8 56 81 3e f7 call 0xf73e8183 <-- trapping instruction
2d: 65 8b 05 f7 42 e9 75 mov %gs:0x75e942f7(%rip),%eax # 0x75e9432b
34: 85 c0 test %eax,%eax
36: 74 02 je 0x3a
38: 5b pop %rbx
39: c3 ret
3a: e8 .byte 0xe8
3b: 44 54 rex.R push %rsp
3d: e7 .byte 0xe7