Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker 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 [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] [] _raw_spin_unlock_irqrestore+0x8c/0x98 kernel/locking/spinlock.c:194 [] swake_up_one+0xbc/0xd0 kernel/sched/swait.c:54 [] rcu_gp_kthread_wake kernel/rcu/tree.c:1482 [inline] [] rcu_gp_kthread_wake+0x5e/0x8e kernel/rcu/tree.c:1473 [] rcu_report_qs_rsp+0x64/0x206 kernel/rcu/tree.c:2162 [] rcu_report_unblock_qs_rnp kernel/rcu/tree.c:2266 [inline] [] rcu_preempt_deferred_qs_irqrestore+0x7be/0x7c0 kernel/rcu/tree_plugin.h:554 [] rcu_read_unlock_special kernel/rcu/tree_plugin.h:671 [inline] [] __rcu_read_unlock+0x166/0x262 kernel/rcu/tree_plugin.h:424 [] rcu_read_unlock include/linux/rcupdate.h:726 [inline] [] __skb_flow_dissect+0x992/0x3094 net/core/flow_dissector.c:1023 [] skb_flow_dissect_flow_keys include/linux/skbuff.h:1386 [inline] [] ___skb_get_hash net/core/flow_dissector.c:1589 [inline] [] __skb_get_hash+0xda/0x1ec net/core/flow_dissector.c:1655 [] skb_get_hash include/linux/skbuff.h:1428 [inline] [] encrypt_packet+0x53e/0x59c drivers/net/wireguard/send.c:173 [] wg_packet_encrypt_worker+0x21e/0x60a drivers/net/wireguard/send.c:297 [] 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..