------------[ cut here ]------------ WARNING: CPU: 1 PID: 7182 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 1 PID: 7182 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x143c/0x1b54 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 7182 Comm: syz.0.568 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 40400005 (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 : ffff8000080177e0 x29: ffff8000080179e0 x28: ffff800008017860 x27: ffff0000e96b0dc0 x26: ffff0000f228cc80 x25: ffff700001002f0c x24: ffff800008017950 x23: dfff800000000000 x22: ffffffffffffe9e8 x21: 0000000000000000 x20: ffff0000d1289600 x19: ffff0000f228e298 x18: 0000000000000100 x17: 0000000000000000 x16: ffff8000084c5304 x15: 0000000000000007 x14: ffff0000e3691b40 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000100 x10: 0000000000000000 x9 : ffff0000e3691b40 x8 : ffff8000114d8abc x7 : ffff8000114e1d64 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:1688 [inline] __hrtimer_run_queues+0x484/0xca4 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x158/0x21c kernel/time/hrtimer.c:1769 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] invoke_softirq kernel/softirq.c:439 [inline] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 irq_exit+0x14/0x88 kernel/softirq.c:665 handle_domain_irq+0xf4/0x178 kernel/irq/irqdesc.c:711 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_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122 lock_is_held include/linux/lockdep.h:287 [inline] ___might_sleep+0x48/0x4dc kernel/sched/core.c:9602 __might_sleep+0x98/0xf0 kernel/sched/core.c:9590 __might_fault+0x80/0x128 mm/memory.c:5341 _copy_from_user include/linux/uaccess.h:156 [inline] copy_from_user include/linux/uaccess.h:192 [inline] __copy_msghdr_from_user+0xb8/0x5d0 net/socket.c:2318 copy_msghdr_from_user net/socket.c:2369 [inline] recvmsg_copy_msghdr net/socket.c:2621 [inline] ___sys_recvmsg+0x150/0x2cc net/socket.c:2693 do_recvmmsg+0x310/0x9a4 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __arm64_sys_recvmmsg+0x180/0x23c net/socket.c:2886 __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: 32343 hardirqs last enabled at (32342): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (32342): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (32343): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (30302): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (30302): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (32267): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (32267): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (32267): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (32267): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace b09e7fee733f6f37 ]---