loop4: detected capacity change from 0 to 2048 UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8736 at fs/udf/inode.c:676 udf_extend_file fs/udf/inode.c:676 [inline] WARNING: CPU: 1 PID: 8736 at fs/udf/inode.c:676 udf_setsize+0xa54/0x1160 fs/udf/inode.c:1293 Modules linked in: CPU: 1 UID: 0 PID: 8736 Comm: syz.4.785 Not tainted 6.15.0-syzkaller-02443-g015a99fa7665 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:udf_extend_file fs/udf/inode.c:676 [inline] RIP: 0010:udf_setsize+0xa54/0x1160 fs/udf/inode.c:1293 Code: ed 7e fe 44 89 e1 44 8b a5 e0 fe ff ff 49 d3 e6 4c 89 f6 4c 89 e7 e8 8b e8 7e fe 4d 39 f4 0f 8e 76 fc ff ff e8 cd ed 7e fe 90 <0f> 0b 90 e9 68 fc ff ff e8 bf ed 7e fe 4c 8d a3 08 ff ff ff 4c 89 RSP: 0018:ffffc9000d46fa68 EFLAGS: 00010287 RAX: 0000000000000993 RBX: ffff888058f16758 RCX: ffffc9000cf29000 RDX: 0000000000080000 RSI: ffffffff833c7da3 RDI: 0000000000000006 RBP: ffffc9000d46fc10 R08: 0000000000000006 R09: 0000000000001000 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000001000 R13: 0000000000000001 R14: 0000000000000200 R15: ffff888058f1681a FS: 00007fd899feb6c0(0000) GS:ffff888124aaa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb312063000 CR3: 0000000055cf5000 CR4: 0000000000350ef0 Call Trace: udf_setattr+0x51d/0x6b0 fs/udf/file.c:236 notify_change+0x6a9/0x1230 fs/attr.c:552 do_truncate+0x1d7/0x230 fs/open.c:68 vfs_truncate+0x5d6/0x6e0 fs/open.c:118 do_sys_truncate fs/open.c:141 [inline] __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x172/0x1e0 fs/open.c:151 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd89918e969 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:00007fd899feb038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007fd8993b5fa0 RCX: 00007fd89918e969 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00002000000000c0 RBP: 00007fd899210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd8993b5fa0 R15: 00007fff2047ad78