EXT4-fs warning (device loop3): ext4_da_update_reserve_space:344: ext4_da_update_reserve_space: ino 18, used 1 with only 0 reserved data blocks ------------[ cut here ]------------ WARNING: CPU: 1 PID: 56 at fs/ext4/inode.c:345 ext4_da_update_reserve_space+0x415/0x720 fs/ext4/inode.c:341 Modules linked in: CPU: 1 PID: 56 Comm: kworker/u4:4 Not tainted 6.4.0-rc2-syzkaller-00290-gd635f6cc934b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: writeback wb_workfn (flush-7:3) RIP: 0010:ext4_da_update_reserve_space+0x415/0x720 fs/ext4/inode.c:345 Code: 4c 89 ff 48 c7 c6 eb 86 98 8c ba 58 01 00 00 48 c7 c1 c0 6f ff 8a 49 c7 c0 eb 86 98 8c 41 55 41 54 e8 6f b2 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: 0018:ffffc90001576cd0 EFLAGS: 00010282 RAX: 1679a37f3a241f00 RBX: 1ffff1100d5884cb RCX: 1679a37f3a241f00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88806ac420f0 R08: ffffffff816e92dc R09: fffff520002aed25 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88806ac420b0 R15: ffff888078358000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007f82 CR3: 0000000016379000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_map_blocks+0xb60/0x1ce0 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+0x166c/0x3d90 fs/ext4/inode.c:2703 ext4_writepages+0x1ff/0x3e0 fs/ext4/inode.c:2792 do_writepages+0x3a2/0x670 mm/page-writeback.c:2551 __writeback_single_inode+0x155/0xf90 fs/fs-writeback.c:1603 writeback_sb_inodes+0x8df/0x11d0 fs/fs-writeback.c:1894 wb_writeback+0x454/0xc60 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x3fc/0xfe0 fs/fs-writeback.c:2251 process_one_work+0x894/0x10c0 kernel/workqueue.c:2405 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2552 kthread+0x2b0/0x340 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308