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:4115: comm syz.0.0: Allocating blocks 385-513 which overlap fs metadata EXT4-fs error (device loop0): ext4_mb_mark_diskspace_used:4115: comm syz.0.0: Allocating blocks 1-17 which overlap fs metadata ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4687! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.15.0-rc1-syzkaller-00325-g7cdabafc0012 #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+0x690/0x700 fs/ext4/mballoc.c:4687 Code: c0 6d f0 8e 4c 89 e6 48 89 ea e8 5b 7b b7 02 e9 be fc ff ff e8 d1 f5 39 ff 90 0f 0b e8 c9 f5 39 ff 90 0f 0b e8 c1 f5 39 ff 90 <0f> 0b e8 b9 f5 39 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d19f368 EFLAGS: 00010293 RAX: ffffffff82895f6f RBX: 00000000ffffffff RCX: ffff888000d1a440 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 0000000000000004 R08: ffffffff82895c6f R09: 1ffff11008a02e66 R10: dffffc0000000000 R11: ffffed1008a02e67 R12: ffff888045017348 R13: 1ffff11008a02d30 R14: 0000000000000002 R15: 1ffff11008a02e69 FS: 00007ff0777666c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff077703d58 CR3: 0000000042736000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_use_preallocated+0x680/0x1420 fs/ext4/mballoc.c:4904 ext4_mb_new_blocks+0x6f1/0x4e10 fs/ext4/mballoc.c:6208 ext4_ext_map_blocks+0x1c09/0x7d80 fs/ext4/extents.c:4379 ext4_map_create_blocks fs/ext4/inode.c:519 [inline] ext4_map_blocks+0x909/0x1a70 fs/ext4/inode.c:705 ext4_alloc_file_blocks+0x482/0xed0 fs/ext4/extents.c:4520 ext4_zero_range+0x3ba/0xb50 fs/ext4/extents.c:4600 ext4_fallocate+0x6e9/0xcc0 fs/ext4/extents.c:4772 vfs_fallocate+0x627/0x7a0 fs/open.c:338 ksys_fallocate fs/open.c:362 [inline] __do_sys_fallocate fs/open.c:367 [inline] __se_sys_fallocate fs/open.c:365 [inline] __x64_sys_fallocate+0xbc/0x110 fs/open.c:365 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff07698d169 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:00007ff077766038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007ff076ba5fa0 RCX: 00007ff07698d169 RDX: 0000000000000fff RSI: 0000000000000011 RDI: 0000000000000007 RBP: 00007ff076a0e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff076ba5fa0 R15: 00007ffef0aece18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_use_inode_pa+0x690/0x700 fs/ext4/mballoc.c:4687 Code: c0 6d f0 8e 4c 89 e6 48 89 ea e8 5b 7b b7 02 e9 be fc ff ff e8 d1 f5 39 ff 90 0f 0b e8 c9 f5 39 ff 90 0f 0b e8 c1 f5 39 ff 90 <0f> 0b e8 b9 f5 39 ff 90 0f 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d19f368 EFLAGS: 00010293 RAX: ffffffff82895f6f RBX: 00000000ffffffff RCX: ffff888000d1a440 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 0000000000000004 R08: ffffffff82895c6f R09: 1ffff11008a02e66 R10: dffffc0000000000 R11: ffffed1008a02e67 R12: ffff888045017348 R13: 1ffff11008a02d30 R14: 0000000000000002 R15: 1ffff11008a02e69 FS: 00007ff0777666c0(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff077703d58 CR3: 0000000042736000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400