loop2: detected capacity change from 0 to 512 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8794 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3fc/0x4c8 Modules linked in: CPU: 1 PID: 8794 Comm: syz-executor.2 Not tainted 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mb_find_extent+0x3fc/0x4c8 lr : mb_find_extent+0x3fc/0x4c8 sp : ffff800013ca2fe0 x29: ffff800013ca3030 x28: ffff800013ca30b8 x27: ffff800013ca3170 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 000000000000002c x19: ffff000120063000 x18: 00000000000000c0 x17: ffff80000df59158 x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003b9db x10: ffff8000195f6000 x9 : ffff800008826c08 x8 : 000000000003b9dc x7 : ffff8000088234a4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800013ca30b8 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:584 irq event stamp: 2738 hardirqs last enabled at (2737): [] lookup_bh_lru+0x160/0x23c fs/buffer.c:1291 hardirqs last disabled at (2738): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1360): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1358): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ 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: 1 PID: 8794 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 1 PID: 8794 Comm: syz-executor.2 Tainted: G W 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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 : ffff800013ca3090 x29: ffff800013ca30e0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000029 x24: 0000000000000000 x23: ffff800013ca3170 x22: 0000000000000029 x21: ffff00011dc74000 x20: 0000000000000000 x19: ffff0000cb338000 x18: 00000000000000c0 x17: ffff80000df59158 x16: ffff80000dd97118 x15: ffff00011df7ce00 x14: ffff80000df59158 x13: ffff80000dd97118 x12: 0000000000040000 x11: 000000000003ffff x10: ffff8000195f6000 x9 : ffff800008826544 x8 : 0000000000040000 x7 : ffff800008165f50 x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff800013ca2bd0 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:584 irq event stamp: 3182 hardirqs last enabled at (3181): [] queue_work_on+0xdc/0x15c kernel/workqueue.c:1549 hardirqs last disabled at (3182): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3162): [] _stext+0x2e4/0x37c softirqs last disabled at (2741): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8794 at fs/ext4/mballoc.c:1869 mb_find_extent+0x3fc/0x4c8 Modules linked in: CPU: 0 PID: 8794 Comm: syz-executor.2 Tainted: G W 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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 : ffff800013ca2fe0 x29: ffff800013ca3030 x28: ffff800013ca30b8 x27: ffff800013ca3170 x26: 0000000000000029 x25: 000000000000000c x24: 0000000000000000 x23: 000000000000002c x22: 000000000000002c x21: 0000000000000200 x20: 000000000000002c x19: ffff000120063000 x18: 000000000000012f x17: 000000000000b67e x16: 0000000000000001 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff8000195f6000 x9 : ffff800008826c08 x8 : 0000000000040000 x7 : ffff8000088234a4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800013ca30b8 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:584 irq event stamp: 3742 hardirqs last enabled at (3741): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (3741): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:5052 hardirqs last disabled at (3742): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3738): [] _stext+0x2e4/0x37c softirqs last disabled at (3185): [] ____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: 8794 at fs/ext4/mballoc.c:2308 ext4_mb_complex_scan_group+0x538/0x568 fs/ext4/mballoc.c:2308 Modules linked in: CPU: 0 PID: 8794 Comm: syz-executor.2 Tainted: G W 6.2.0-rc5-syzkaller-17298-gc62c88e05937 #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 : ffff800013ca3090 x29: ffff800013ca30e0 x28: 0000000000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000029 x24: 0000000000000000 x23: ffff800013ca3170 x22: 0000000000000029 x21: ffff00011dc74000 x20: 0000000000000000 x19: ffff0000cb338000 x18: 000000000000012f x17: 3231353d64656465 x16: ffff80000dd97118 x15: ffff00011df7ce00 x14: 0000000000000010 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff8000195f6000 x9 : ffff800008826544 x8 : 0000000000040000 x7 : ffff800008165f50 x6 : 0000000000000000 x5 : 0000000000000080 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:584 irq event stamp: 3840 hardirqs last enabled at (3839): [] queue_work_on+0xdc/0x15c kernel/workqueue.c:1549 hardirqs last disabled at (3840): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (3820): [] _stext+0x2e4/0x37c softirqs last disabled at (3745): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- __quota_error: 9 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.