------------[ cut here ]------------ le32_to_cpu(aed->lengthAllocDescs) != epos->offset - sizeof(struct allocExtDesc) WARNING: fs/udf/inode.c:2100 at __udf_add_aext+0x52b/0x6e0 fs/udf/inode.c:2099, CPU#1: syz.3.4695/25751 Modules linked in: CPU: 1 UID: 0 PID: 25751 Comm: syz.3.4695 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__udf_add_aext+0x52b/0x6e0 fs/udf/inode.c:2099 Code: 81 c4 48 ff ff ff 4c 89 e6 e8 d1 8b f8 fe 31 c0 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 96 a4 60 fe 90 <0f> 0b 90 e9 0d fc ff ff e8 88 a4 60 fe 90 0f 0b 90 e9 5f fd ff ff RSP: 0018:ffffc9000668f798 EFLAGS: 00010287 RAX: ffffffff83671c3a RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc90014d25000 RSI: 0000000000024b13 RDI: 0000000000024b14 RBP: 1ffff92000cd1f55 R08: ffff888021378000 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000002 R12: 00000000000001e0 R13: 0000000000000000 R14: ffffc9000668faa0 R15: ffffc9000668faa8 FS: 00007f3056e5a6c0(0000) GS:ffff888124dd4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3e9d46 CR3: 00000000772b0000 CR4: 00000000003526f0 DR0: 0000000000000008 DR1: 0000000000000002 DR2: 0000000000000404 DR3: ffffffffefffff14 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: udf_setup_indirect_aext+0x619/0x800 fs/udf/inode.c:2062 udf_add_aext fs/udf/inode.c:2152 [inline] udf_do_extend_file+0x8a2/0x11e0 fs/udf/inode.c:599 udf_extend_file fs/udf/inode.c:720 [inline] udf_setsize+0xb7d/0xf50 fs/udf/inode.c:1304 udf_setattr+0x412/0x6f0 fs/udf/file.c:238 notify_change+0xbba/0xea0 fs/attr.c:556 do_truncate+0x1c2/0x250 fs/open.c:68 vfs_truncate+0x4b4/0x540 fs/open.c:118 ksys_truncate+0xf3/0x1c0 fs/open.c:142 __do_sys_truncate fs/open.c:154 [inline] __se_sys_truncate fs/open.c:152 [inline] __x64_sys_truncate+0x5b/0x70 fs/open.c:152 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3055f9e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3056e5a028 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f3056226270 RCX: 00007f3055f9e159 RDX: 0000000000000000 RSI: 0000040000000000 RDI: 0000200000000340 RBP: 00007f3056035024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3056226308 R14: 00007f3056226270 R15: 00007ffd8f9c8788