attempt to access beyond end of device loop4: rw=1, want=2053, limit=2048 Buffer I/O error on dev loop4, logical block 2052, lost async page write ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3671 at fs/udf/truncate.c:208 udf_truncate_extents+0xf90/0x11a0 Modules linked in: CPU: 0 PID: 3671 Comm: kworker/u4:5 Not tainted 5.15.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:udf_truncate_extents+0xf90/0x11a0 fs/udf/truncate.c:208 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 5c b9 a5 fe 41 be fb ff ff ff 48 8b 5c 24 60 49 bc 00 00 00 00 00 fc ff df eb 87 e8 40 b9 a5 fe <0f> 0b e9 7b ff ff ff 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900052765a0 EFLAGS: 00010293 RAX: ffffffff82da2fa0 RBX: 1ffff92000a4eccc RCX: ffff88801e479dc0 RDX: 0000000000000000 RSI: 000000000076bf10 RDI: 0000000000000000 RBP: ffffc90005276790 R08: ffffffff82da249b R09: ffffffff82d7c810 R10: 0000000000000002 R11: ffff88801e479dc0 R12: dffffc0000000000 R13: 000000000076bf10 R14: 0000000000000000 R15: 00000000000000ff FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f745becb110 CR3: 0000000094fef000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_do_extend_file+0xdc9/0x1140 fs/udf/inode.c:591 inode_getblk fs/udf/inode.c:798 [inline] udf_get_block+0x1520/0x4d10 fs/udf/inode.c:448 __mpage_writepage+0x4f9/0x1c00 fs/mpage.c:564 write_cache_pages+0xa97/0x1160 mm/page-writeback.c:2255 mpage_writepages+0x13c/0x2f0 fs/mpage.c:712 do_writepages+0x481/0x730 mm/page-writeback.c:2364 __writeback_single_inode+0x15b/0xe30 fs/fs-writeback.c:1625 writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1908 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2082 wb_do_writeback fs/fs-writeback.c:2225 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2266 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298