------------[ cut here ]------------ WARNING: CPU: 0 PID: 14769 at fs/udf/inode.c:666 udf_extend_file fs/udf/inode.c:666 [inline] WARNING: CPU: 0 PID: 14769 at fs/udf/inode.c:666 udf_setsize+0xa23/0x1150 fs/udf/inode.c:1269 Modules linked in: CPU: 0 PID: 14769 Comm: syz-executor.3 Not tainted 6.6.0-rc4-syzkaller-00158-gf291209eca5e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:udf_extend_file fs/udf/inode.c:666 [inline] RIP: 0010:udf_setsize+0xa23/0x1150 fs/udf/inode.c:1269 Code: 66 97 fe 85 db 0f 84 44 04 00 00 e8 e7 6a 97 fe be 01 00 00 00 4c 89 ff e8 fa dd fe ff 45 31 e4 e9 0d f9 ff ff e8 cd 6a 97 fe <0f> 0b e9 8d fc ff ff e8 c1 6a 97 fe 49 8d bf d0 fe ff ff 44 29 eb RSP: 0018:ffffc900049ffb78 EFLAGS: 00010287 RAX: 0000000000001dd1 RBX: 0000000000001000 RCX: ffffc9000a9b5000 RDX: 0000000000040000 RSI: ffffffff82ef5a43 RDI: 0000000000000006 RBP: ffffc900049ffd28 R08: 0000000000000006 R09: 0000000000001000 R10: 0000000000000800 R11: 0000000000000000 R12: 0000000000000800 R13: ffff888081ac1462 R14: 0000000000000000 R15: ffff888081ac1398 FS: 00007f64b2c4e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ff2a000 CR3: 000000008d003000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_setattr+0x4a4/0x5e0 fs/udf/file.c:235 notify_change+0x742/0x11c0 fs/attr.c:499 do_truncate+0x15c/0x220 fs/open.c:66 do_sys_ftruncate+0x6a2/0x790 fs/open.c:194 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f64b1e7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f64b2c4e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f64b1f9c050 RCX: 00007f64b1e7cae9 RDX: 0000000000000000 RSI: 0000000000000401 RDI: 0000000000000006 RBP: 00007f64b1ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f64b1f9c050 R15: 00007ffffe819848