------------[ cut here ]------------ WARNING: CPU: 0 PID: 7094 at fs/udf/inode.c:2081 __udf_add_aext+0x524/0x6d0 fs/udf/inode.c:2080 Modules linked in: CPU: 0 UID: 0 PID: 7094 Comm: syz.1.223 Not tainted 6.16.0-rc4-syzkaller-00108-g17bbde2e1716 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__udf_add_aext+0x524/0x6d0 fs/udf/inode.c:2080 Code: ae ed fe 49 8b 3e 4c 89 e6 e8 f8 f3 0f ff 31 c0 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6e 1e da fd cc e8 fd 2b 8a fe 90 <0f> 0b 90 e9 14 fc ff ff e8 ef 2b 8a fe 90 0f 0b 90 e9 66 fd ff ff RSP: 0018:ffffc90003087788 EFLAGS: 00010287 RAX: ffffffff833622a3 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9000ded0000 RSI: 0000000000003711 RDI: 0000000000003712 RBP: 1ffff92000610f59 R08: ffff88807f560000 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000002 R12: 00000000000001d0 R13: 0000000000000000 R14: ffffc90003087ac0 R15: ffffc90003087ac8 FS: 00007f67435116c0(0000) GS:ffff888125c50000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6743510f98 CR3: 0000000023aea000 CR4: 0000000000350ef0 Call Trace: udf_setup_indirect_aext+0x609/0x800 fs/udf/inode.c:2043 udf_add_aext fs/udf/inode.c:2133 [inline] udf_do_extend_file+0x870/0x1180 fs/udf/inode.c:584 udf_extend_file fs/udf/inode.c:705 [inline] udf_setsize+0xb78/0x1000 fs/udf/inode.c:1293 udf_setattr+0x3a1/0x5a0 fs/udf/file.c:236 notify_change+0xb36/0xe40 fs/attr.c:552 do_truncate+0x1a4/0x220 fs/open.c:68 vfs_truncate+0x493/0x520 fs/open.c:118 do_sys_truncate+0xdb/0x190 fs/open.c:141 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x5b/0x70 fs/open.c:151 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f674278e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6743511038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f67429b6080 RCX: 00007f674278e929 RDX: 0000000000000000 RSI: 0000040000000000 RDI: 0000200000000080 RBP: 00007f6742810b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f67429b6080 R15: 00007fff9125e2f8