EXT4-fs (loop0): orphan cleanup on readonly fs EXT4-fs error (device loop0): ext4_quota_enable:6779: inode #5: comm syz-executor275: casefold flag without casefold feature ------------[ cut here ]------------ kernel BUG at fs/ext4/extents_status.c:899! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 3028 Comm: syz-executor275 Not tainted 6.0.0-rc2-syzkaller-16455-ga41a877bc12d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_es_cache_extent+0x1f0/0x1f4 fs/ext4/extents_status.c:899 lr : ext4_es_cache_extent+0x1f0/0x1f4 fs/ext4/extents_status.c:899 sp : ffff80001201b4e0 x29: ffff80001201b510 x28: 0000000000000630 x27: 00000000ffffffff x26: 000000000000628f x25: 0000000000008630 x24: 0000000000000007 x23: 10000dafffff8000 x22: 000000000000062e x21: 00000000ffffffff x20: 0000000000000630 x19: ffff0000ca8bc5a0 x18: 00000000000000c0 x17: ffff80000dd7a698 x16: ffff80000dbb8658 x15: ffff0000c7588000 x14: ffff80000dd7a698 x13: ffff80000dbb8658 x12: ffff0000c7588000 x11: ff808000087b4718 x10: 0000000000000000 x9 : ffff8000087b4718 x8 : ffff0000c7588000 x7 : ffff8000087b3cfc x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000002 x3 : 00000dafffff8000 x2 : 0000000000000630 x1 : 00000000ffffffff x0 : 000000000000062e Call trace: ext4_es_cache_extent+0x1f0/0x1f4 fs/ext4/extents_status.c:899 ext4_cache_extents fs/ext4/extents.c:518 [inline] ext4_find_extent+0x2c4/0x574 fs/ext4/extents.c:916 ext4_ext_map_blocks+0x9c/0x10a0 fs/ext4/extents.c:4097 ext4_map_blocks+0x1b4/0xadc fs/ext4/inode.c:570 ext4_getblk+0xc4/0x40c fs/ext4/inode.c:858 ext4_bread+0x3c/0x128 fs/ext4/inode.c:914 ext4_quota_read+0xac/0x1d0 fs/ext4/super.c:6910 v2_read_header fs/quota/quota_v2.c:62 [inline] v2_check_quota_file+0x54/0x14c fs/quota/quota_v2.c:81 dquot_load_quota_sb+0x2cc/0x44c fs/quota/dquot.c:2400 dquot_load_quota_inode+0x198/0x224 fs/quota/dquot.c:2443 ext4_quota_enable fs/ext4/super.c:6788 [inline] ext4_enable_quotas+0x1c0/0x378 fs/ext4/super.c:6814 ext4_orphan_cleanup+0x23c/0x8dc fs/ext4/orphan.c:432 __ext4_fill_super+0x3484/0x36b4 fs/ext4/super.c:5378 ext4_fill_super+0x100/0x2d8 fs/ext4/super.c:5517 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1323 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5547 vfs_get_tree+0x40/0x140 fs/super.c:1530 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x914 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2f8/0x408 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x154 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 Code: 94e132e4 97ebbc6f d4210000 97ebbc6d (d4210000) ---[ end trace 0000000000000000 ]---