------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3dc/0x4a8 lr : mb_find_extent+0x3dc/0x4a8 sp : ffff800014972f20 x29: ffff800014972f70 x28: ffff800014972ff8 x27: ffff8000149730c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff00011a6d0000 x18: 000000000000d285 x17: ffff80000dd84158 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 0000000000039e4c x10: ffff800016d31000 x9 : ffff8000087dcadc x8 : 0000000000039e4d x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800014972ff8 x2 : 0000000000000200 x1 : 000000000000002c x0 : 0000000000000029 Call trace: mb_find_extent+0x3dc/0x4a8 ext4_mb_complex_scan_group+0xf0/0x570 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 2708 hardirqs last enabled at (2707): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (2707): [] __find_get_block+0x134/0x884 fs/buffer.c:1303 hardirqs last disabled at (2708): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1598): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1596): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop5): mb_find_extent:1874: group 0, corruption or bug in mb_find_extent block=43, order=0 needed=512 ex=0/0/44@0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 lr : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 sp : ffff800014972fd0 x29: ffff800014973020 x28: 0000000000000000 x27: ffff8000149730c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00011d4a9000 x20: 0000000000000000 x19: ffff0000cb357000 x18: 000000000000d291 x17: ffff80000dd84158 x16: ffff80000dbc2118 x15: ffff00011a480000 x14: 0000000000000055 x13: 00000000000000c0 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800016d31000 x9 : ffff8000087dc430 x8 : 0000000000040000 x7 : ffff80000815a86c x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff800014972ac0 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 3268 hardirqs last enabled at (3267): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (3268): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3260): [] _stext+0x54c/0x5e4 softirqs last disabled at (2995): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3dc/0x4a8 lr : mb_find_extent+0x3dc/0x4a8 sp : ffff800014972f20 x29: ffff800014972f70 x28: ffff800014972ff8 x27: ffff8000149730c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff00011a6d0000 x18: 000000000000d29d x17: ffff80000dd84158 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800016d31000 x9 : ffff8000087dcadc x8 : 0000000000040000 x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800014972ff8 x2 : 0000000000000200 x1 : 000000000000002c x0 : 0000000000000029 Call trace: mb_find_extent+0x3dc/0x4a8 ext4_mb_complex_scan_group+0xf0/0x570 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 3940 hardirqs last enabled at (3939): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (3939): [] _raw_spin_unlock_irqrestore+0x44/0x84 kernel/locking/spinlock.c:194 hardirqs last disabled at (3940): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3934): [] _stext+0x54c/0x5e4 softirqs last disabled at (3271): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop5): mb_find_extent:1874: group 0, corruption or bug in mb_find_extent block=43, order=0 needed=512 ex=0/0/44@0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 lr : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 sp : ffff800014972fd0 x29: ffff800014973020 x28: 0000000000000000 x27: ffff8000149730c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00011d4a9000 x20: 0000000000000000 x19: ffff0000cb357000 x18: 000000000000d29d x17: 3231353d64656465 x16: ffff00011a480b10 x15: ffff80000dbc2118 x14: ffff00011a480000 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff800016d31000 x9 : ffff8000087dc430 x8 : 0000000000040000 x7 : ffff80000815a86c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 4222 hardirqs last enabled at (4221): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (4222): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4202): [] _stext+0x54c/0x5e4 softirqs last disabled at (3943): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3dc/0x4a8 lr : mb_find_extent+0x3dc/0x4a8 sp : ffff800014972f20 x29: ffff800014972f70 x28: ffff800014972ff8 x27: ffff8000149730c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff00011a6d0000 x18: ffff80000bf9e9bc x17: 0000000000000000 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800016d31000 x9 : ffff8000087dcadc x8 : 0000000000040000 x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800014972ff8 x2 : 0000000000000200 x1 : 000000000000002c x0 : 0000000000000029 Call trace: mb_find_extent+0x3dc/0x4a8 ext4_mb_complex_scan_group+0xf0/0x570 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 4458 hardirqs last enabled at (4457): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (4457): [] finish_lock_switch+0x94/0xe4 kernel/sched/core.c:5052 hardirqs last disabled at (4458): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4454): [] _stext+0x54c/0x5e4 softirqs last disabled at (4225): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop5): mb_find_extent:1874: group 0, corruption or bug in mb_find_extent block=43, order=0 needed=512 ex=0/0/44@0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8905 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8905 Comm: syz-executor.5 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 lr : ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 sp : ffff800014972fd0 x29: ffff800014973020 x28: 0000000000000000 x27: ffff8000149730c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00011d4a9000 x20: 0000000000000000 x19: ffff0000cb357000 x18: ffff80000bf9e9bc x17: 3231353d64656465 x16: ffff00011a480b10 x15: ffff80000dbc2118 x14: ffff00011a480000 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff800016d31000 x9 : ffff8000087dc430 x8 : 0000000000040000 x7 : ffff80000815a86c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 ext4_mb_regular_allocator+0xb44/0x1654 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x5f8/0x1f80 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0xb44/0x2b34 fs/ext4/extents.c:4286 ext4_map_blocks+0x48c/0xaa0 fs/ext4/inode.c:651 ext4_getblk+0xc8/0x438 fs/ext4/inode.c:864 ext4_bread+0x3c/0x164 fs/ext4/inode.c:920 ext4_quota_write+0x120/0x31c fs/ext4/super.c:7105 write_blk fs/quota/quota_tree.c:64 [inline] get_free_dqblk+0x108/0x1d0 fs/quota/quota_tree.c:130 do_insert_tree+0xdc/0x8b8 fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8b8 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x188/0x204 fs/quota/quota_tree.c:420 v2_write_dquot+0x70/0xb0 fs/quota/quota_v2.c:358 dquot_acquire+0x158/0x23c fs/quota/dquot.c:444 ext4_acquire_dquot+0xd8/0x120 fs/ext4/super.c:6740 dqget+0x458/0x5cc fs/quota/dquot.c:914 __dquot_initialize+0x1b0/0x584 fs/quota/dquot.c:1492 dquot_initialize+0x24/0x34 fs/quota/dquot.c:1550 ext4_process_orphan+0x34/0x16c fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x57c/0x8e0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x2b0c/0x2ea8 fs/ext4/super.c:5644 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1282 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5675 vfs_get_tree+0x40/0x140 fs/super.c:1489 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145 path_mount+0x348/0x86c fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 4702 hardirqs last enabled at (4701): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (4702): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4682): [] _stext+0x54c/0x5e4 softirqs last disabled at (4463): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- Quota error (device loop5): write_blk: dquota write failed Quota error (device loop5): qtree_write_dquot: Error -28 occurred while creating quota EXT4-fs error (device loop5): mb_free_blocks:1780: group 0, inode 16: block 38:freeing already freed block (bit 38); block bitmap corrupt. EXT4-fs (loop5): 1 truncate cleaned up EXT4-fs (loop5): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback. ext4 filesystem being mounted at /root/syzkaller-testdir844113111/syzkaller.qqIWuN/211/file0 supports timestamps until 2038 (0x7fffffff)