Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 2031 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_notrace+0x9c/0x19a kernel/sched/core.c:6541 [] rcu_read_unlock_sched_notrace include/linux/rcupdate.h:816 [inline] [] trace_lock_release include/trace/events/lock.h:58 [inline] [] lock_release+0x3da/0x614 kernel/locking/lockdep.c:5650 [] __mutex_unlock_slowpath+0xa4/0x3a2 kernel/locking/mutex.c:893 [] mutex_unlock+0xe/0x16 kernel/locking/mutex.c:540 [] pcpu_alloc+0xd50/0x1278 mm/percpu.c:1874 [] __alloc_percpu+0x28/0x34 mm/percpu.c:1949 [] xt_percpu_counter_alloc+0xee/0x106 net/netfilter/x_tables.c:1930 [] find_check_entry.constprop.0+0xc8/0x55e net/ipv4/netfilter/ip_tables.c:528 [] translate_table+0x7ae/0xc24 net/ipv4/netfilter/ip_tables.c:718 [] do_replace.constprop.0+0x28c/0x7fe net/ipv4/netfilter/ip_tables.c:1136 [] do_ipt_set_ctl+0x2a8/0x51e net/ipv4/netfilter/ip_tables.c:1630 [] nf_setsockopt+0x6c/0xac net/netfilter/nf_sockopt.c:101 [] ip_setsockopt+0x102/0x10c net/ipv4/ip_sockglue.c:1444 [] tcp_setsockopt+0x76/0xb2 net/ipv4/tcp.c:3685 [] sock_common_setsockopt+0x6a/0x7c net/core/sock.c:3489 [] __sys_setsockopt+0x1d2/0x3e0 net/socket.c:2180 [] __do_sys_setsockopt net/socket.c:2191 [inline] [] sys_setsockopt+0x3a/0x4c net/socket.c:2188 [] ret_from_syscall+0x0/0x2 SMP: stopping secondary CPUs Rebooting in 86400 seconds..