------------[ cut here ]------------ WARNING: CPU: 0 PID: 6158 at net/mac80211/tx.c:4851 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] WARNING: CPU: 0 PID: 6158 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x12ec/0x19dc net/mac80211/tx.c:5075 Modules linked in: CPU: 0 PID: 6158 Comm: sed Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 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+0x12ec/0x19dc net/mac80211/tx.c:5075 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] lr : __ieee80211_beacon_get+0x12ec/0x19dc net/mac80211/tx.c:5075 sp : ffff800008007800 x29: ffff800008007a10 x28: dfff800000000000 x27: ffff800008007880 x26: ffff0000dc120dc0 x25: ffff700001000f10 x24: ffff0000e9934c80 x23: ffff800008007970 x22: ffff800008007a70 x21: 0000000000000000 x20: ffff0000c8a67c00 x19: ffff0000e9936298 x18: 0000000000000102 x17: 0000000000000000 x16: ffff8000082bdde4 x15: 0000000000000007 x14: 0000000000ff0100 x13: ffffffffffffffff x12: 0000000000ff0100 x11: 0000000000000102 x10: 0000000000000000 x9 : ffff800010b68a68 x8 : ffff0000c9350000 x7 : ffff800010b719e4 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+0x12ec/0x19dc net/mac80211/tx.c:5075 ieee80211_beacon_get_tim+0x5c/0x790 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0x10c/0x7ac 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+0x90/0x174 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x428/0xb6c kernel/time/hrtimer.c:1754 hrtimer_run_softirq+0x160/0x400 kernel/time/hrtimer.c:1771 handle_softirqs+0x344/0xbf0 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+0x240/0x440 kernel/softirq.c:641 irq_exit+0x14/0x88 kernel/softirq.c:665 handle_domain_irq+0x14c/0x1fc kernel/irq/irqdesc.c:711 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:765 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_interrupt_handler+0x6c/0x88 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 arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0xb8/0x14c kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] get_partial_node+0x240/0x2b8 mm/slub.c:2152 get_partial mm/slub.c:2232 [inline] ___slab_alloc+0x3ac/0xda8 mm/slub.c:3003 __slab_alloc+0x68/0xc0 mm/slub.c:3095 slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x2ec/0x44c mm/slub.c:4403 kmalloc include/linux/slab.h:609 [inline] kzalloc include/linux/slab.h:735 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x274/0x4a4 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x4bc/0x510 security/tomoyo/realpath.c:288 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x168/0x2fc security/tomoyo/file.c:771 tomoyo_file_open+0x130/0x1b0 security/tomoyo/tomoyo.c:311 security_file_open+0x6c/0xac security/security.c:1668 do_dentry_open+0x29c/0xebc fs/open.c:813 vfs_open+0x7c/0x90 fs/open.c:956 do_open fs/namei.c:3608 [inline] path_openat+0x1f80/0x26e4 fs/namei.c:3742 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 3307 hardirqs last enabled at (3306): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (3306): [] _raw_spin_unlock_irqrestore+0xa8/0x14c kernel/locking/spinlock.c:194 hardirqs last disabled at (3307): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2108): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (3183): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (3183): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (3183): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (3183): [] __irq_exit_rcu+0x240/0x440 kernel/softirq.c:641 ---[ end trace b0e182a7367d6bc0 ]---