loop2: detected capacity change from 0 to 512 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11477 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdaf20 x29: ffff800013bdaf70 x28: ffff800013bdaff8 x27: ffff800013bdb0c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff0001103dc000 x18: ffff80000bf9e9bc x17: 0000000000000000 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003a5ed x10: ffff80001a9ea000 x9 : ffff8000087dcadc x8 : 000000000003a5ee x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800013bdaff8 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: 2988 hardirqs last enabled at (2987): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (2987): [] __find_get_block+0x134/0x884 fs/buffer.c:1303 hardirqs last disabled at (2988): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2426): [] _stext+0x54c/0x5e4 softirqs last disabled at (2279): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop2): 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: 11477 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdafd0 x29: ffff800013bdb020 x28: 0000000000000000 x27: ffff800013bdb0c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00010c4f2000 x20: 0000000000000000 x19: ffff0000cb591000 x18: 000000000000dcd9 x17: ffff80000dd84158 x16: ffff80000dbc2118 x15: ffff000110303400 x14: 0000000000000055 x13: 00000000000000c0 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001a9ea000 x9 : ffff8000087dc430 x8 : 0000000000040000 x7 : ffff80000815a86c x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff800013bdaac0 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: 3344 hardirqs last enabled at (3343): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (3344): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3324): [] _stext+0x54c/0x5e4 softirqs last disabled at (2991): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11477 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdaf20 x29: ffff800013bdaf70 x28: ffff800013bdaff8 x27: ffff800013bdb0c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff0001103dc000 x18: 000000000000dd04 x17: ffff80000dd84158 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001a9ea000 x9 : ffff8000087dcadc x8 : 0000000000040000 x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800013bdaff8 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: 3924 hardirqs last enabled at (3923): [] __call_rcu_common kernel/rcu/tree.c:2790 [inline] hardirqs last enabled at (3923): [] call_rcu+0x2cc/0x44c kernel/rcu/tree.c:2868 hardirqs last disabled at (3924): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3898): [] _stext+0x54c/0x5e4 softirqs last disabled at (3347): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop2): 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: 11477 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdafd0 x29: ffff800013bdb020 x28: 0000000000000000 x27: ffff800013bdb0c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00010c4f2000 x20: 0000000000000000 x19: ffff0000cb591000 x18: 000000000000dd04 x17: 3231353d64656465 x16: ffff000110303f10 x15: ffff80000dbc2118 x14: ffff000110303400 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001a9ea000 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: 4296 hardirqs last enabled at (4295): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (4296): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4276): [] _stext+0x54c/0x5e4 softirqs last disabled at (3929): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11477 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3dc/0x4a8 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdaf20 x29: ffff800013bdaf70 x28: ffff800013bdaff8 x27: ffff800013bdb0c8 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 0000000000008000 x19: ffff0001103dc000 x18: ffff80000bf9e9bc x17: 0000000000000000 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001a9ea000 x9 : ffff8000087dcadc x8 : 0000000000040000 x7 : ffff8000087d9c9c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800013bdaff8 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: 4548 hardirqs last enabled at (4547): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (4547): [] finish_lock_switch+0x94/0xe4 kernel/sched/core.c:5052 hardirqs last disabled at (4548): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4544): [] _stext+0x54c/0x5e4 softirqs last disabled at (4299): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop2): 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: 11477 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x540/0x570 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 11477 Comm: syz-executor.2 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 : ffff800013bdafd0 x29: ffff800013bdb020 x28: 0000000000000000 x27: ffff800013bdb0c8 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000029 x22: 0000000000000029 x21: ffff00010c4f2000 x20: 0000000000000000 x19: ffff0000cb591000 x18: ffff80000bf9e9bc x17: 3231353d64656465 x16: ffff000110303f10 x15: ffff80000dbc2118 x14: ffff000110303400 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001a9ea000 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: 4856 hardirqs last enabled at (4855): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (4856): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4836): [] _stext+0x54c/0x5e4 softirqs last disabled at (4551): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- __quota_error: 5 callbacks suppressed Quota error (device loop2): write_blk: dquota write failed Quota error (device loop2): qtree_write_dquot: Error -28 occurred while creating quota EXT4-fs error (device loop2): mb_free_blocks:1780: group 0, inode 16: block 38:freeing already freed block (bit 38); block bitmap corrupt. EXT4-fs (loop2): 1 truncate cleaned up EXT4-fs (loop2): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: writeback.