UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) UDF-fs: error (device loop0): udf_bitmap_new_block: bitmap for partition 0 corrupted (block 241 marked as free, partition length is 32) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5048 at fs/udf/truncate.c:204 udf_truncate_extents+0x10a8/0x12c0 Modules linked in: CPU: 0 PID: 5048 Comm: syz-executor351 Not tainted 6.6.0-syzkaller-10265-gbabe393974de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:udf_truncate_extents+0x10a8/0x12c0 fs/udf/truncate.c:204 Code: 0f 85 1e 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 35 78 82 fe 41 be fb ff ff ff eb 86 e8 28 78 82 fe <0f> 0b eb 87 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc90003cb7880 EFLAGS: 00010293 RAX: ffffffff830c45a8 RBX: dffffc0000000000 RCX: ffff88807c773b80 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000000 RBP: ffffc90003cb7a78 R08: ffffffff830c39a5 R09: ffffffff830a15f4 R10: 0000000000000002 R11: ffff88807c773b80 R12: ffff88801ff20018 R13: 000000000000000a R14: 0000000000000000 R15: 00000000000000ff FS: 00005555570c5380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec6618b78 CR3: 0000000072e91000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x172/0x1b0 fs/udf/inode.c:178 udf_write_begin+0x170/0x1a0 fs/udf/inode.c:264 generic_perform_write+0x31b/0x630 mm/filemap.c:3969 udf_file_write_iter+0x2fd/0x660 fs/udf/file.c:111 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f42c3895679 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff10ee4fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fff10ee5188 RCX: 00007f42c3895679 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f42c3908610 R08: 0000000000000000 R09: 00007fff10ee5188 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff10ee5178 R14: 0000000000000001 R15: 0000000000000001