EXT4-fs error (device loop3) in ext4_do_update_inode:5397: error 27 EXT4-fs error (device loop3) in ext4_orphan_cleanup:2699: error 27 __quota_error: 58 callbacks suppressed Quota error (device loop3): dqput: Can't write quota structure (error -30). Quota may get out of sync! ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:989! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10542 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 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:ffff888048d57000 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc90007c34000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff110091aae02 R08: 0000000000002000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff88803d108430 R15: 0000000000000001 FS: 00007fe6f54bc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96fdf19008 CR3: 0000000098045000 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 remove_free_dqentry+0x1eb/0x4b0 fs/quota/quota_tree.c:168 free_dqentry fs/quota/quota_tree.c:436 [inline] remove_tree+0xeb5/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_drop+0x19c/0x270 fs/quota/dquot.c:1568 dquot_drop fs/quota/dquot.c:1593 [inline] dquot_drop+0x14b/0x1a0 fs/quota/dquot.c:1571 ext4_clear_inode+0x31/0x1d0 fs/ext4/super.c:1178 ext4_evict_inode+0x25b/0x17b0 fs/ext4/inode.c:357 evict+0x2ed/0x760 fs/inode.c:559 iput_final fs/inode.c:1555 [inline] iput+0x4f1/0x860 fs/inode.c:1581 ext4_orphan_cleanup fs/ext4/super.c:2712 [inline] ext4_fill_super+0x832e/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:0x7fe6f6f4b62a 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:00007fe6f54bbf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000004c5 RCX: 00007fe6f6f4b62a RDX: 0000000020000040 RSI: 0000000020000500 RDI: 00007fe6f54bbfe0 RBP: 00007fe6f54bc020 R08: 00007fe6f54bc020 R09: 000000000000c906 R10: 000000000000c906 R11: 0000000000000202 R12: 0000000020000040 R13: 0000000020000500 R14: 00007fe6f54bbfe0 R15: 0000000020000080 Modules linked in: ---[ end trace c3e4caf59aea6f6a ]--- 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 cgroup: cgroup2: unknown option " " RSP: 0018:ffff888048d57000 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc90007c34000 RDX: 0000000000040000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff110091aae02 R08: 0000000000002000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff88803d108430 R15: 0000000000000001 FS: 00007fe6f54bc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96fdda6d00 CR3: 0000000098045000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400