EXT4-fs warning (device loop0): ext4_convert_unwritten_extents:5037: inode #15: block 96: len 1: ext4_ext_map_blocks returned -117 EXT4-fs (loop0): failed to convert unwritten extents to written extents -- potential data loss! (inode 15, error -117) EXT4-fs warning (device loop0): ext4_convert_unwritten_extents:5037: inode #15: block 112: len 1: ext4_ext_map_blocks returned -117 EXT4-fs (loop0): failed to convert unwritten extents to written extents -- potential data loss! (inode 15, error -117) EXT4-fs warning (device loop0): ext4_convert_unwritten_extents:5037: inode #15: block 120: len 8: ext4_ext_map_blocks returned -117 EXT4-fs (loop0): failed to convert unwritten extents to written extents -- potential data loss! (inode 15, error -117) 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: 1043 Comm: kworker/u4:7 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 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4656 Code: 3d a5 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 80 3d e4 8b 48 c7 c2 00 56 e4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 98 65 0a 00 90 <0f> 0b e8 b0 6c 39 ff 90 0f 0b e8 a8 6c 39 ff 90 0f 0b e8 a0 6c 39 RSP: 0018:ffffc90005357100 EFLAGS: 00010246 RAX: 3dc85bf657359500 RBX: 0000000000020000 RCX: 3dc85bf657359500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc90005356d47 R09: 1ffff92000a6ada8 R10: dffffc0000000000 R11: fffff52000a6ada9 R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 0000000000000000(0000) GS:ffff88808ca55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14c04ebb50 CR3: 000000001208a000 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 ext4_convert_unwritten_extents+0x2be/0x5f0 fs/ext4/extents.c:5029 ext4_convert_unwritten_io_end_vec+0xff/0x170 fs/ext4/extents.c:5069 ext4_end_io_end+0xc7/0x410 fs/ext4/page-io.c:200 ext4_do_flush_completed_IO fs/ext4/page-io.c:291 [inline] ext4_end_io_rsv_work+0x26a/0x340 fs/ext4/page-io.c:306 process_one_work kernel/workqueue.c:3276 [inline] process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3440 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 fs/ext4/mballoc.c:4656 Code: 3d a5 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 80 3d e4 8b 48 c7 c2 00 56 e4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 98 65 0a 00 90 <0f> 0b e8 b0 6c 39 ff 90 0f 0b e8 a8 6c 39 ff 90 0f 0b e8 a0 6c 39 RSP: 0018:ffffc90005357100 EFLAGS: 00010246 RAX: 3dc85bf657359500 RBX: 0000000000020000 RCX: 3dc85bf657359500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc90005356d47 R09: 1ffff92000a6ada8 R10: dffffc0000000000 R11: fffff52000a6ada9 R12: ffffffff00020800 R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 FS: 0000000000000000(0000) GS:ffff88808ca55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c1c24a8168 CR3: 000000001be8d000 CR4: 0000000000352ef0