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: 5047 at fs/udf/truncate.c:204 udf_truncate_extents+0x775/0xa00 fs/udf/truncate.c:204 Modules linked in: CPU: 0 PID: 5047 Comm: syz-executor429 Not tainted 6.5.0-rc6-next-20230818-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:udf_truncate_extents+0x775/0xa00 fs/udf/truncate.c:204 Code: 50 01 00 00 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 ff 6f 95 fe 31 ff 4c 89 ee e8 85 6b 95 fe 4d 85 ed 74 8a e8 eb 6f 95 fe <0f> 0b eb 81 c7 44 24 48 08 00 00 00 e9 66 fa ff ff e8 d5 6f 95 fe RSP: 0018:ffffc9000391f9d8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888076410e28 RCX: 0000000000000000 RDX: ffff8880202d5940 RSI: ffffffff82f26385 RDI: 0000000000000007 RBP: ffff88814774a000 R08: 0000000000000007 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000000 R12: 00000000000000ff R13: 000000000000000a R14: ffffc9000391fa88 R15: ffffc9000391fac8 FS: 00005555562db380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 000000007c023000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed.isra.0+0x170/0x1c0 fs/udf/inode.c:178 udf_write_begin+0x2c1/0x360 fs/udf/inode.c:264 generic_perform_write+0x278/0x600 mm/filemap.c:3945 __generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4040 udf_file_write_iter+0x239/0x740 fs/udf/file.c:111 call_write_iter include/linux/fs.h:1983 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f44e342e679 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:00007ffd510738f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ffd51073ac8 RCX: 00007f44e342e679 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f44e34a1610 R08: 0000000000000000 R09: 00007ffd51073ac8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd51073ab8 R14: 0000000000000001 R15: 0000000000000001