------------[ cut here ]------------ WARNING: CPU: 0 PID: 6105 at fs/udf/truncate.c:204 udf_truncate_extents+0x776/0xa00 fs/udf/truncate.c:204 Modules linked in: CPU: 0 PID: 6105 Comm: syz-executor377 Not tainted 6.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:udf_truncate_extents+0x776/0xa00 fs/udf/truncate.c:204 Code: 01 00 00 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 8f de 93 fe 31 ff 4c 89 ee e8 15 da 93 fe 4d 85 ed 74 8a e8 7b de 93 fe 90 <0f> 0b 90 e9 7c ff ff ff c7 44 24 48 08 00 00 00 e9 61 fa ff ff e8 RSP: 0000:ffffc90004567270 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806f855398 RCX: ffffffff82f2a1db RDX: ffff88802822c200 RSI: ffffffff82f2a1e5 RDI: 0000000000000007 RBP: ffff88807e7a4000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001f8c3ff R11: 0000000000000004 R12: 00000000000000ff R13: 0000000001f8c3ff R14: ffffc90004567320 R15: ffffc90004567360 FS: 00007f50e61576c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002007c000 CR3: 000000001d38f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_do_extend_file+0x500/0x8f0 fs/udf/inode.c:607 inode_getblk+0xf99/0x3e30 fs/udf/inode.c:816 udf_map_block+0x2de/0x570 fs/udf/inode.c:444 __udf_get_block+0x99/0x330 fs/udf/inode.c:458 __block_write_begin_int+0x3c0/0x1560 fs/buffer.c:2119 udf_page_mkwrite+0x48b/0xaf0 fs/udf/file.c:65 do_page_mkwrite+0x17a/0x380 mm/memory.c:2943 wp_page_shared mm/memory.c:3338 [inline] do_wp_page+0xaa9/0x36b0 mm/memory.c:3478 handle_pte_fault mm/memory.c:5054 [inline] __handle_mm_fault+0x1d7d/0x3d70 mm/memory.c:5179 handle_mm_fault+0x47a/0xa10 mm/memory.c:5344 do_user_addr_fault+0x30b/0x1000 arch/x86/mm/fault.c:1364 handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x5d/0xc0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f50e61a080a Code: 00 01 00 00 00 74 9a 83 f9 c0 0f 87 8c fe ff ff c5 fe 6f 4e 20 48 29 fe 48 83 c7 3f 49 8d 0c 10 48 83 e7 c0 48 01 fe 48 29 f9 a4 c4 c1 7e 7f 00 c4 c1 7e 7f 48 20 e9 0b fd ff ff 0f 1f 40 00 RSP: 002b:00007f50e6157218 EFLAGS: 00010202 RAX: 000000002005d540 RBX: 00007f50e62636d8 RCX: 00000000000006d7 RDX: 000000000001f197 RSI: 00007f50e622f778 RDI: 000000002007c000 RBP: 00007f50e62636d0 R08: 000000002005d540 R09: 00007f50e6156fa8 R10: 0000000000000000 R11: 0000000000000001 R12: 00007f50e622fe50 R13: 00007f50e6210073 R14: 0030656c69662f2e R15: 00007f50e6210cb8