------------[ cut here ]------------ WARNING: CPU: 1 PID: 14480 at fs/udf/inode.c:638 udf_extend_file fs/udf/inode.c:638 [inline] WARNING: CPU: 1 PID: 14480 at fs/udf/inode.c:638 udf_setsize+0xa83/0x1100 fs/udf/inode.c:1234 Modules linked in: CPU: 0 PID: 14480 Comm: syz-executor.0 Not tainted 6.2.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:udf_extend_file fs/udf/inode.c:638 [inline] RIP: 0010:udf_setsize+0xa83/0x1100 fs/udf/inode.c:1234 Code: e9 06 e8 60 22 a3 fe 44 89 e9 44 8b ac 24 80 00 00 00 48 d3 e3 48 89 de 4c 89 ef e8 97 1e a3 fe 49 39 dd 7e 07 e8 3d 22 a3 fe <0f> 0b e8 36 22 a3 fe 8b 9c 24 d8 00 00 00 48 83 bc 24 d0 00 00 00 RSP: 0018:ffffc9000aa2fb88 EFLAGS: 00010216 RAX: 00000000000009f1 RBX: 0000000000000200 RCX: ffffc90005509000 RDX: 0000000000040000 RSI: ffffffff82de4073 RDI: 0000000000000006 RBP: ffffc9000aa2fd20 R08: 0000000000000006 R09: 000000003ffffe00 R10: 0000000000000200 R11: 0000000000000000 R12: ffff888089a9ee40 R13: 000000003ffffe00 R14: ffff888089a9ef0a R15: 0000000000000002 FS: 00007f4cb2a57700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd53df83558 CR3: 000000007cd8f000 CR4: 0000000000350ee0 Call Trace: udf_setattr+0x4a8/0x5e0 fs/udf/file.c:281 notify_change+0xca7/0x1420 fs/attr.c:482 do_truncate+0x143/0x200 fs/open.c:65 do_sys_ftruncate+0x51f/0x710 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4cb1c8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4cb2a57168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f4cb1dac050 RCX: 00007f4cb1c8c0c9 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005 RBP: 00007f4cb1ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff5233c8f R14: 00007f4cb2a57300 R15: 0000000000022000