------------[ cut here ]------------ WARNING: CPU: 1 PID: 4480 at net/mac80211/tx.c:4928 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4928 [inline] WARNING: CPU: 1 PID: 4480 at net/mac80211/tx.c:4928 __ieee80211_beacon_get+0x1518/0x1aa4 net/mac80211/tx.c:5247 Modules linked in: CPU: 1 PID: 4480 Comm: syz-executor566 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: ffff0000c40e7800 x26: ffff0000d89c0ea0 x25: ffff0000ccbb2260 x24: ffff800008017b40 x23: ffff0000c3d2c658 x22: ffff0000ccbb0c80 x21: 0000000000000000 x20: ffff0000ccbb2798 x19: dfff800000000000 x18: 1fffe0001b73b97e x17: ffff80019ec10000 x16: ffff8000084fa820 x15: 0000000000000000 x14: 0000000000000007 x13: ffff0000d1931bc0 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800011a9c3e8 x8 : ffff0000d1931bc0 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 __might_resched+0x110/0x4d8 kernel/sched/core.c:9906 __might_sleep+0x90/0xe4 kernel/sched/core.c:9871 __might_fault+0x7c/0x124 mm/memory.c:5808 _copy_from_user include/linux/uaccess.h:124 [inline] copy_from_user include/linux/uaccess.h:161 [inline] copy_msghdr_from_user+0xb4/0x59c net/socket.c:2430 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: 107537 hardirqs last enabled at (107536): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (107536): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (107537): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (105030): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (105030): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (107533): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---