loop1: detected capacity change from 0 to 2048 UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7666 at fs/udf/inode.c:2051 __udf_add_aext+0x682/0x7e0 fs/udf/inode.c:2051 Modules linked in: CPU: 0 PID: 7666 Comm: syz-executor.1 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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 ff b6 8d fe 90 <0f> 0b 90 e9 22 fb ff ff e8 f1 b6 8d fe 90 0f 0b 90 e9 78 fb ff ff RSP: 0018:ffffc9000349f810 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffc9000349fc30 RCX: ffffc9000a366000 RDX: 0000000000040000 RSI: ffffffff83002e51 RDI: 0000000000000006 RBP: ffff888067829af8 R08: 0000000000000006 R09: 0000000000000000 R10: 00000000000001e0 R11: 0000000000000000 R12: 00000000000001e0 R13: 0000000000000008 R14: 00000000000001f8 R15: ffffc9000349fc38 FS: 00007f85933ff6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3212e000 CR3: 000000002cbea000 CR4: 00000000003506f0 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:0x7f859387cea9 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:00007f85933ff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f85939b4120 RCX: 00007f859387cea9 RDX: 0000000000000000 RSI: 0000040000000000 RDI: 0000000000000007 RBP: 00007f85938ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f85939b4120 R15: 00007ffd0c93a778