------------[ cut here ]------------
WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline], CPU#1: syz.9.803/11907
WARNING: net/mac80211/tx.c:5024 at __ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453, CPU#1: syz.9.803/11907
Modules linked in:
CPU: 1 UID: 0 PID: 11907 Comm: syz.9.803 Not tainted 6.16.0-rc2-next-20250616-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5024 [inline]
RIP: 0010:__ieee80211_beacon_get+0x125d/0x1630 net/mac80211/tx.c:5453
Code: e7 e8 27 f2 2f f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 78 fe ff ff e8 92 bf d6 f6 90 0f 0b 90 e9 e0 f7 ff ff e8 84 bf d6 f6 90 <0f> 0b 90 e9 38 fb ff ff e8 76 bf d6 f6 48 c7 c7 a0 5c 79 8f 4c 89
RSP: 0000:ffffc90000a089f8 EFLAGS: 00010246
RAX: ffffffff8ae9aaac RBX: ffffffff8ae99886 RCX: ffff8880254c1e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff8880254c1e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888057086500
R13: dffffc0000000000 R14: ffff8880570869d0 R15: ffff888058186024
FS: 0000000000000000(0000) GS:ffff888125d40000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd624370000 CR3: 000000000df38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0xb4/0x2b0 net/mac80211/tx.c:5580
ieee80211_beacon_get include/net/mac80211.h:5638 [inline]
mac80211_hwsim_beacon_tx+0x3ce/0x860 drivers/net/wireless/virtual/mac80211_hwsim.c:2319
__iterate_interfaces+0x2a8/0x590 net/mac80211/util.c:761
ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:797
mac80211_hwsim_beacon+0xbb/0x1c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2353
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x529/0xc60 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842
handle_softirqs+0x283/0x870 kernel/softirq.c:579
__do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:check_kcov_mode kernel/kcov.c:194 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:246 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x37/0x90 kernel/kcov.c:321
Code: 08 00 9e 92 65 8b 15 08 91 dd 10 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 3c 16 00 00 00 74 4e 8b 91 18 16 00 00 <83> fa 03 75 43 48 8b 91 20 16 00 00 44 8b 89 1c 16 00 00 49 c1 e1
RSP: 0000:ffffc9000bc172c8 EFLAGS: 00000246
RAX: ffffffff821345b0 RBX: ffffea0000c673c0 RCX: ffff8880254c1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffea0000c673c7 R09: 1ffffd400018ce78
R10: dffffc0000000000 R11: fffff9400018ce79 R12: 0000000000000000
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffea0000c673c0
_compound_head include/linux/page-flags.h:282 [inline]
__folio_rmap_sanity_checks+0x120/0x700 include/linux/rmap.h:430
__folio_remove_rmap mm/rmap.c:1694 [inline]
folio_remove_rmap_ptes+0x3b/0xaf0 mm/rmap.c:1804
zap_present_folio_ptes mm/memory.c:1547 [inline]
zap_present_ptes mm/memory.c:1608 [inline]
do_zap_pte_range mm/memory.c:1709 [inline]
zap_pte_range mm/memory.c:1753 [inline]
zap_pmd_range mm/memory.c:1845 [inline]
zap_pud_range mm/memory.c:1874 [inline]
zap_p4d_range mm/memory.c:1895 [inline]
unmap_page_range+0x1e59/0x41c0 mm/memory.c:1916
unmap_single_vma mm/memory.c:1959 [inline]
unmap_vmas+0x399/0x580 mm/memory.c:2003
exit_mmap+0x248/0xb50 mm/mmap.c:1284
__mmput+0x118/0x420 kernel/fork.c:1120
exit_mm+0x1da/0x2c0 kernel/exit.c:581
do_exit+0x648/0x22e0 kernel/exit.c:947
do_group_exit+0x21c/0x2d0 kernel/exit.c:1100
get_signal+0x1286/0x1340 kernel/signal.c:3034
arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7ace38e929
Code: Unable to access opcode bytes at 0x7f7ace38e8ff.
RSP: 002b:00007f7acc1f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: 0000000000010106 RBX: 00007f7ace5b6080 RCX: 00007f7ace38e929
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f7ace410b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f7ace5b6080 R15: 00007ffdb04f0738
----------------
Code disassembly (best guess):
0: 08 00 or %al,(%rax)
2: 9e sahf
3: 92 xchg %eax,%edx
4: 65 8b 15 08 91 dd 10 mov %gs:0x10dd9108(%rip),%edx # 0x10dd9113
b: 81 e2 00 01 ff 00 and $0xff0100,%edx
11: 74 11 je 0x24
13: 81 fa 00 01 00 00 cmp $0x100,%edx
19: 75 57 jne 0x72
1b: 83 b9 3c 16 00 00 00 cmpl $0x0,0x163c(%rcx)
22: 74 4e je 0x72
24: 8b 91 18 16 00 00 mov 0x1618(%rcx),%edx
* 2a: 83 fa 03 cmp $0x3,%edx <-- trapping instruction
2d: 75 43 jne 0x72
2f: 48 8b 91 20 16 00 00 mov 0x1620(%rcx),%rdx
36: 44 8b 89 1c 16 00 00 mov 0x161c(%rcx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1