kworker/u4:27: attempt to access beyond end of device loop0: rw=1, sector=2052, nr_sectors = 1 limit=2048 Buffer I/O error on dev loop0, logical block 2052, lost async page write ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4535 at fs/udf/truncate.c:208 udf_truncate_extents+0xf90/0x11a0 Modules linked in: CPU: 0 PID: 4535 Comm: kworker/u4:27 Not tainted 6.1.35-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:udf_truncate_extents+0xf90/0x11a0 fs/udf/truncate.c:208 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 6c 1f 8c 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 50 1f 8c 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:ffffc900150565c0 EFLAGS: 00010293 RAX: ffffffff82fdb740 RBX: 1ffff92002a0acd0 RCX: ffff888022e71dc0 RDX: 0000000000000000 RSI: 000000000076bf10 RDI: 0000000000000000 RBP: ffffc900150567b0 R08: ffffffff82fdac3b R09: ffffffff82fb4f10 R10: 0000000000000002 R11: ffff888022e71dc0 R12: dffffc0000000000 R13: 000000000076bf10 R14: 0000000000000000 R15: 00000000000000ff FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa38c986058 CR3: 000000009e9d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_do_extend_file+0xdc9/0x1140 fs/udf/inode.c:592 inode_getblk fs/udf/inode.c:799 [inline] udf_get_block+0x1520/0x4d10 fs/udf/inode.c:449 __mpage_writepage+0x40d/0x1930 fs/mpage.c:533 write_cache_pages+0x92e/0x15c0 mm/page-writeback.c:2360 mpage_writepages+0x103/0x1d0 fs/mpage.c:664 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 __writeback_single_inode+0x15d/0x11e0 fs/fs-writeback.c:1590 writeback_sb_inodes+0xc21/0x1ac0 fs/fs-writeback.c:1881 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2055 wb_do_writeback fs/fs-writeback.c:2198 [inline] wb_workfn+0x427/0x1020 fs/fs-writeback.c:2238 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306