------------[ cut here ]------------ WARNING: CPU: 0 PID: 4590 at net/mac80211/tx.c:4944 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] WARNING: CPU: 0 PID: 4590 at net/mac80211/tx.c:4944 __ieee80211_beacon_get+0x148c/0x19cc net/mac80211/tx.c:5265 Modules linked in: CPU: 0 PID: 4590 Comm: kworker/u4:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: bat_events batadv_nc_worker pstate: 42400005 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] pc : __ieee80211_beacon_get+0x148c/0x19cc net/mac80211/tx.c:5265 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] lr : __ieee80211_beacon_get+0x148c/0x19cc net/mac80211/tx.c:5265 sp : ffff800008007920 x29: ffff800008007ad0 x28: ffff800008007b3c x27: ffff0000d848e458 x26: ffff0000f4eb8ea0 x25: ffff0000cc5aca00 x24: ffff0000f4e1cc80 x23: 0000000000000000 x22: 0000000000000001 x21: ffff700001000f34 x20: ffff0000f4e1e790 x19: dfff800000000000 x18: ffff800011abbcc0 x17: ffff80018a6a7000 x16: ffff8000082d0e30 x15: 0000000000000000 x14: 0000000000000007 x13: 0000000000ff0100 x12: 0000000000ff0100 x11: ff0080001124ef00 x10: 0000000000000000 x9 : ffff80001124ef00 x8 : ffff0000d979d340 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80001124dd1c x2 : 000000000000000a x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4944 [inline] __ieee80211_beacon_get+0x148c/0x19cc net/mac80211/tx.c:5265 ieee80211_beacon_get_tim+0x68/0x444 net/mac80211/tx.c:5352 ieee80211_beacon_get include/net/mac80211.h:5264 [inline] mac80211_hwsim_beacon_tx+0x1e8/0x914 drivers/net/wireless/mac80211_hwsim.c:2091 __iterate_interfaces+0x204/0x484 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x180 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xc8/0x1b8 drivers/net/wireless/mac80211_hwsim.c:2147 __run_hrtimer kernel/time/hrtimer.c:1752 [inline] __hrtimer_run_queues+0x44c/0xc64 kernel/time/hrtimer.c:1816 hrtimer_run_softirq+0x160/0x400 kernel/time/hrtimer.c:1833 handle_softirqs+0x318/0xc6c kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:897 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 do_softirq+0xf8/0x1ac kernel/softirq.c:497 __local_bh_enable_ip+0x250/0x380 kernel/softirq.c:421 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x48/0x58 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x2f4/0x37c net/batman-adv/network-coding.c:471 batadv_nc_worker+0x300/0x554 net/batman-adv/network-coding.c:722 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 irq event stamp: 620115 hardirqs last enabled at (620114): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (620114): [] exit_to_kernel_mode+0xcc/0xfc arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (620115): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (620108): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (620108): [] batadv_nc_purge_paths+0x2f4/0x37c net/batman-adv/network-coding.c:471 softirqs last disabled at (620109): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]---