------------[ cut here ]------------ WARNING: CPU: 1 PID: 10442 at fs/udf/inode.c:638 udf_extend_file fs/udf/inode.c:638 [inline] WARNING: CPU: 1 PID: 10442 at fs/udf/inode.c:638 udf_setsize+0xa83/0x1100 fs/udf/inode.c:1234 Modules linked in: CPU: 0 PID: 10442 Comm: syz-executor.2 Not tainted 6.2.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:udf_extend_file fs/udf/inode.c:638 [inline] RIP: 0010:udf_setsize+0xa83/0x1100 fs/udf/inode.c:1234 Code: ea 06 e8 00 e4 a3 fe 44 89 e9 44 8b ac 24 80 00 00 00 48 d3 e3 48 89 de 4c 89 ef e8 37 e0 a3 fe 49 39 dd 7e 07 e8 dd e3 a3 fe <0f> 0b e8 d6 e3 a3 fe 8b 9c 24 d8 00 00 00 48 83 bc 24 d0 00 00 00 RSP: 0018:ffffc9001607fb88 EFLAGS: 00010216 RAX: 0000000000000b7c RBX: 0000000000000600 RCX: ffffc90003aa2000 RDX: 0000000000040000 RSI: ffffffff82dca033 RDI: 0000000000000006 RBP: ffffc9001607fd20 R08: 0000000000000006 R09: 0000000000000c00 R10: 0000000000000600 R11: 0000000000000000 R12: ffff888081bd51d8 R13: 0000000000000c00 R14: ffff888081bd52a2 R15: 0000000000000000 FS: 00007fc139d79700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32c31000 CR3: 0000000076e7f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:0x7fc13908c0c9 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:00007fc139d79168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007fc1391ac050 RCX: 00007fc13908c0c9 RDX: 0000000000000000 RSI: 000000000000796c RDI: 0000000000000006 RBP: 00007fc1390e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc8103e8ff R14: 00007fc139d79300 R15: 0000000000022000