Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 2037 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 [] idr_preload_end include/linux/idr.h:174 [inline] [] __kernfs_new_node+0x5e8/0x5f2 fs/kernfs/dir.c:597 [] kernfs_new_node+0x66/0xbe fs/kernfs/dir.c:647 [] __kernfs_create_file+0x4e/0x1e8 fs/kernfs/file.c:987 [] sysfs_add_file_mode_ns+0x138/0x254 fs/sysfs/file.c:294 [] create_files fs/sysfs/group.c:64 [inline] [] internal_create_group+0x274/0x722 fs/sysfs/group.c:148 [] internal_create_groups.part.0+0x64/0xe8 fs/sysfs/group.c:188 [] internal_create_groups fs/sysfs/group.c:184 [inline] [] sysfs_create_groups+0x2c/0x48 fs/sysfs/group.c:214 [] device_add_groups drivers/base/core.c:2471 [inline] [] device_add_attrs drivers/base/core.c:2630 [inline] [] device_add+0xee4/0x129e drivers/base/core.c:3356 [] netdev_register_kobject+0xcc/0x208 net/core/net-sysfs.c:2008 [] register_netdevice+0x8ee/0xc6a net/core/dev.c:9667 [] veth_newlink+0x454/0x7dc drivers/net/veth.c:1722 [] __rtnl_newlink+0xc16/0xfa0 net/core/rtnetlink.c:3479 [] rtnl_newlink+0x60/0x8c net/core/rtnetlink.c:3527 [] rtnetlink_rcv_msg+0x338/0x9a0 net/core/rtnetlink.c:5592 [] netlink_rcv_skb+0xf8/0x2be net/netlink/af_netlink.c:2494 [] rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:5610 [] netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] [] netlink_unicast+0x40e/0x5fe net/netlink/af_netlink.c:1343 [] netlink_sendmsg+0x4e0/0x994 net/netlink/af_netlink.c:1919 [] sock_sendmsg_nosec net/socket.c:705 [inline] [] sock_sendmsg+0xa0/0xc4 net/socket.c:725 [] __sys_sendto+0x1f2/0x2e0 net/socket.c:2040 [] __do_sys_sendto net/socket.c:2052 [inline] [] sys_sendto+0x3e/0x52 net/socket.c:2048 [] ret_from_syscall+0x0/0x2 SMP: stopping secondary CPUs Rebooting in 86400 seconds..