------------[ cut here ]------------ WARNING: CPU: 1 PID: 5384 at fs/udf/truncate.c:208 udf_truncate_extents+0xf90/0x11a0 Modules linked in: CPU: 1 PID: 5384 Comm: kworker/u4:11 Not tainted 6.1.65-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:udf_truncate_extents+0xf90/0x11a0 fs/udf/truncate.c:208 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 6c 88 8a 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 88 8a 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:ffffc900155c65a0 EFLAGS: 00010293 RAX: ffffffff83000a30 RBX: 1ffff92002ab8ccc RCX: ffff888094b1bb80 RDX: 0000000000000000 RSI: 0000000001ff89ff RDI: 0000000000000000 RBP: ffffc900155c6790 R08: ffffffff82ffff2b R09: ffffffff82fda200 R10: 0000000000000002 R11: ffff888094b1bb80 R12: dffffc0000000000 R13: 0000000001ff89ff R14: 0000000000000000 R15: 00000000000000ff FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffebdef8e18 CR3: 0000000018271000 CR4: 00000000003506e0 Call Trace: udf_do_extend_file+0xdc9/0x1140 fs/udf/inode.c:592 inode_getblk fs/udf/inode.c:799 [inline] udf_get_block+0x1727/0x5360 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:1612 writeback_sb_inodes+0xc2b/0x1b20 fs/fs-writeback.c:1903 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2077 wb_do_writeback fs/fs-writeback.c:2220 [inline] wb_workfn+0x427/0x1020 fs/fs-writeback.c:2260 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306