------------[ cut here ]------------ WARNING: CPU: 1 PID: 4139 at net/mac80211/tx.c:4849 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4849 [inline] WARNING: CPU: 1 PID: 4139 at net/mac80211/tx.c:4849 __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5073 Modules linked in: CPU: 1 PID: 4139 Comm: syz-executor245 Not tainted 5.15.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4849 [inline] pc : __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5073 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4849 [inline] lr : __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5073 sp : ffff8000080177e0 x29: ffff8000080179e0 x28: ffff800008017860 x27: ffff0000d8408dc0 x26: ffff0000d1614c80 x25: ffff700001002f0c x24: ffff800008017950 x23: dfff800000000000 x22: ffffffffffffe9e8 x21: 0000000000000000 x20: ffff0000c2024600 x19: ffff0000d1616298 x18: 0000000000000101 x17: ff80800011382f30 x16: ffff8000084c35fc x15: ffff800011382f30 x14: 0000000000000007 x13: ffffffffffffffff x12: 0000000000000100 x11: ff808000113840f4 x10: 0000000000000000 x9 : ffff8000113840f4 x8 : ffff0000cef8b680 x7 : ffff80001138d39c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4849 [inline] __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5073 ieee80211_beacon_get_tim+0xb8/0x840 net/mac80211/tx.c:5192 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0x110/0x7d4 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x204/0x484 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xd4/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa0/0x184 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x484/0xca4 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x158/0x220 kernel/time/hrtimer.c:1766 __do_softirq+0x344/0xe20 kernel/softirq.c:558 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] invoke_softirq kernel/softirq.c:439 [inline] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 irq_exit+0x14/0x88 kernel/softirq.c:660 handle_domain_irq+0xf4/0x178 kernel/irq/irqdesc.c:710 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:758 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_interrupt_handler+0x74/0x94 arch/arm64/kernel/entry-common.c:267 el1_interrupt+0x30/0x58 arch/arm64/kernel/entry-common.c:442 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:458 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:580 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] lock_page_memcg+0x130/0x244 mm/memcontrol.c:2056 page_add_file_rmap+0x148/0x8e4 mm/rmap.c:1219 do_set_pte+0x394/0x584 mm/memory.c:4039 finish_fault+0x3dc/0x8b8 mm/memory.c:4113 do_read_fault mm/memory.c:4238 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x2210/0x33c4 mm/memory.c:4854 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x39c/0x92c mm/gup.c:1197 populate_vma_page_range+0x200/0x290 mm/gup.c:1529 __mm_populate+0x278/0x41c mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x1fc/0x2b4 mm/util.c:556 ksys_mmap_pgoff+0x11c/0x668 mm/mmap.c:1624 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 28355 hardirqs last enabled at (28354): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (28354): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (28355): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (19624): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (19624): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (28259): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (28259): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (28259): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace e58aaa47c22f2f5d ]---