------------[ cut here ]------------ WARNING: CPU: 1 PID: 8383 at fs/ext4/mballoc.c:1869 mb_find_extent+0x7a2/0xc20 fs/ext4/mballoc.c:1869 Modules linked in: CPU: 1 PID: 8383 Comm: syz-executor.3 Not tainted 6.2.0-rc3-syzkaller-00165-gd9fc1511728c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mb_find_extent+0x7a2/0xc20 fs/ext4/mballoc.c:1869 Code: 4c 24 10 e8 40 1c 5b ff 48 8b 44 24 08 48 8b 4c 24 10 48 8b 54 24 18 48 39 c8 0f 86 a9 fb ff ff 48 89 54 24 08 e8 ce 1f 5b ff <0f> 0b 4c 89 e1 48 8b 54 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0018:ffffc90004606788 EFLAGS: 00010212 RAX: 000000000002b195 RBX: ffffc90004606ab8 RCX: ffffc90005691000 RDX: 0000000000040000 RSI: ffffffff82255412 RDI: 0000000000000006 RBP: 000000000000002c R08: 0000000000000006 R09: 000000000000002c R10: 0000000000000029 R11: 1ffff11010fac4da R12: ffffc900046068f0 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900046068fc FS: 00007fd3531e6700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f157d70e260 CR3: 000000001e9d5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_complex_scan_group+0x323/0x9f0 fs/ext4/mballoc.c:2307 ext4_mb_regular_allocator+0xe9f/0x3690 fs/ext4/mballoc.c:2735 ext4_mb_new_blocks+0x1b3b/0x50f0 fs/ext4/mballoc.c:5605 ext4_ext_map_blocks+0x2303/0x6270 fs/ext4/extents.c:4286 ext4_map_blocks+0x779/0x18d0 fs/ext4/inode.c:651 ext4_getblk+0x5f6/0x7a0 fs/ext4/inode.c:864 ext4_bread+0x2e/0x190 fs/ext4/inode.c:920 ext4_quota_write+0x218/0x620 fs/ext4/super.c:7105 write_blk+0x12e/0x220 fs/quota/quota_tree.c:64 get_free_dqblk+0x104/0x2f0 fs/quota/quota_tree.c:130 do_insert_tree+0x3c5/0x12d0 fs/quota/quota_tree.c:340 do_insert_tree+0x113e/0x12d0 fs/quota/quota_tree.c:375 do_insert_tree+0x488/0x12d0 fs/quota/quota_tree.c:375 dq_insert_tree fs/quota/quota_tree.c:401 [inline] qtree_write_dquot+0x3b4/0x570 fs/quota/quota_tree.c:420 v2_write_dquot+0x120/0x250 fs/quota/quota_v2.c:358 dquot_acquire+0x3d1/0x6c0 fs/quota/dquot.c:444 ext4_acquire_dquot+0x2b1/0x3d0 fs/ext4/super.c:6740 dqget+0x67d/0x1080 fs/quota/dquot.c:914 __dquot_initialize+0x560/0xbe0 fs/quota/dquot.c:1492 ext4_process_orphan+0x47/0x410 fs/ext4/orphan.c:329 ext4_orphan_cleanup+0x6fb/0x10f0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5516 [inline] ext4_fill_super+0x9f20/0xb220 fs/ext4/super.c:5644 get_tree_bdev+0x444/0x760 fs/super.c:1282 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489 do_new_mount fs/namespace.c:3145 [inline] path_mount+0x132a/0x1e20 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] __x64_sys_mount+0x283/0x300 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd35248d5fa 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:00007fd3531e5f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000004b1 RCX: 00007fd35248d5fa RDX: 0000000020000040 RSI: 0000000020000500 RDI: 00007fd3531e5fe0 RBP: 00007fd3531e6020 R08: 00007fd3531e6020 R09: 0000000000000004 R10: 0000000000000004 R11: 0000000000000202 R12: 0000000020000040 R13: 0000000020000500 R14: 00007fd3531e5fe0 R15: 0000000020000200