UDF-fs: error (device loop0): udf_bitmap_new_block: bitmap for partition 0 corrupted (block 264 marked as free, partition length is 40) ------------[ cut here ]------------ byte_offset WARNING: fs/udf/truncate.c:224 at udf_truncate_extents+0xd8d/0xf00 fs/udf/truncate.c:224, CPU#0: syz.0.0/5320 Modules linked in: CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:udf_truncate_extents+0xd8d/0xf00 fs/udf/truncate.c:224 Code: 9a c5 0f 48 3b 84 24 80 01 00 00 75 7a 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 8a 82 5b 08 cc e8 64 cf 6e fe 90 <0f> 0b 90 e9 64 ff ff ff 44 89 e9 80 e1 07 38 c1 0f 8c e0 f3 ff ff RSP: 0018:ffffc9000dc86680 EFLAGS: 00010293 RAX: ffffffff8356d61c RBX: 1ffff1100a094f22 RCX: ffff888036764980 RDX: 0000000000000000 RSI: 0000000000000120 RDI: 0000000000000000 RBP: ffffc9000dc86858 R08: ffff888036764980 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000120 R15: 0000000000000120 FS: 00007f89a06836c0(0000) GS:ffff88808ca59000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 0000000044981000 CR4: 0000000000352ef0 Call Trace: udf_write_failed+0x185/0x1c0 fs/udf/inode.c:178 udf_write_begin+0x215/0x270 fs/udf/inode.c:265 generic_perform_write+0x2e2/0x8f0 mm/filemap.c:4314 udf_file_write_iter+0x2ca/0x6b0 fs/udf/file.c:112 __kernel_write_iter+0x41e/0x880 fs/read_write.c:621 __kernel_write+0x106/0x170 fs/read_write.c:641 __dump_emit fs/coredump.c:1221 [inline] dump_emit+0x8e9/0xab0 fs/coredump.c:1259 elf_core_dump+0x2e5d/0x3ad0 fs/binfmt_elf.c:2089 coredump_write+0x1216/0x1910 fs/coredump.c:1050 do_coredump fs/coredump.c:1127 [inline] vfs_coredump+0x36a9/0x4280 fs/coredump.c:1201 get_signal+0x1107/0x1330 kernel/signal.c:3019 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop kernel/entry/common.c:98 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:270 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:339 [inline] irqentry_exit+0x176/0x620 kernel/entry/common.c:219 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0033:0x1230ed257cf8 Code: Unable to access opcode bytes at 0x1230ed257cce. RSP: 002b:00002000000002a8 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f899fa15fa0 RCX: 00007f899f79c799 RDX: 0000200000000040 RSI: 00002000000002a0 RDI: 0000000001000000 RBP: 00007f899f832bd9 R08: 0000200000000840 R09: 0000200000000840 R10: 00002000000000c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f899fa16038 R14: 00007f899fa15fa0 R15: 00007fffb6dac9b8