UDF-fs: error (device loop5): udf_bitmap_new_block: bitmap for partition 0 corrupted (block 1048 marked as free, partition length is 672) ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5516 at fs/udf/truncate.c:226 udf_truncate_extents+0x848/0x930 fs/udf/truncate.c:226 Modules linked in: CPU: 0 PID: 5516 Comm: syz-executor.5 Not tainted 6.1.0-rc5-next-20221116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:udf_truncate_extents+0x848/0x930 fs/udf/truncate.c:226 Code: 84 d2 74 05 e8 09 50 ef fe 8b 44 24 20 be 07 00 00 00 48 89 df 89 83 cc fe ff ff e8 52 10 0b ff e9 a5 fd ff ff e8 78 ab a1 fe <0f> 0b e9 1f fe ff ff e8 6c ab a1 fe 0f 0b 48 8b 7c 24 18 e8 50 4f RSP: 0018:ffffc9000474f090 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888072e18e28 RCX: 0000000000000000 RDX: ffff888024d8ba80 RSI: ffffffff82def968 RDI: 0000000000000007 RBP: ffffc9000474f178 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: ffffc9000474f138 R13: 0000000000000200 R14: 00000000000000ff R15: ffff88807bfe2000 FS: 00007f6c92b2f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020068000 CR3: 000000006ee8f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed.isra.0+0x173/0x1c0 fs/udf/inode.c:179 udf_write_begin+0x83/0xa0 fs/udf/inode.c:214 generic_perform_write+0x256/0x570 mm/filemap.c:3771 __generic_file_write_iter+0x2ae/0x4d0 mm/filemap.c:3899 udf_file_write_iter+0x2d0/0x650 fs/udf/file.c:170 __kernel_write_iter+0x262/0x730 fs/read_write.c:517 dump_emit_page fs/coredump.c:865 [inline] dump_user_range+0x248/0x680 fs/coredump.c:916 elf_core_dump+0x26d9/0x3510 fs/binfmt_elf.c:2306 do_coredump+0x279d/0x3c90 fs/coredump.c:763 get_signal+0x1bf1/0x2440 kernel/signal.c:2844 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6c91e3d797 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f6c92b2ef00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 000000000000002b RCX: 00007f6c91e3d797 RDX: 0000000000000020 RSI: 0000000020010000 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 632e79726f6d656d R11: 0000000000000293 R12: 0000000000000008 R13: 0000000020000230 R14: 0000000000000002 R15: 00007f6c91ed5a20