------------[ cut here ]------------ WARNING: CPU: 1 PID: 5447 at fs/udf/truncate.c:208 udf_truncate_extents+0x10a8/0x12c0 Modules linked in: CPU: 1 PID: 5447 Comm: syz-executor128 Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:udf_truncate_extents+0x10a8/0x12c0 fs/udf/truncate.c:208 Code: 0f 85 1e 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 35 96 8c fe 41 be fb ff ff ff eb 86 e8 28 96 8c fe <0f> 0b eb 87 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc900043eeea0 EFLAGS: 00010293 RAX: ffffffff82fdd6f8 RBX: dffffc0000000000 RCX: ffff8880208fd7c0 RDX: 0000000000000000 RSI: 0000000001f91dff RDI: 0000000000000000 RBP: ffffc900043ef090 R08: ffffffff82fdcaf5 R09: ffffffff82fba594 R10: 0000000000000002 R11: ffff8880208fd7c0 R12: ffff888076762018 R13: 0000000001f91dff R14: 0000000000000000 R15: 00000000000000ff FS: 00007f01320ac700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020045000 CR3: 000000002a1a8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_do_extend_file+0xe4a/0x11e0 fs/udf/inode.c:613 inode_getblk fs/udf/inode.c:822 [inline] udf_map_block+0x16c0/0x4ff0 fs/udf/inode.c:450 __udf_get_block+0x126/0x410 fs/udf/inode.c:464 __block_write_begin_int+0x548/0x1a50 fs/buffer.c:2034 udf_page_mkwrite+0x5ae/0x960 fs/udf/file.c:69 do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925 wp_page_shared mm/memory.c:3274 [inline] do_wp_page+0x501/0x3620 mm/memory.c:3356 handle_pte_fault mm/memory.c:4927 [inline] __handle_mm_fault mm/memory.c:5051 [inline] handle_mm_fault+0x23a0/0x51c0 mm/memory.c:5197 do_user_addr_fault arch/x86/mm/fault.c:1407 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x5b1/0x7c0 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f013a43ecc1 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:00007f01320ac2f8 EFLAGS: 00010202 RAX: 000000002005d540 RBX: 00007f013a4e77c0 RCX: 000000002007c6c7 RDX: 00000000000066c7 RSI: 00007f013a4ad7a8 RDI: 0000000020075fd0 RBP: 00007f013a4b3e70 R08: fffffffffffffff0 R09: 0000000000000012 R10: 00007f01320ac088 R11: 000000002005d540 R12: 0030656c69662f2e R13: 6f6e67693d646975 R14: 6c75662f7665642f R15: 00007f013a4e77c8