EXT4-fs (loop0): ext4_check_descriptors: Checksum for group 0 failed (14603!=0) EXT4-fs (loop0): orphan cleanup on readonly fs EXT4-fs error (device loop0): ext4_mb_clear_bb:5962: comm syz-executor137: Freeing blocks in system zone - Block = 16, count = 16 EXT4-fs (loop0): Remounting filesystem read-only ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3319! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3607 Comm: syz-executor137 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:ext4_get_group_info+0x36e/0x3d0 fs/ext4/ext4.h:3319 Code: ff 48 c7 c2 a0 b5 e2 89 be c3 02 00 00 48 c7 c7 00 b6 e2 89 c6 05 39 e3 89 0b 01 e8 fc 1d 16 07 e9 d9 fd ff ff e8 22 af 5d ff <0f> 0b e8 9b 76 aa ff e9 ea fc ff ff e8 91 76 aa ff e9 24 fd ff ff RSP: 0018:ffffc90002fcf210 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000 RDX: ffff888024b99d80 RSI: ffffffff821d2a9e RDI: 0000000000000004 RBP: ffff888021e86000 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000ffffffff R11: 0000000000000001 R12: ffff888021ee2000 R13: ffff888021ee2678 R14: 0000000000000001 R15: dffffc0000000000 FS: 00005555570a1300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005ded08 CR3: 0000000025559000 CR4: 0000000000350ee0 Call Trace: ext4_mb_clear_bb fs/ext4/mballoc.c:5935 [inline] ext4_free_blocks+0x4a2/0x2060 fs/ext4/mballoc.c:6185 ext4_clear_blocks+0x329/0x430 fs/ext4/indirect.c:880 ext4_free_data+0x1a3/0x3e0 fs/ext4/indirect.c:954 ext4_ind_truncate+0x6a2/0x950 fs/ext4/indirect.c:1146 ext4_truncate+0x696/0x1440 fs/ext4/inode.c:4244 ext4_evict_inode+0xa5f/0x1970 fs/ext4/inode.c:284 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1744 [inline] iput.part.0+0x562/0x820 fs/inode.c:1770 iput+0x58/0x70 fs/inode.c:1760 ext4_quota_enable fs/ext4/super.c:6781 [inline] ext4_enable_quotas+0x5c4/0xb70 fs/ext4/super.c:6804 ext4_orphan_cleanup+0xde1/0x10f0 fs/ext4/orphan.c:432 __ext4_fill_super fs/ext4/super.c:5368 [inline] ext4_fill_super+0xac9a/0xe830 fs/ext4/super.c:5507 get_tree_bdev+0x440/0x760 fs/super.c:1292 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 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] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa6cfe974da Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc803cf6f8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc803cf750 RCX: 00007fa6cfe974da RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007ffc803cf710 RBP: 00007ffc803cf710 R08: 00007ffc803cf750 R09: 0000000800000015 R10: 0000000000000081 R11: 0000000000000206 R12: 0000000000000004 R13: 0000000000000003 R14: 0000000000000003 R15: 0000000000000010 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_get_group_info+0x36e/0x3d0 fs/ext4/ext4.h:3319 Code: ff 48 c7 c2 a0 b5 e2 89 be c3 02 00 00 48 c7 c7 00 b6 e2 89 c6 05 39 e3 89 0b 01 e8 fc 1d 16 07 e9 d9 fd ff ff e8 22 af 5d ff <0f> 0b e8 9b 76 aa ff e9 ea fc ff ff e8 91 76 aa ff e9 24 fd ff ff RSP: 0018:ffffc90002fcf210 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000 RDX: ffff888024b99d80 RSI: ffffffff821d2a9e RDI: 0000000000000004 RBP: ffff888021e86000 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000ffffffff R11: 0000000000000001 R12: ffff888021ee2000 R13: ffff888021ee2678 R14: 0000000000000001 R15: dffffc0000000000 FS: 00005555570a1300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc803d0000 CR3: 0000000025559000 CR4: 0000000000350ef0