EXT4-fs error (device loop4): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 69 vs 41 free clusters EXT4-fs (loop4): Remounting filesystem read-only Quota error (device loop4): write_blk: dquota write failed Quota error (device loop4): 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: 28458 Comm: syz-executor.4 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:ffff888051277170 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000a25b000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff1100a24ee30 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff88804cbe1430 R15: 0000000000000001 FS: 00007f4d4ca6d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb739901b8 CR3: 000000009fce8000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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:0x7f4d4e4fc5fa 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:00007f4d4ca6cf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000050d RCX: 00007f4d4e4fc5fa RDX: 0000000020000100 RSI: 0000000020000300 RDI: 00007f4d4ca6cfe0 RBP: 00007f4d4ca6d020 R08: 00007f4d4ca6d020 R09: 0000000000010005 R10: 0000000000010005 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020000300 R14: 00007f4d4ca6cfe0 R15: 00000000200002c0 Modules linked in: ---[ end trace 8143492e54ca15d7 ]--- 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:ffff888051277170 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc9000a25b000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff1100a24ee30 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff88804cbe1430 R15: 0000000000000001 FS: 00007f4d4ca6d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 audit: type=1804 audit(1673730315.546:62): pid=28495 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir1378256816/syzkaller.YrWPEo/2121/file0" dev="sda1" ino=14256 res=1 netlink: 'syz-executor.0': attribute type 10 has an invalid length. CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5d1519988 CR3: 000000009fce8000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 audit: type=1800 audit(1673730315.576:63): pid=28495 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=14256 res=0 device xfrm0 entered promiscuous mode DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600