Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 4332 Comm: syz-executor.0 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0 Hardware name: riscv-virtio,qemu (DT) 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 [] __local_bh_enable_ip+0x29e/0x2a4 kernel/softirq.c:390 [] __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] [] _raw_spin_unlock_bh+0x34/0x40 kernel/locking/spinlock.c:210 [] spin_unlock_bh include/linux/spinlock.h:394 [inline] [] nf_conntrack_tcp_packet+0x128a/0x3b6c net/netfilter/nf_conntrack_proto_tcp.c:1159 [] nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1829 [inline] [] nf_conntrack_in+0xb8e/0x127e net/netfilter/nf_conntrack_core.c:1920 [] ipv4_conntrack_local+0x166/0x180 net/netfilter/nf_conntrack_proto.c:213 [] nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] [] nf_hook_slow+0x8a/0x156 net/netfilter/core.c:619 [] nf_hook.constprop.0+0x17e/0x37e include/linux/netfilter.h:262 [] __ip_local_out+0x1a0/0x31c net/ipv4/ip_output.c:115 [] ip_local_out net/ipv4/ip_output.c:124 [inline] [] __ip_queue_xmit+0x43c/0xeb2 net/ipv4/ip_output.c:525 [] ip_queue_xmit+0x36/0x44 net/ipv4/ip_output.c:539 [] __tcp_transmit_skb+0xce4/0x1f5e net/ipv4/tcp_output.c:1402 [] tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] [] tcp_send_syn_data net/ipv4/tcp_output.c:3798 [inline] [] tcp_connect+0x12e6/0x27a4 net/ipv4/tcp_output.c:3837 [] tcp_v4_connect+0xb12/0xca6 net/ipv4/tcp_ipv4.c:312 [] tcp_v6_connect+0x4cc/0x115a net/ipv6/tcp_ipv6.c:248 [] __inet_stream_connect+0x26e/0x83c net/ipv4/af_inet.c:660 [] tcp_sendmsg_fastopen net/ipv4/tcp.c:1162 [inline] [] tcp_sendmsg_locked+0x164a/0x1d9e net/ipv4/tcp.c:1204 [] tcp_sendmsg+0x32/0x4e net/ipv4/tcp.c:1440 [] inet6_sendmsg+0x78/0x98 net/ipv6/af_inet6.c:643 [] sock_sendmsg_nosec net/socket.c:705 [inline] [] sock_sendmsg+0xa0/0xc4 net/socket.c:725 [] ____sys_sendmsg+0x46e/0x484 net/socket.c:2413 [] ___sys_sendmsg+0x16c/0x1f6 net/socket.c:2467 [] __sys_sendmsg+0xba/0x150 net/socket.c:2496 [] __do_sys_sendmsg net/socket.c:2505 [inline] [] sys_sendmsg+0x2c/0x3a net/socket.c:2503 [] ret_from_syscall+0x0/0x2 SMP: stopping secondary CPUs Rebooting in 86400 seconds..