------------[ cut here ]------------ WARNING: CPU: 0 PID: 7479 at fs/udf/truncate.c:204 udf_truncate_extents+0x77a/0xa00 fs/udf/truncate.c:204 Modules linked in: CPU: 0 PID: 7479 Comm: syz-executor211 Not tainted 6.9.0-rc5-syzkaller-00355-g2c8159388952 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:udf_truncate_extents+0x77a/0xa00 fs/udf/truncate.c:204 Code: d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 3b 27 8b fe 31 ff 4c 89 ee e8 41 22 8b fe 4d 85 ed 74 86 e8 27 27 8b fe 90 <0f> 0b 90 e9 78 ff ff ff c7 44 24 48 08 00 00 00 e9 5d fa ff ff e8 RSP: 0000:ffffc90006ae7258 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802ff5bb00 RCX: ffffffff830298ff RDX: ffff88801f544880 RSI: ffffffff83029909 RDI: 0000000000000007 RBP: ffff888024640000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000001f9d9ff R11: 0000000000000004 R12: 00000000000000ff R13: 0000000001f9d9ff R14: ffffc90006ae7308 R15: ffffc90006ae7348 FS: 00007fd330ee26c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006c000 CR3: 000000001f136000 CR4: 0000000000350ef0 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+0xf9b/0x3f60 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+0x4fb/0x16e0 fs/buffer.c:2105 udf_page_mkwrite+0x48b/0xaf0 fs/udf/file.c:65 do_page_mkwrite+0x17d/0x390 mm/memory.c:3091 wp_page_shared mm/memory.c:3478 [inline] do_wp_page+0xb3c/0x3780 mm/memory.c:3628 handle_pte_fault mm/memory.c:5316 [inline] __handle_mm_fault+0x1fc7/0x4a80 mm/memory.c:5441 handle_mm_fault+0x476/0xa00 mm/memory.c:5606 do_user_addr_fault+0x426/0x1080 arch/x86/mm/fault.c:1362 handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fd330f53fcc Code: 00 00 00 74 a0 83 f9 c0 0f 87 56 fe ff ff 62 e1 fe 28 6f 4e 01 48 29 fe 48 83 c7 3f 49 8d 0c 10 48 83 e7 c0 48 01 fe 48 29 f9 a4 62 c1 fe 28 7f 00 62 c1 fe 28 7f 48 01 c3 0f 1f 40 00 4c 8b RSP: 002b:00007fd330ee2218 EFLAGS: 00010202 RAX: 000000002005d540 RBX: 00007fd3310156e8 RCX: 00000000000106d7 RDX: 000000000001f197 RSI: 00007fd330fd1798 RDI: 000000002006c000 RBP: 00007fd3310156e0 R08: 000000002005d540 R09: 00007fd330ee1fa8 R10: 0000000000000000 R11: 0000000000000001 R12: 00007fd330fe1e70 R13: 00007fd330fc2073 R14: 0030656c69662f2e R15: 00007fd330fc2cd8