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: 1 PID: 5019 at fs/udf/truncate.c:204 udf_truncate_extents+0x8a9/0x9d0 fs/udf/truncate.c:204 Modules linked in: CPU: 1 PID: 5019 Comm: syz-executor140 Not tainted 6.4.0-syzkaller-12491-gc192ac735768 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:udf_truncate_extents+0x8a9/0x9d0 fs/udf/truncate.c:204 Code: 84 d2 74 05 e8 a8 bb ee fe 8b 44 24 28 be 07 00 00 00 48 89 df 89 83 cc fe ff ff e8 21 b9 0a ff e9 a5 fd ff ff e8 57 85 9b fe <0f> 0b e9 1f fe ff ff e8 4b 85 9b fe 0f 0b 48 8b 7c 24 10 48 89 74 RSP: 0018:ffffc900039ff9d8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880741a87c0 RCX: 0000000000000000 RDX: ffff88802bb39dc0 RSI: ffffffff82e95c69 RDI: 0000000000000007 RBP: ffffc900039ffad0 R08: 0000000000000007 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000001 R12: ffff8880792c2000 R13: 000000000000000a R14: 00000000000000ff R15: ffffc900039ffa90 FS: 0000555556c4a300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f038d1f1b10 CR3: 000000002be9b000 CR4: 0000000000350ee0 Call Trace: udf_write_failed.isra.0+0x173/0x1c0 fs/udf/inode.c:178 udf_write_begin+0x2cb/0x370 fs/udf/inode.c:264 generic_perform_write+0x26b/0x5d0 mm/filemap.c:3923 __generic_file_write_iter+0x1f8/0x240 mm/filemap.c:4018 udf_file_write_iter+0x239/0x740 fs/udf/file.c:111 call_write_iter include/linux/fs.h:1871 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x981/0xda0 fs/read_write.c:584 ksys_write+0x122/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbbbfe5b819 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffedea8afd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbbbfe5b819 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007fbbbfe1b0b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbbbfe1b140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000