loop0: detected capacity change from 0 to 1024 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs error (device loop0): ext4_mb_mark_diskspace_used:4113: comm syz.0.0: Allocating blocks 385-513 which overlap fs metadata EXT4-fs error (device loop0): ext4_mb_mark_diskspace_used:4113: comm syz.0.0: Allocating blocks 1-17 which overlap fs metadata ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4685! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.16.0-rc3-syzkaller-00346-gafa9a6f4f574 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ext4_mb_use_inode_pa+0x6c1/0x720 fs/ext4/mballoc.c:4685 Code: e8 f4 51 ab ff 48 ba 00 00 00 00 00 fc ff df e9 da fa ff ff e8 40 cf 47 ff 90 0f 0b e8 38 cf 47 ff 90 0f 0b e8 30 cf 47 ff 90 <0f> 0b e8 28 cf 47 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d4273c8 EFLAGS: 00010293 RAX: ffffffff82787f70 RBX: 00000000ffffffff RCX: ffff8880336b2440 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 1ffff11008893f30 R08: ffff8880444a05eb R09: 1ffff110088940bd R10: dffffc0000000000 R11: ffffed10088940be R12: 0000000000000004 R13: 0000000000000002 R14: 1ffff110088940c0 R15: ffff8880444a0600 FS: 00007fcbc3ff56c0(0000) GS:ffff88808d250000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbc3f92d58 CR3: 0000000043dcb000 CR4: 0000000000352ef0 Call Trace: ext4_mb_use_preallocated+0x660/0x13f0 fs/ext4/mballoc.c:4902 ext4_mb_new_blocks+0x5b4/0x46a0 fs/ext4/mballoc.c:6206 ext4_ext_map_blocks+0x161a/0x6ac0 fs/ext4/extents.c:4383 ext4_map_create_blocks fs/ext4/inode.c:609 [inline] ext4_map_blocks+0x931/0x18d0 fs/ext4/inode.c:813 ext4_alloc_file_blocks+0x3b8/0xc60 fs/ext4/extents.c:4538 ext4_zero_range+0x39b/0xb90 fs/ext4/extents.c:4618 ext4_fallocate+0x74c/0xcd0 fs/ext4/extents.c:4790 vfs_fallocate+0x6a0/0x830 fs/open.c:341 ksys_fallocate fs/open.c:365 [inline] __do_sys_fallocate fs/open.c:370 [inline] __se_sys_fallocate fs/open.c:368 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:368 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbc7b8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcbc3ff5038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fcbc7db5fa0 RCX: 00007fcbc7b8e929 RDX: 0000000000000fff RSI: 0000000000000011 RDI: 0000000000000005 RBP: 00007fcbc7c10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcbc7db5fa0 R15: 00007fffbc567e18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_use_inode_pa+0x6c1/0x720 fs/ext4/mballoc.c:4685 Code: e8 f4 51 ab ff 48 ba 00 00 00 00 00 fc ff df e9 da fa ff ff e8 40 cf 47 ff 90 0f 0b e8 38 cf 47 ff 90 0f 0b e8 30 cf 47 ff 90 <0f> 0b e8 28 cf 47 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d4273c8 EFLAGS: 00010293 RAX: ffffffff82787f70 RBX: 00000000ffffffff RCX: ffff8880336b2440 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 1ffff11008893f30 R08: ffff8880444a05eb R09: 1ffff110088940bd R10: dffffc0000000000 R11: ffffed10088940be R12: 0000000000000004 R13: 0000000000000002 R14: 1ffff110088940c0 R15: ffff8880444a0600 FS: 00007fcbc3ff56c0(0000) GS:ffff88808d250000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbc3f92d58 CR3: 0000000043dcb000 CR4: 0000000000352ef0