Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 49 Comm: kworker/u4:4 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events_unbound toggle_allocation_gate Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106 [] dump_stack+0x1c/0x24 lib/dump_stack.c:113 [] panic+0x24a/0x634 kernel/panic.c:233 [] schedule_debug kernel/sched/core.c:5541 [inline] [] schedule+0x0/0x14c kernel/sched/core.c:6187 [] preempt_schedule_common+0x4e/0xde kernel/sched/core.c:6462 [] preempt_schedule+0x34/0x36 kernel/sched/core.c:6487 [] __mutex_lock_common kernel/locking/mutex.c:608 [inline] [] __mutex_lock+0x7c6/0xade kernel/locking/mutex.c:733 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:785 [] arch_jump_label_transform+0xcc/0x1e2 arch/riscv/kernel/jump_label.c:38 [] __jump_label_update+0xfe/0x230 kernel/jump_label.c:437 [] jump_label_update+0x158/0x2b6 kernel/jump_label.c:830 [] static_key_enable_cpuslocked+0x156/0x19c kernel/jump_label.c:177 [] static_key_enable+0x22/0x34 kernel/jump_label.c:190 [] toggle_allocation_gate mm/kfence/core.c:734 [inline] [] toggle_allocation_gate+0x118/0x374 mm/kfence/core.c:726 [] process_one_work+0x654/0xffe kernel/workqueue.c:2307 [] worker_thread+0x360/0x8fa kernel/workqueue.c:2454 [] kthread+0x19e/0x1fa kernel/kthread.c:377 [] ret_from_exception+0x0/0x10 SMP: stopping secondary CPUs Rebooting in 86400 seconds..