EXT4-fs error (device loop2): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 69 vs 41 free clusters EXT4-fs (loop2): Remounting filesystem read-only Quota error (device loop2): write_blk: dquota write failed Quota error (device loop2): qtree_write_dquot: Error -28 occurred while creating quota ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:989! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19396 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_getblk+0x454/0x4f0 fs/ext4/inode.c:989 Code: 0b e8 e0 24 83 ff 4c 89 e7 e8 d8 d8 d0 ff e9 b0 fd ff ff e8 ce 24 83 ff 4c 89 e7 e8 26 d9 d0 ff e9 ef fe ff ff e8 bc 24 83 ff <0f> 0b e8 45 45 58 ff 48 89 34 24 e8 9c 01 b9 ff 48 8b 34 24 e9 bb RSP: 0018:ffff8880a1997170 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000743e000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff11014332e30 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff8880828c2730 R15: 0000000000000001 FS: 00007f90e1085700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf5a31b028 CR3: 00000000a5136000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_bread+0x7c/0x210 fs/ext4/inode.c:1043 ext4_quota_write+0x205/0x530 fs/ext4/super.c:6008 write_blk+0x10a/0x200 fs/quota/quota_tree.c:72 free_dqentry fs/quota/quota_tree.c:458 [inline] remove_tree+0x927/0x1490 fs/quota/quota_tree.c:491 remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 qtree_delete_dquot fs/quota/quota_tree.c:527 [inline] qtree_release_dquot fs/quota/quota_tree.c:673 [inline] qtree_release_dquot+0x195/0x1d0 fs/quota/quota_tree.c:669 v2_release_dquot+0xce/0x120 fs/quota/quota_v2.c:375 dquot_release+0x1be/0x390 fs/quota/dquot.c:497 ext4_release_dquot+0x22f/0x290 fs/ext4/super.c:5682 dqput.part.0+0x1a3/0x830 fs/quota/dquot.c:794 dqput fs/quota/dquot.c:752 [inline] dqput_all fs/quota/dquot.c:391 [inline] __dquot_initialize+0x5ad/0xb70 fs/quota/dquot.c:1521 ext4_orphan_cleanup fs/ext4/super.c:2681 [inline] ext4_fill_super+0x8202/0xc850 fs/ext4/super.c:4549 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f90e2b145fa Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f90e1084f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000050d RCX: 00007f90e2b145fa RDX: 0000000020000100 RSI: 0000000020000300 RDI: 00007f90e1084fe0 RBP: 00007f90e1085020 R08: 00007f90e1085020 R09: 0000000000010005 R10: 0000000000010005 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020000300 R14: 00007f90e1084fe0 R15: 00000000200002c0 Modules linked in: ---[ end trace a275250081bc6f5b ]--- RIP: 0010:ext4_getblk+0x454/0x4f0 fs/ext4/inode.c:989 Code: 0b e8 e0 24 83 ff 4c 89 e7 e8 d8 d8 d0 ff e9 b0 fd ff ff e8 ce 24 83 ff 4c 89 e7 e8 26 d9 d0 ff e9 ef fe ff ff e8 bc 24 83 ff <0f> 0b e8 45 45 58 ff 48 89 34 24 e8 9c 01 b9 ff 48 8b 34 24 e9 bb RSP: 0018:ffff8880a1997170 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000743e000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff11014332e30 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff8880828c2730 R15: 0000000000000001 FS: 00007f90e1085700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557ad3f65160 CR3: 00000000a5136000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400