------------[ cut here ]------------ WARNING: CPU: 3 PID: 5788 at fs/ext4/mballoc.c:1869 mb_find_extent+0x7a2/0xc20 fs/ext4/mballoc.c:1869 Modules linked in: CPU: 3 PID: 5788 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-00349-g97ec4d559d93 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:mb_find_extent+0x7a2/0xc20 fs/ext4/mballoc.c:1869 Code: 4c 24 10 e8 00 4d 5a 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 8e 50 5a 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:ffffc900299f6768 EFLAGS: 00010216 RAX: 0000000000033aaa RBX: ffffc900299f6a98 RCX: ffffc900063fb000 RDX: 0000000000040000 RSI: ffffffff82271202 RDI: 0000000000000006 RBP: 000000000000002c R08: 0000000000000006 R09: 000000000000002c R10: 0000000000000029 R11: 0000000000000000 R12: ffffc900299f68d0 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900299f68dc FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7fa0b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72b651c CR3: 0000000071eac000 CR4: 0000000000150ee0 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+0x696/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] __ia32_sys_mount+0x282/0x300 fs/namespace.c:3674 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fa5549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7fa0410 EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00000000f7fa0480 RCX: 0000000020000500 RDX: 0000000020000040 RSI: 0000000000000004 RDI: 00000000f7fa04c0 RBP: 00000000f7fa04c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi