EXT4-fs warning (device loop5): ext4_da_update_reserve_space:372: ext4_da_update_reserve_space: ino 15, used 1 with only 0 reserved data blocks ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18198 at fs/ext4/inode.c:373 ext4_da_update_reserve_space+0x419/0x730 fs/ext4/inode.c:369 Modules linked in: CPU: 0 PID: 18198 Comm: syz-executor.5 Not tainted 6.3.0-rc3-syzkaller-00362-g18940c888c85 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:ext4_da_update_reserve_space+0x419/0x730 fs/ext4/inode.c:373 Code: 4c 89 ff 48 c7 c6 19 ae 82 8c ba 74 01 00 00 48 c7 c1 c0 3c fc 8a 49 c7 c0 19 ae 82 8c 41 55 41 54 e8 9b bb 0e 00 48 83 c4 10 <0f> 0b 48 bd 00 00 00 00 00 fc ff df 0f b6 04 2b 84 c0 0f 85 8f 01 RSP: 0000:ffffc900045a6a70 EFLAGS: 00010282 RAX: b1b860669896e600 RBX: 1ffff11007a48c55 RCX: b1b860669896e600 RDX: ffffc9000ef18000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff88803d245d38 R08: ffffffff816de46c R09: fffff520008b4cdd R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88803d245cf8 R15: ffff888032cb2000 FS: 00007f6456a00700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fabbe2d7000 CR3: 0000000077bd9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_map_blocks+0xb64/0x1cf0 fs/ext4/inode.c:672 mpage_map_one_extent fs/ext4/inode.c:2421 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2474 [inline] ext4_do_writepages+0x189f/0x3d20 fs/ext4/inode.c:2876 ext4_writepages+0x1e5/0x290 fs/ext4/inode.c:2964 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] file_write_and_wait_range+0x20f/0x300 mm/filemap.c:781 ext4_sync_file+0x22a/0xbb0 fs/ext4/fsync.c:151 generic_write_sync include/linux/fs.h:2452 [inline] ext4_buffered_write_iter+0x30a/0x3a0 fs/ext4/file.c:296 ext4_file_write_iter+0x1d6/0x1930 do_iter_write+0x6ea/0xc50 fs/read_write.c:861 iter_file_splice_write+0x843/0xfe0 fs/splice.c:778 do_splice_from fs/splice.c:856 [inline] direct_splice_actor+0xe7/0x1c0 fs/splice.c:1022 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:977 do_splice_direct+0x283/0x3d0 fs/splice.c:1065 do_sendfile+0x620/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6455c8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6456a00168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f6455dac120 RCX: 00007f6455c8c0f9 RDX: 0000000000000000 RSI: 000000000000000d RDI: 000000000000000c RBP: 00007f6455ce7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc4003c48f R14: 00007f6456a00300 R15: 0000000000022000