EXT4-fs warning (device loop4): ext4_da_update_reserve_space:341: ext4_da_update_reserve_space: ino 18, used 1 with only 0 reserved data blocks ------------[ cut here ]------------ WARNING: CPU: 0 PID: 46 at fs/ext4/inode.c:345 ext4_da_update_reserve_space+0x5d3/0x710 fs/ext4/inode.c:341 Modules linked in: CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.4.0-rc5-syzkaller-00017-ga27648c74210 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:ext4_da_update_reserve_space+0x5d3/0x710 fs/ext4/inode.c:345 Code: 02 00 0f 85 35 01 00 00 48 8b 7d 28 49 c7 c0 c0 10 63 8a 41 56 48 c7 c1 00 fa 62 8a 53 ba 55 01 00 00 4c 89 c6 e8 0d d9 0f 00 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 10 48 c1 ea 03 0f RSP: 0018:ffffc90000b77330 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888017a61dc0 RSI: ffffffff823c3608 RDI: 0000000000000005 RBP: ffff888074ed0cb0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000185790 R12: 0000000000000001 R13: ffff888078f1e000 R14: 0000000000000000 R15: ffff888074ed1318 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555609f728 CR3: 00000000281e4000 CR4: 0000000000350ef0 Call Trace: ext4_map_blocks+0xc7f/0x18d0 fs/ext4/inode.c:644 mpage_map_one_extent fs/ext4/inode.c:2183 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2236 [inline] ext4_do_writepages+0x1838/0x3290 fs/ext4/inode.c:2703 ext4_writepages+0x304/0x770 fs/ext4/inode.c:2792 do_writepages+0x1a8/0x640 mm/page-writeback.c:2551 __writeback_single_inode+0x121/0xdb0 fs/fs-writeback.c:1603 writeback_sb_inodes+0x54d/0xe70 fs/fs-writeback.c:1894 wb_writeback+0x294/0xa50 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x2a5/0xfc0 fs/fs-writeback.c:2251 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308