------------[ cut here ]------------ WARNING: CPU: 0 PID: 6142 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] WARNING: CPU: 0 PID: 6142 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265 Modules linked in: CPU: 0 PID: 6142 Comm: syz.3.351 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] RIP: 0010:__ieee80211_beacon_get+0x1952/0x1f50 net/mac80211/tx.c:5265 Code: ff ff ff e8 30 36 e4 f7 0f 0b 48 8b 7c 24 20 e8 d4 a4 7f fe e9 dd e9 ff ff e8 1a 36 e4 f7 0f 0b e9 f1 ee ff ff e8 0e 36 e4 f7 <0f> 0b e9 61 f2 ff ff e8 02 36 e4 f7 48 c7 c7 f0 7e fa 8d 4c 89 f6 RSP: 0018:ffffc900000078a0 EFLAGS: 00010246 RAX: ffffffff899c9a82 RBX: 0000000000000000 RCX: ffff888077ee3b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007aa8 R08: ffff888077ee3b80 R09: 0000000000000003 R10: 0000000000000007 R11: 0000000000000100 R12: 1ffff92000000f2c R13: dffffc0000000000 R14: ffff888054386258 R15: ffff88802b972c00 FS: 00007ff4a31e76c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4991f6000 CR3: 0000000060005000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0x5b/0x4d0 net/mac80211/tx.c:5352 ieee80211_beacon_get include/net/mac80211.h:5264 [inline] mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2091 __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:2147 __run_hrtimer kernel/time/hrtimer.c:1752 [inline] __hrtimer_run_queues+0x554/0xd60 kernel/time/hrtimer.c:1816 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1833 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 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:clear_page_erms+0x9/0x10 arch/x86/lib/clear_page_64.S:51 Code: 47 18 48 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d9 90 c3 90 90 90 90 90 90 90 b9 00 10 00 00 31 c0 f3 aa 90 90 90 90 90 90 89 c8 48 c1 e9 03 74 18 0f 1f 84 00 00 00 00 RSP: 0018:ffffc90003217358 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888070c06000 RSI: 0000000000000001 RDI: ffff888070c07000 RBP: 0000000000140cca R08: dffffc0000000000 R09: ffffed100e180c00 R10: fffff94000386037 R11: 1ffffd4000386036 R12: 0000000000000001 R13: 0000000000000000 R14: ffffea0001c30180 R15: 0000000000000001 clear_page arch/x86/include/asm/page_64.h:58 [inline] clear_highpage include/linux/highmem.h:242 [inline] clear_highpage_kasan_tagged include/linux/highmem.h:252 [inline] kernel_init_pages mm/page_alloc.c:1381 [inline] post_alloc_hook+0x12c/0x1a0 mm/page_alloc.c:2527 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328 __alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5614 __folio_alloc+0xe/0x30 mm/page_alloc.c:5646 vma_alloc_folio+0x4a3/0x900 mm/mempolicy.c:2243 shmem_alloc_folio mm/shmem.c:1589 [inline] shmem_alloc_and_acct_folio+0x42e/0xb60 mm/shmem.c:1613 shmem_get_folio_gfp+0x1361/0x3400 mm/shmem.c:1941 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 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x44c/0x960 fs/read_write.c:584 ksys_write+0x143/0x240 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff4a238d65f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007ff4a31e6df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007ff4a238d65f RDX: 0000000001000000 RSI: 00007ff4981f7000 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000004445 R10: 000020000000cd02 R11: 0000000000000293 R12: 0000000000000004 R13: 00007ff4a31e6ef0 R14: 00007ff4a31e6eb0 R15: 00007ff4981f7000 ---------------- Code disassembly (best guess): 0: 47 18 48 89 rex.RXB sbb %r9b,-0x77(%r8) 4: 47 20 48 89 rex.RXB and %r9b,-0x77(%r8) 8: 47 28 48 89 rex.RXB sub %r9b,-0x77(%r8) c: 47 30 48 89 rex.RXB xor %r9b,-0x77(%r8) 10: 47 38 48 8d rex.RXB cmp %r9b,-0x73(%r8) 14: 7f 40 jg 0x56 16: 75 d9 jne 0xfffffff1 18: 90 nop 19: c3 ret 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: b9 00 10 00 00 mov $0x1000,%ecx 26: 31 c0 xor %eax,%eax 28: f3 aa rep stos %al,%es:(%rdi) * 2a: c3 ret <-- trapping instruction 2b: 90 nop 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 89 c8 mov %ecx,%eax 33: 48 c1 e9 03 shr $0x3,%rcx 37: 74 18 je 0x51 39: 0f .byte 0xf 3a: 1f (bad) 3b: 84 00 test %al,(%rax) 3d: 00 00 add %al,(%rax)