UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000) ------------[ cut here ]------------ le32_to_cpu(aed->lengthAllocDescs) != epos->offset - sizeof(struct allocExtDesc) WARNING: fs/udf/inode.c:2086 at __udf_add_aext+0x52b/0x6e0 fs/udf/inode.c:2085, CPU#0: syz.0.17/5941 Modules linked in: CPU: 0 UID: 0 PID: 5941 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:__udf_add_aext+0x52b/0x6e0 fs/udf/inode.c:2085 Code: 81 c4 c8 fe ff ff 4c 89 e6 e8 91 8f fc fe 31 c0 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 d6 0d 6e fe 90 <0f> 0b 90 e9 0d fc ff ff e8 c8 0d 6e fe 90 0f 0b 90 e9 5f fd ff ff RSP: 0018:ffffc900040af858 EFLAGS: 00010293 RAX: ffffffff83570efa RBX: dffffc0000000000 RCX: ffff88801e3a8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff92000815f71 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000001 R12: 00000000000001d0 R13: 0000000000000000 R14: ffffc900040afb80 R15: ffffc900040afb88 FS: 000055557fac6500(0000) GS:ffff888125c49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de63fff CR3: 00000000432ea000 CR4: 00000000003526f0 Call Trace: udf_setup_indirect_aext+0x619/0x800 fs/udf/inode.c:2048 udf_add_aext fs/udf/inode.c:2138 [inline] udf_do_extend_file+0x8a2/0x11e0 fs/udf/inode.c:590 udf_extend_file fs/udf/inode.c:711 [inline] udf_setsize+0xb71/0x1010 fs/udf/inode.c:1298 udf_setattr+0x39f/0x5a0 fs/udf/file.c:245 notify_change+0xbb8/0xec0 fs/attr.c:556 do_truncate+0x1c2/0x250 fs/open.c:68 do_ftruncate+0x4e0/0x590 fs/open.c:194 ksys_ftruncate fs/open.c:206 [inline] __do_sys_ftruncate fs/open.c:211 [inline] __se_sys_ftruncate fs/open.c:209 [inline] __x64_sys_ftruncate+0x8f/0xe0 fs/open.c:209 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98f156de59 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:00007ffeee4ac948 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f98f17f5fa0 RCX: 00007f98f156de59 RDX: 0000000000000000 RSI: 0000008002007ffb RDI: 0000000000000004 RBP: 00007f98f1603e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f98f17f5fac R14: 00007f98f17f5fa0 R15: 00007f98f17f5fa0