------------[ cut here ]------------ WARNING: CPU: 0 PID: 8661 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3fc/0x4c8 Modules linked in: CPU: 0 PID: 8661 Comm: syz-executor.2 Not tainted 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3fc/0x4c8 lr : mb_find_extent+0x3fc/0x4c8 sp : ffff80002273afe0 x29: ffff80002273b030 x28: ffff80002273b0b8 x27: ffff80002273b170 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 000000000000002c x19: ffff00011bfbb000 x18: 00000000000000c0 x17: ffff80000df49158 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800017b00000 x9 : ffff80000881af80 x8 : 0000000000040000 x7 : ffff80000881781c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80002273b0b8 x2 : 0000000000000200 x1 : 000000000000002c x0 : 0000000000000029 Call trace: mb_find_extent+0x3fc/0x4c8 ext4_mb_complex_scan_group+0x100/0x568 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0x638/0xb08 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x530/0x9d4 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0x7d8/0x109c fs/ext4/extents.c:4286 ext4_map_blocks+0x4a8/0xaec fs/ext4/inode.c:651 ext4_getblk+0xc4/0x448 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/0x8bc fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8bc fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8bc 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+0x44c/0x5c0 fs/quota/dquot.c:914 __dquot_initialize+0x1b8/0x588 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+0x584/0x8ec fs/ext4/orphan.c:474 __ext4_fill_super+0x29fc/0x2c2c fs/ext4/super.c:5516 ext4_fill_super+0x100/0x2e0 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+0x358/0x890 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 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: 2816 hardirqs last enabled at (2815): [] lookup_bh_lru+0x134/0x214 fs/buffer.c:1291 hardirqs last disabled at (2816): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2068): [] _stext+0x2c4/0x34c softirqs last disabled at (2045): [] ____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: 8661 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8661 Comm: syz-executor.2 Tainted: G W 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 lr : ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 sp : ffff80002273b090 x29: ffff80002273b0e0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000029 x24: 0000000000000000 x23: ffff80002273b170 x22: 0000000000000029 x21: ffff00011aa11000 x20: 0000000000000000 x19: ffff0000ca9b5088 x18: 00000000000000c0 x17: ffff80000df49158 x16: ffff80000dd87118 x15: ffff00011be44e00 x14: ffff80000df49158 x13: ffff80000dd87118 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800017b00000 x9 : ffff80000881a8bc x8 : 0000000000040000 x7 : ffff800008164174 x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff80002273abc0 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 ext4_mb_regular_allocator+0x638/0xb08 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x530/0x9d4 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0x7d8/0x109c fs/ext4/extents.c:4286 ext4_map_blocks+0x4a8/0xaec fs/ext4/inode.c:651 ext4_getblk+0xc4/0x448 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/0x8bc fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8bc fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8bc 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+0x44c/0x5c0 fs/quota/dquot.c:914 __dquot_initialize+0x1b8/0x588 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+0x584/0x8ec fs/ext4/orphan.c:474 __ext4_fill_super+0x29fc/0x2c2c fs/ext4/super.c:5516 ext4_fill_super+0x100/0x2e0 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+0x358/0x890 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 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: 3326 hardirqs last enabled at (3325): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (3326): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3318): [] _stext+0x2c4/0x34c softirqs last disabled at (3189): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8661 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3fc/0x4c8 Modules linked in: CPU: 0 PID: 8661 Comm: syz-executor.2 Tainted: G W 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3fc/0x4c8 lr : mb_find_extent+0x3fc/0x4c8 sp : ffff80002273afe0 x29: ffff80002273b030 x28: ffff80002273b0b8 x27: ffff80002273b170 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 000000000000002c x19: ffff00011bfbb000 x18: 0000000000000253 x17: ffff80000c15e8bc x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800017b00000 x9 : ffff80000881af80 x8 : 0000000000040000 x7 : ffff80000881781c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80002273b0b8 x2 : 0000000000000200 x1 : 000000000000002c x0 : 0000000000000029 Call trace: mb_find_extent+0x3fc/0x4c8 ext4_mb_complex_scan_group+0x100/0x568 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0x638/0xb08 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x530/0x9d4 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0x7d8/0x109c fs/ext4/extents.c:4286 ext4_map_blocks+0x4a8/0xaec fs/ext4/inode.c:651 ext4_getblk+0xc4/0x448 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/0x8bc fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8bc fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8bc 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+0x44c/0x5c0 fs/quota/dquot.c:914 __dquot_initialize+0x1b8/0x588 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+0x584/0x8ec fs/ext4/orphan.c:474 __ext4_fill_super+0x29fc/0x2c2c fs/ext4/super.c:5516 ext4_fill_super+0x100/0x2e0 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+0x358/0x890 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 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: 3332 hardirqs last enabled at (3331): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (3331): [] finish_lock_switch+0x94/0xe4 kernel/sched/core.c:5052 hardirqs last disabled at (3332): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3318): [] _stext+0x2c4/0x34c softirqs last disabled at (3189): [] ____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: 8661 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8661 Comm: syz-executor.2 Tainted: G W 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 lr : ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 sp : ffff80002273b090 x29: ffff80002273b0e0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000029 x24: 0000000000000000 x23: ffff80002273b170 x22: 0000000000000029 x21: ffff00011aa11000 x20: 0000000000000000 x19: ffff0000ca9b5088 x18: 0000000000000253 x17: 3231353d64656465 x16: ffff80000dd87118 x15: ffff00011be44e00 x14: 0000000000000010 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff800017b00000 x9 : ffff80000881a8bc x8 : 0000000000040000 x7 : ffff800008164174 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000001 Call trace: ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 ext4_mb_regular_allocator+0x638/0xb08 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x530/0x9d4 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0x7d8/0x109c fs/ext4/extents.c:4286 ext4_map_blocks+0x4a8/0xaec fs/ext4/inode.c:651 ext4_getblk+0xc4/0x448 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/0x8bc fs/quota/quota_tree.c:340 do_insert_tree+0x2a0/0x8bc fs/quota/quota_tree.c:375 do_insert_tree+0x2a0/0x8bc 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+0x44c/0x5c0 fs/quota/dquot.c:914 __dquot_initialize+0x1b8/0x588 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+0x584/0x8ec fs/ext4/orphan.c:474 __ext4_fill_super+0x29fc/0x2c2c fs/ext4/super.c:5516 ext4_fill_super+0x100/0x2e0 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+0x358/0x890 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 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: 3792 hardirqs last enabled at (3791): [] queue_work_on+0xac/0x11c kernel/workqueue.c:1549 hardirqs last disabled at (3792): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3784): [] _stext+0x2c4/0x34c softirqs last disabled at (3665): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- 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.