------------[ cut here ]------------ WARNING: CPU: 1 PID: 7026 at net/mac80211/tx.c:5041 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5041 [inline] WARNING: CPU: 1 PID: 7026 at net/mac80211/tx.c:5041 __ieee80211_beacon_get+0xf64/0x12c0 net/mac80211/tx.c:5470 Modules linked in: CPU: 1 UID: 0 PID: 7026 Comm: syz.3.93 Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5041 [inline] pc : __ieee80211_beacon_get+0xf64/0x12c0 net/mac80211/tx.c:5470 lr : __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5041 [inline] lr : __ieee80211_beacon_get+0xf64/0x12c0 net/mac80211/tx.c:5470 sp : ffff800080017a40 x29: ffff800080017a80 x28: ffffffffffffe3b0 x27: 0000000000000001 x26: 0000000000000041 x25: ffff0000d5def000 x24: 0000000000000000 x23: ffff0000dd1b8e40 x22: ffff800080017b00 x21: ffff0000f2c82500 x20: dfff800000000000 x19: ffff0000f2c829d0 x18: 1fffe00033871676 x17: 00000000ffff0000 x16: ffff8000805188f8 x15: ffff700010002f61 x14: 0000000000000000 x13: 0000000000000007 x12: 0000000000ff0100 x11: ffff0000c82a3d00 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c82a3d00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80008a6e7074 x2 : 000000000000000a x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5041 [inline] (P) __ieee80211_beacon_get+0xf64/0x12c0 net/mac80211/tx.c:5470 (P) ieee80211_beacon_get_tim+0xb8/0x244 net/mac80211/tx.c:5597 ieee80211_beacon_get include/net/mac80211.h:5648 [inline] mac80211_hwsim_beacon_tx+0x350/0x6ec drivers/net/wireless/virtual/mac80211_hwsim.c:2313 __iterate_interfaces+0x250/0x504 net/mac80211/util.c:761 ieee80211_iterate_active_interfaces_atomic+0xd4/0x180 net/mac80211/util.c:797 mac80211_hwsim_beacon+0xc8/0x1b8 drivers/net/wireless/virtual/mac80211_hwsim.c:2347 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x41c/0xb78 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x160/0x400 kernel/time/hrtimer.c:1842 handle_softirqs+0x328/0xc88 kernel/softirq.c:579 __do_softirq+0x14/0x20 kernel/softirq.c:613 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x30 arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:460 [inline] __irq_exit_rcu+0x1b0/0x478 kernel/softirq.c:680 irq_exit_rcu+0x14/0x84 kernel/softirq.c:696 __el1_irq arch/arm64/kernel/entry-common.c:584 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:598 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:603 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __daif_local_irq_enable arch/arm64/include/asm/irqflags.h:26 [inline] (P) arch_local_irq_enable arch/arm64/include/asm/irqflags.h:48 [inline] (P) raw_spin_rq_unlock_irq kernel/sched/sched.h:1525 [inline] (P) finish_lock_switch+0xb4/0x1c0 kernel/sched/core.c:5130 (P) finish_task_switch+0x120/0x5a4 kernel/sched/core.c:5248 context_switch kernel/sched/core.c:5385 [inline] __schedule+0x13b4/0x28d4 kernel/sched/core.c:6767 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7090 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:301 __el1_irq arch/arm64/kernel/entry-common.c:586 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:598 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:603 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 memory_is_nonzero mm/kasan/generic.c:116 [inline] (P) memory_is_poisoned_n mm/kasan/generic.c:129 [inline] (P) memory_is_poisoned mm/kasan/generic.c:161 [inline] (P) check_region_inline mm/kasan/generic.c:180 [inline] (P) kasan_check_range+0x198/0x2a4 mm/kasan/generic.c:189 (P) __asan_memset+0x34/0x64 mm/kasan/shadow.c:84 crypto_sha3_init+0xd4/0x140 crypto/sha3_generic.c:170 crypto_shash_init include/crypto/hash.h:931 [inline] jent_hash_time+0x1d4/0x3fc crypto/jitterentropy-kcapi.c:135 jent_condition_data+0xa4/0xd8 crypto/jitterentropy.c:438 jent_measure_jitter+0xa0/0x134 crypto/jitterentropy.c:541 jent_gen_entropy+0x74/0xd0 crypto/jitterentropy.c:569 jent_entropy_collector_alloc+0x160/0x180 crypto/jitterentropy.c:695 jent_kcapi_init+0x160/0x22c crypto/jitterentropy-kcapi.c:259 crypto_create_tfm_node+0x220/0x330 crypto/api.c:536 crypto_alloc_tfm_node+0x168/0x240 crypto/api.c:633 crypto_alloc_tfm crypto/internal.h:150 [inline] crypto_alloc_rng+0x40/0x54 crypto/rng.c:105 drbg_prepare_hrng crypto/drbg.c:1529 [inline] drbg_instantiate crypto/drbg.c:1590 [inline] drbg_kcapi_seed+0x978/0xda8 crypto/drbg.c:1970 crypto_rng_reset+0x84/0x128 crypto/rng.c:47 rng_setkey+0x50/0x64 crypto/algif_rng.c:282 alg_setkey+0xec/0x120 crypto/af_alg.c:223 alg_setsockopt+0x314/0x3b8 crypto/af_alg.c:386 do_sock_setsockopt+0x1ec/0x328 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __arm64_sys_setsockopt+0x170/0x1e0 net/socket.c:2324 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 10077 hardirqs last enabled at (10076): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (10076): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (10077): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (7414): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (7414): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (9981): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---