------------[ cut here ]------------ WARNING: CPU: 0 PID: 5029 at fs/udf/truncate.c:204 udf_truncate_extents+0x8a9/0x9d0 fs/udf/truncate.c:204 Modules linked in: CPU: 0 PID: 5029 Comm: syz-executor384 Not tainted 6.5.0-rc1-next-20230711-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:udf_truncate_extents+0x8a9/0x9d0 fs/udf/truncate.c:204 Code: 84 d2 74 05 e8 08 11 ee fe 8b 44 24 28 be 07 00 00 00 48 89 df 89 83 a4 fe ff ff e8 71 36 0a ff e9 a5 fd ff ff e8 47 dc 9a fe <0f> 0b e9 1f fe ff ff e8 3b dc 9a fe 0f 0b 48 8b 7c 24 10 48 89 74 RSP: 0000:ffffc90003a6f250 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888076758180 RCX: 0000000000000000 RDX: ffff88801f731dc0 RSI: ffffffff82ea42c9 RDI: 0000000000000007 RBP: ffffc90003a6f348 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001f8b3ff R11: 0000000000000001 R12: ffff888025c06000 R13: 0000000001f8b3ff R14: 00000000000000ff R15: ffffc90003a6f308 FS: 00007fd43fc5e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002007c000 CR3: 000000002a3fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_do_extend_file+0x51f/0x870 fs/udf/inode.c:609 inode_getblk+0x1099/0x3e50 fs/udf/inode.c:818 udf_map_block+0x2e9/0x560 fs/udf/inode.c:446 __udf_get_block+0x9c/0x330 fs/udf/inode.c:460 __block_write_begin_int+0x3b1/0x14a0 fs/buffer.c:2128 udf_page_mkwrite+0x487/0xb00 fs/udf/file.c:65 do_page_mkwrite+0x1f2/0x4f0 mm/memory.c:2952 wp_page_shared mm/memory.c:3305 [inline] do_wp_page+0xa62/0x3390 mm/memory.c:3390 handle_pte_fault mm/memory.c:4974 [inline] __handle_mm_fault+0x165d/0x4150 mm/memory.c:5098 handle_mm_fault+0x3c2/0xa20 mm/memory.c:5263 do_user_addr_fault+0x5d7/0x13a0 arch/x86/mm/fault.c:1415 handle_page_fault arch/x86/mm/fault.c:1509 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1565 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fd447ff0ca1 Code: 0a 00 0f 87 cc 00 00 00 0f 10 06 0f 10 4e 10 0f 10 56 20 0f 10 5e 30 48 83 c6 40 48 83 ea 40 0f 29 07 0f 29 4f 10 0f 29 57 20 <0f> 29 5f 30 48 83 c7 40 48 83 fa 40 77 d0 0f 11 29 0f 11 71 f0 0f RSP: 002b:00007fd43fc5e2f8 EFLAGS: 00010202 RAX: 000000002005d540 RBX: 00007fd4480997c0 RCX: 000000002007c6c7 RDX: 00000000000006c7 RSI: 00007fd448065788 RDI: 000000002007bfd0 RBP: 00007fd448065e50 R08: fffffffffffffff0 R09: 0000000000000012 R10: 00007fd43fc5e088 R11: 000000002005d540 R12: 0030656c69662f2e R13: 6f6e67693d646975 R14: 6c75662f7665642f R15: 00007fd4480997c8