------------[ cut here ]------------ WARNING: CPU: 0 PID: 4204 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 0 PID: 4204 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 4204 Comm: syz-executor125 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] pc : __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5075 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] lr : __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5075 sp : ffff8000080077e0 x29: ffff8000080079e0 x28: ffff800008007860 x27: ffff0000ca148dc0 x26: ffff0000d7d74c80 x25: ffff700001000f0c x24: ffff800008007950 x23: dfff800000000000 x22: ffffffffffffe9e8 x21: 0000000000000000 x20: ffff0000c1c38600 x19: ffff0000d7d76298 x18: 0000000000000100 x17: 0000000000000000 x16: ffff8000084c430c x15: 0000000000000007 x14: ffff0000ce493680 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000100 x10: 0000000000000000 x9 : ffff0000ce493680 x8 : ffff8000113c2874 x7 : ffff8000113cbb1c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5075 ieee80211_beacon_get_tim+0xb8/0x840 net/mac80211/tx.c:5194 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:1686 [inline] __hrtimer_run_queues+0x484/0xca4 kernel/time/hrtimer.c:1750 hrtimer_run_softirq+0x158/0x21c kernel/time/hrtimer.c:1767 __do_softirq+0x344/0xdb0 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+0x264/0x4d4 kernel/softirq.c:637 irq_exit+0x14/0x88 kernel/softirq.c:661 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:454 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 arch_local_irq_enable arch/arm64/include/asm/irqflags.h:35 [inline] charge_memcg+0x198/0x220 mm/memcontrol.c:6752 __mem_cgroup_charge+0x38/0xa8 mm/memcontrol.c:6778 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] wp_page_copy+0x248/0x12b8 mm/memory.c:3048 do_wp_page+0x6c4/0x9c4 handle_pte_fault mm/memory.c:4639 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x1bf8/0x3424 mm/memory.c:4854 __do_page_fault arch/arm64/mm/fault.c:505 [inline] do_page_fault+0x700/0xb60 arch/arm64/mm/fault.c:605 do_mem_abort+0x70/0x1d8 arch/arm64/mm/fault.c:819 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:358 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:418 el1h_64_sync+0x78/0x7c arch/arm64/kernel/entry.S:522 ____sys_recvmsg+0x398/0x720 net/socket.c:2663 ___sys_recvmsg+0x240/0x2cc net/socket.c:2692 do_recvmmsg+0x310/0x9a4 net/socket.c:2786 __sys_recvmmsg net/socket.c:2865 [inline] __do_sys_recvmmsg net/socket.c:2888 [inline] __se_sys_recvmmsg net/socket.c:2881 [inline] __arm64_sys_recvmmsg+0x180/0x23c net/socket.c:2881 __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:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 104593 hardirqs last enabled at (104592): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (104592): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (104593): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (103514): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (103514): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (104589): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (104589): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (104589): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace 6817ed9c7d9e2a0f ]---