loop0: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3639 at fs/udf/truncate.c:226 udf_truncate_extents+0xf94/0x11b0 Modules linked in: CPU: 1 PID: 3639 Comm: syz-executor149 Not tainted 6.0.0-syzkaller-09413-g4899a36f91a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:udf_truncate_extents+0xf94/0x11b0 fs/udf/truncate.c:226 Code: 5c 41 5d 41 5e 41 5f 5d c3 e8 58 96 89 fe 41 be fb ff ff ff 48 8b 5c 24 60 49 bc 00 00 00 00 00 fc ff df eb 87 e8 3c 96 89 fe <0f> 0b e9 7b ff ff ff 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 RSP: 0018:ffffc90003f3f840 EFLAGS: 00010293 RAX: ffffffff82fecd04 RBX: 1ffff920007e7f20 RCX: ffff8880762a5880 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc90003f3fa40 R08: ffffffff82fec1fa R09: ffffffff82fc58b3 R10: 0000000000000002 R11: ffff8880762a5880 R12: dffffc0000000000 R13: 0000000000000200 R14: 0000000000000000 R15: 00000000000002ff FS: 0000555556ddb300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3139c1310 CR3: 0000000028334000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x197/0x1d0 fs/udf/inode.c:179 udf_write_begin+0x5c/0x60 fs/udf/inode.c:214 generic_perform_write+0x314/0x610 mm/filemap.c:3745 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3873 udf_file_write_iter+0x325/0x5f0 fs/udf/file.c:170 call_write_iter include/linux/fs.h:2190 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b5/0xbb0 fs/read_write.c:584 ksys_write+0x19b/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb3139e98f9 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff48b0bd18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000200001c0 RCX: 00007fb3139e98f9 RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff48b0bd40 R09: 00007fff48b0bd40 R10: 00007fff48b0bbf0 R11: 0000000000000246 R12: 00007fff48b0bd3c R13: 00007fff48b0bd70 R14: 00007fff48b0bd50 R15: 0000000000000019