------------[ cut here ]------------ WARNING: CPU: 1 PID: 16156 at fs/udf/inode.c:638 udf_extend_file fs/udf/inode.c:638 [inline] WARNING: CPU: 1 PID: 16156 at fs/udf/inode.c:638 udf_setsize+0xa83/0x1100 fs/udf/inode.c:1236 Modules linked in: CPU: 0 PID: 16156 Comm: syz-executor.0 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c #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:1236 Code: dc 06 e8 10 22 a3 fe 44 89 e9 44 8b ac 24 80 00 00 00 48 d3 e3 48 89 de 4c 89 ef e8 47 1e a3 fe 49 39 dd 7e 07 e8 ed 21 a3 fe <0f> 0b e8 e6 21 a3 fe 8b 9c 24 d8 00 00 00 48 83 bc 24 d0 00 00 00 RSP: 0018:ffffc9000323fb88 EFLAGS: 00010216 RAX: 0000000000029f6b RBX: 0000000000000800 RCX: ffffc90004ef2000 RDX: 0000000000040000 RSI: ffffffff82de2f13 RDI: 0000000000000006 RBP: ffffc9000323fd20 R08: 0000000000000006 R09: 0000000000000c00 R10: 0000000000000800 R11: 0000000000000000 R12: ffff8880895a07c0 R13: 0000000000000c00 R14: ffff8880895a088a R15: 0000000000000000 FS: 00007ff2031d6700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9a3b85058 CR3: 000000001c0f3000 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:0x7ff20248c0d9 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:00007ff2031d6168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007ff2025abf80 RCX: 00007ff20248c0d9 RDX: 0000000000000000 RSI: 00000000000007fb RDI: 0000000000000004 RBP: 00007ff2024e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb3afa44f R14: 00007ff2031d6300 R15: 0000000000022000