------------[ cut here ]------------ WARNING: CPU: 1 PID: 4516 at net/mac80211/tx.c:4928 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] WARNING: CPU: 1 PID: 4516 at net/mac80211/tx.c:4928 __ieee80211_beacon_get+0x1518/0x1aa4 net/mac80211/tx.c:5247 Modules linked in: CPU: 1 PID: 4516 Comm: syz-executor235 Not tainted 6.1.71-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] pc : __ieee80211_beacon_get+0x1518/0x1aa4 net/mac80211/tx.c:5247 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] lr : __ieee80211_beacon_get+0x1518/0x1aa4 net/mac80211/tx.c:5247 sp : ffff8000080178e0 x29: ffff800008017aa0 x28: ffff700001002f30 x27: ffff0000c40e1400 x26: ffff0000d6178ea0 x25: ffff0000cd822260 x24: ffff800008017b40 x23: ffff0000c3d3fa58 x22: ffff0000cd820c80 x21: 0000000000000000 x20: ffff0000cd822798 x19: dfff800000000000 x18: ffff80001e917360 x17: ffff80019ec10000 x16: ffff8000084fa820 x15: 0000000000000000 x14: 0000000000000007 x13: ffff0000dc303780 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800011a9c3e8 x8 : ffff0000dc303780 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800011a9b188 x2 : 000000000000000a x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] __ieee80211_beacon_get+0x1518/0x1aa4 net/mac80211/tx.c:5247 ieee80211_beacon_get_tim+0xb4/0x4ec net/mac80211/tx.c:5334 ieee80211_beacon_get include/net/mac80211.h:5245 [inline] mac80211_hwsim_beacon_tx+0x1fc/0x94c drivers/net/wireless/mac80211_hwsim.c:2086 __iterate_interfaces+0x204/0x484 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x180 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xcc/0x1c8 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4b0/0xdc0 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x158/0x21c kernel/time/hrtimer.c:1766 __do_softirq+0x314/0xe38 kernel/softirq.c:571 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:84 invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:650 irq_exit_rcu+0x14/0x84 kernel/softirq.c:662 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] count_memcg_events include/linux/memcontrol.h:1066 [inline] count_memcg_event_mm+0x1d0/0x308 include/linux/memcontrol.h:1098 handle_mm_fault+0x1bc/0x3ef0 mm/memory.c:5234 __do_page_fault arch/arm64/mm/fault.c:499 [inline] do_page_fault+0x330/0x890 arch/arm64/mm/fault.c:583 do_translation_fault+0x94/0xc8 arch/arm64/mm/fault.c:667 do_mem_abort+0x74/0x200 arch/arm64/mm/fault.c:803 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:367 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:427 el1h_64_sync+0x64/0x68 arch/arm64/kernel/entry.S:580 __arch_copy_from_user+0x84/0x230 arch/arm64/lib/copy_template.S:89 recvmsg_copy_msghdr net/socket.c:2684 [inline] ___sys_recvmsg net/socket.c:2756 [inline] do_recvmmsg+0x3cc/0xb60 net/socket.c:2854 __sys_recvmmsg net/socket.c:2933 [inline] __do_sys_recvmmsg net/socket.c:2956 [inline] __se_sys_recvmmsg net/socket.c:2949 [inline] __arm64_sys_recvmmsg+0x180/0x23c net/socket.c:2949 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 80221 hardirqs last enabled at (80220): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (80220): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (80221): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (66790): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (66790): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (80217): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---