------------[ cut here ]------------
WARNING: CPU: 1 PID: 6205 at net/mac80211/tx.c:5031 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
WARNING: CPU: 1 PID: 6205 at net/mac80211/tx.c:5031 __ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Modules linked in:
CPU: 1 PID: 6205 Comm: syz.1.97 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5031 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5442
Code: 24 4c 89 e7 e8 0e 88 d4 f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 7a fe ff ff e8 19 65 97 f7 0f 0b e9 f6 f7 ff ff e8 0d 65 97 f7 <0f> 0b e9 48 fb ff ff e8 01 65 97 f7 48 c7 c7 a0 09 24 8e 4c 89 e6
RSP: 0018:ffffc900001f0a18 EFLAGS: 00010246
RAX: ffffffff89ee2a93 RBX: ffffffff89ee1896 RCX: ffff888018b38000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888018b38000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805d4163c0
R13: dffffc0000000000 R14: ffff88805d4168b0 R15: ffff888031003424
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c443e46 CR3: 000000000cb30000 CR4: 00000000003506e0
Call Trace:
ieee80211_beacon_get_tim+0xb8/0x560 net/mac80211/tx.c:5569
ieee80211_beacon_get include/net/mac80211.h:5440 [inline]
mac80211_hwsim_beacon_tx+0x3c7/0x780 drivers/net/wireless/virtual/mac80211_hwsim.c:2265
__iterate_interfaces+0x243/0x500 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:1755 [inline]
__hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
handle_softirqs+0x280/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xc7/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:check_kcov_mode kernel/kcov.c:193 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:245 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x36/0x80 kernel/kcov.c:320
Code: 10 26 7e 7e 65 8b 15 11 26 7e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 4e 8b 91 f8 15 00 00 <83> fa 03 75 43 48 8b 91 00 16 00 00 44 8b 89 fc 15 00 00 49 c1 e1
RSP: 0018:ffffc90005987478 EFLAGS: 00000246
RAX: ffffffff81b68444 RBX: ffffea0001689300 RCX: ffff888018b38000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffffd40002d1260 R08: ffffea0001689307 R09: 1ffffd40002d1260
R10: dffffc0000000000 R11: fffff940002d1261 R12: 00fff8000008002c
R13: 1ffffd40002d1261 R14: dffffc0000000000 R15: ffffea0001689308
constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
arch_test_bit arch/x86/include/asm/bitops.h:239 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline]
folio_test_reclaim include/linux/page-flags.h:538 [inline]
folio_mark_dirty+0xb4/0x330 mm/page-writeback.c:2801
zap_pte_range mm/memory.c:1442 [inline]
zap_pmd_range mm/memory.c:1570 [inline]
zap_pud_range mm/memory.c:1599 [inline]
zap_p4d_range mm/memory.c:1620 [inline]
unmap_page_range+0xf09/0x2fe0 mm/memory.c:1641
unmap_vmas+0x25e/0x3a0 mm/memory.c:1731
exit_mmap+0x200/0xb50 mm/mmap.c:3302
__mmput+0x118/0x3c0 kernel/fork.c:1355
exit_mm+0x1da/0x2c0 kernel/exit.c:569
do_exit+0x88e/0x23c0 kernel/exit.c:870
do_group_exit+0x21b/0x2d0 kernel/exit.c:1024
get_signal+0x12fc/0x1400 kernel/signal.c:2902
arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 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:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1fba78ebe9
Code: Unable to access opcode bytes at 0x7f1fba78ebbf.
RSP: 002b:00007f1fbb6a1038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: 0000000000010106 RBX: 00007f1fba9c6090 RCX: 00007f1fba78ebe9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f1fba811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1fba9c6128 R14: 00007f1fba9c6090 R15: 00007fff05262af8
----------------
Code disassembly (best guess):
0: 10 26 adc %ah,(%rsi)
2: 7e 7e jle 0x82
4: 65 8b 15 11 26 7e 7e mov %gs:0x7e7e2611(%rip),%edx # 0x7e7e261c
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 1c 16 00 00 00 cmpl $0x0,0x161c(%rcx)
22: 74 4e je 0x72
24: 8b 91 f8 15 00 00 mov 0x15f8(%rcx),%edx
* 2a: 83 fa 03 cmp $0x3,%edx <-- trapping instruction
2d: 75 43 jne 0x72
2f: 48 8b 91 00 16 00 00 mov 0x1600(%rcx),%rdx
36: 44 8b 89 fc 15 00 00 mov 0x15fc(%rcx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1