------------[ cut here ]------------ WARNING: CPU: 2 PID: 6994 at fs/udf/inode.c:2051 __udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2051 Modules linked in: CPU: 2 PID: 6994 Comm: syz-executor.0 Not tainted 6.10.0-rc5-syzkaller-00012-g626737a5791b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2051 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 54 01 00 00 49 8b 7c 24 28 be 18 00 00 00 e8 d9 b4 02 00 e9 11 fe ff ff e8 4f bb 8d fe 90 <0f> 0b 90 e9 22 fb ff ff e8 41 bb 8d fe 90 0f 0b 90 e9 78 fb ff ff RSP: 0018:ffffc90003437810 EFLAGS: 00010287 RAX: 000000000002d987 RBX: ffffc90003437c30 RCX: ffffc90003e26000 RDX: 0000000000040000 RSI: ffffffff83002a21 RDI: 0000000000000006 RBP: ffff888043aa8e28 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000000001d0 R11: 0000000000000000 R12: 00000000000001d0 R13: 0000000000000010 R14: 00000000000001e8 R15: ffffc90003437c38 FS: 00007f4f1094c6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001b8e6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_setup_indirect_aext+0x7fc/0x9e0 fs/udf/inode.c:2017 udf_add_aext+0x208/0x2e0 fs/udf/inode.c:2104 udf_do_extend_file+0x427/0x8f0 fs/udf/inode.c:575 udf_extend_file fs/udf/inode.c:692 [inline] udf_setsize+0xe9d/0x11a0 fs/udf/inode.c:1268 udf_setattr+0x4f1/0x640 fs/udf/file.c:235 notify_change+0x742/0x11f0 fs/attr.c:497 do_truncate+0x15c/0x220 fs/open.c:65 do_ftruncate+0x5e5/0x720 fs/open.c:181 do_sys_ftruncate fs/open.c:199 [inline] __do_sys_ftruncate fs/open.c:207 [inline] __se_sys_ftruncate fs/open.c:205 [inline] __x64_sys_ftruncate+0xa9/0x110 fs/open.c:205 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f0fc7cee9 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:00007f4f1094c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f4f0fdac050 RCX: 00007f4f0fc7cee9 RDX: 0000000000000000 RSI: 0000008002007ffb RDI: 0000000000000004 RBP: 00007f4f0fcc949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f4f0fdac050 R15: 00007ffcb9ff5d58