------------[ cut here ]------------ WARNING: CPU: 0 PID: 12938 at net/mac80211/tx.c:4934 __ieee80211_beacon_get+0x1abc/0x2110 net/mac80211/tx.c:5255 Modules linked in: CPU: 0 PID: 12938 Comm: syz.1.3323 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4934 [inline] RIP: 0010:__ieee80211_beacon_get+0x1abc/0x2110 net/mac80211/tx.c:5255 Code: ff ff ff e8 96 af 5b f7 0f 0b 48 8b 7c 24 20 e8 ea 82 66 fe e9 6f e8 ff ff e8 80 af 5b f7 0f 0b e9 92 ed ff ff e8 74 af 5b f7 <0f> 0b e9 26 f1 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c fc e8 RSP: 0018:ffffc90000007820 EFLAGS: 00010246 RAX: ffffffff8a2edc7c RBX: 0000000000000000 RCX: ffff88802f7d3b80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007a30 R08: ffffffff8a2ecd9c R09: ffffffff8a2ec5a2 R10: 0000000000000003 R11: ffff88802f7d3b80 R12: dffffc0000000000 R13: 1ffff92000000f1c R14: ffff88806086e258 R15: ffffffff8a2ec270 FS: 00007fcfcba4a6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203da000 CR3: 0000000063c1f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb1/0x5d0 net/mac80211/tx.c:5342 ieee80211_beacon_get include/net/mac80211.h:5249 [inline] mac80211_hwsim_beacon_tx+0x1d2/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2086 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 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:kasan_check_range+0x1/0x290 mm/kasan/generic.c:188 Code: 01 c6 48 89 c7 e8 5f 22 c6 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 RSP: 0018:ffffc90003cf6dd0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffffffff813cd307 RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc90003cf6f30 RBP: ffffc90003cf6f30 R08: 0000000000000001 R09: ffffc90003cf6fd0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90003cf6ee0 R13: ffffffff8f26488e R14: 0000000000000000 R15: ffffc90003cf6f30 memset+0x1f/0x40 mm/kasan/shadow.c:44 unwind_next_frame+0xde7/0x2220 arch/x86/kernel/unwind_orc.c:546 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __set_page_owner+0x26/0x390 mm/page_owner.c:190 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2517 prep_new_page mm/page_alloc.c:2524 [inline] get_page_from_freelist+0x3731/0x38d0 mm/page_alloc.c:4313 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5589 folio_alloc+0x1a/0x50 mm/mempolicy.c:2292 filemap_alloc_folio+0xda/0x4f0 mm/filemap.c:999 __filemap_get_folio+0x749/0xe80 mm/filemap.c:1993 pagecache_get_page+0x28/0x250 mm/folio-compat.c:110 ext4_da_write_begin+0x581/0x9c0 fs/ext4/inode.c:3015 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3845 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285 ext4_file_write_iter+0x1d7/0x1930 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fcfcab7e719 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcfcba4a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fcfcad35f80 RCX: 00007fcfcab7e719 RDX: 000000000208e24b RSI: 00000000200004c0 RDI: 0000000000000004 RBP: 00007fcfcabf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcfcad35f80 R15: 00007ffef09b5ee8 ---------------- Code disassembly (best guess): 0: 01 c6 add %eax,%esi 2: 48 89 c7 mov %rax,%rdi 5: e8 5f 22 c6 08 call 0x8c62269 a: 31 c0 xor %eax,%eax c: c3 ret d: 0f 0b ud2 f: b8 ea ff ff ff mov $0xffffffea,%eax 14: c3 ret 15: 0f 0b ud2 17: b8 ea ff ff ff mov $0xffffffea,%eax 1c: c3 ret 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: 55 push %rbp * 2a: 41 57 push %r15 <-- trapping instruction 2c: 41 56 push %r14 2e: 53 push %rbx 2f: b0 01 mov $0x1,%al 31: 48 85 f6 test %rsi,%rsi 34: 0f 84 9a 01 00 00 je 0x1d4 3a: 48 89 fd mov %rdi,%rbp 3d: 48 01 f5 add %rsi,%rbp