Kernel panic - not syncing: corrupted stack end detected inside scheduler CPU: 0 PID: 3136 Comm: syz-executor.1 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 [] __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] [] _raw_spin_unlock+0x60/0x6a kernel/locking/spinlock.c:186 [] spin_unlock include/linux/spinlock.h:389 [inline] [] ext4_unlock_group fs/ext4/ext4.h:3531 [inline] [] ext4_mb_discard_group_preallocations+0x4b2/0x822 fs/ext4/mballoc.c:4895 [] ext4_mb_discard_preallocations fs/ext4/mballoc.c:5452 [inline] [] ext4_mb_discard_preallocations_should_retry fs/ext4/mballoc.c:5473 [inline] [] ext4_mb_new_blocks+0x1ba4/0x3228 fs/ext4/mballoc.c:5609 [] ext4_new_meta_blocks+0x19c/0x216 fs/ext4/balloc.c:699 [] ext4_ext_grow_indepth fs/ext4/extents.c:1321 [inline] [] ext4_ext_create_new_leaf fs/ext4/extents.c:1427 [inline] [] ext4_ext_insert_extent+0x8f0/0x27b2 fs/ext4/extents.c:2094 [] ext4_ext_map_blocks+0x1004/0x3e86 fs/ext4/extents.c:4303 [] ext4_map_blocks+0x4fe/0xe64 fs/ext4/inode.c:638 [] ext4_getblk+0xfe/0x4f6 fs/ext4/inode.c:849 [] ext4_bread+0x2c/0x132 fs/ext4/inode.c:902 [] ext4_quota_write+0x172/0x4ae fs/ext4/super.c:6976 [] write_blk+0x98/0x10c fs/quota/quota_tree.c:64 [] get_free_dqblk+0xb0/0x1fe fs/quota/quota_tree.c:93 [] do_insert_tree+0x61a/0xb5a fs/quota/quota_tree.c:300 [] do_insert_tree+0xa38/0xb5a fs/quota/quota_tree.c:331 [] do_insert_tree+0xa38/0xb5a fs/quota/quota_tree.c:331 [] do_insert_tree+0xa38/0xb5a fs/quota/quota_tree.c:331 [] dq_insert_tree fs/quota/quota_tree.c:357 [inline] [] qtree_write_dquot+0x14e/0x338 fs/quota/quota_tree.c:376 [] v2_write_dquot+0xa4/0x12c fs/quota/quota_v2.c:358 [] dquot_acquire+0x174/0x298 fs/quota/dquot.c:441 [] ext4_acquire_dquot+0x164/0x1be fs/ext4/super.c:6632 [] dqget+0x4d8/0x970 fs/quota/dquot.c:899 [] __dquot_initialize+0x33a/0x788 fs/quota/dquot.c:1477 [] dquot_initialize fs/quota/dquot.c:1535 [inline] [] dquot_file_open fs/quota/dquot.c:2159 [inline] [] dquot_file_open+0x8c/0x90 fs/quota/dquot.c:2153 [] ext4_file_open fs/ext4/file.c:870 [inline] [] ext4_file_open+0x22e/0x6f4 fs/ext4/file.c:840 [] do_dentry_open+0x2a4/0x7d4 fs/open.c:824 [] vfs_open+0x52/0x5e fs/open.c:959 [] do_open fs/namei.c:3476 [inline] [] path_openat+0x12b6/0x189e fs/namei.c:3609 [] do_filp_open+0x10e/0x22a fs/namei.c:3636 [] do_sys_openat2+0x174/0x31e fs/open.c:1214 [] do_sys_open fs/open.c:1230 [inline] [] __do_sys_openat fs/open.c:1246 [inline] [] sys_openat+0xdc/0x164 fs/open.c:1241 [] ret_from_syscall+0x0/0x2 SMP: stopping secondary CPUs Rebooting in 86400 seconds..