------------[ cut here ]------------ WARNING: CPU: 1 PID: 1142 at fs/udf/truncate.c:208 udf_truncate_extents+0xf90/0x11a0 Modules linked in: CPU: 1 PID: 1142 Comm: kworker/u4:3 Not tainted 5.15.144-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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 4c 29 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 30 29 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:ffffc9000552e5a0 EFLAGS: 00010293 RAX: ffffffff82dafe40 RBX: 1ffff92000aa5ccc RCX: ffff88801d478000 RDX: 0000000000000000 RSI: 0000000001d845fb RDI: 0000000000000000 RBP: ffffc9000552e790 R08: ffffffff82daf33b R09: ffffffff82d896b0 R10: 0000000000000002 R11: ffff88801d478000 R12: dffffc0000000000 R13: 0000000001d845fb R14: 0000000000000000 R15: 00000000000000ff FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000010 CR3: 00000000235c3000 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:591 inode_getblk fs/udf/inode.c:798 [inline] udf_get_block+0x1727/0x5360 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:1647 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2288 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298