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: Ignoring removed oldalloc option EXT4-fs: Ignoring removed orlov option EXT4-fs (loop0): stripe (2) is not aligned with cluster size (16), stripe is disabled EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. EXT4-fs error (device loop0): ext4_map_blocks:818: inode #15: block 8192: comm syz.0.0: lblock 0 mapped to illegal pblock 8192 (length 1) EXT4-fs (loop0): Delayed block allocation failed for inode 15 at logical offset 0 with max blocks 1 with error 117 EXT4-fs (loop0): This should not happen!! Data will be lost EXT4-fs (loop0): start 0, size 131072, fe_logical 131072 ------------[ cut here ]------------ kernel BUG at fs/ext4/mballoc.c:4656! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4656 Code: 63 a5 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 00 30 e4 8b 48 c7 c2 80 48 e4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 98 65 0a 00 90 <0f> 0b e8 90 af 39 ff 90 0f 0b e8 88 af 39 ff 90 0f 0b e8 80 af 39 RSP: 0018:ffffc9000e2de820 EFLAGS: 00010246 RAX: 972bacfb5affb000 RBX: 0000000000020000 RCX: 972bacfb5affb000 RDX: ffffc90020802000 RSI: 0000000000002689 RDI: 000000000000268a RBP: 0000000000000000 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 00007f22744d46c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 0000000044532000 CR4: 0000000000352ef0 Call Trace: ext4_mb_new_blocks+0xc7f/0x4780 fs/ext4/mballoc.c:6309 ext4_ext_map_blocks+0x150a/0x58b0 fs/ext4/extents.c:4436 ext4_map_create_blocks+0x11d/0x540 fs/ext4/inode.c:616 ext4_map_blocks+0x7cd/0x11d0 fs/ext4/inode.c:809 mpage_map_one_extent fs/ext4/inode.c:2373 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2467 [inline] ext4_do_writepages+0x22c0/0x46e0 fs/ext4/inode.c:2925 ext4_writepages+0x241/0x3b0 fs/ext4/inode.c:3019 do_writepages+0x32e/0x550 mm/page-writeback.c:2554 filemap_writeback mm/filemap.c:387 [inline] filemap_fdatawrite_range mm/filemap.c:412 [inline] filemap_write_and_wait_range+0x335/0x3f0 mm/filemap.c:684 filemap_write_and_wait include/linux/pagemap.h:65 [inline] iomap_bmap+0x1f0/0x430 fs/iomap/fiemap.c:106 ext4_bmap+0x1e1/0x260 fs/ext4/inode.c:3368 bmap+0xac/0xe0 fs/inode.c:2052 ioctl_fibmap fs/ioctl.c:76 [inline] file_ioctl+0x4ac/0x860 fs/ioctl.c:326 do_vfs_ioctl+0xc26/0x1530 fs/ioctl.c:576 __do_sys_ioctl fs/ioctl.c:595 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f227359c629 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f22744d4028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2273816090 RCX: 00007f227359c629 RDX: 0000200000000080 RSI: 0000000000000001 RDI: 0000000000000008 RBP: 00007f2273632b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2273816128 R14: 00007f2273816090 R15: 00007fff708e80b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4656 Code: 63 a5 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 00 30 e4 8b 48 c7 c2 80 48 e4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 98 65 0a 00 90 <0f> 0b e8 90 af 39 ff 90 0f 0b e8 88 af 39 ff 90 0f 0b e8 80 af 39 RSP: 0018:ffffc9000e2de820 EFLAGS: 00010246 RAX: 972bacfb5affb000 RBX: 0000000000020000 RCX: 972bacfb5affb000 RDX: ffffc90020802000 RSI: 0000000000002689 RDI: 000000000000268a RBP: 0000000000000000 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 00007f22744d46c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22744b2ff8 CR3: 0000000044532000 CR4: 0000000000352ef0