------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1159! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5327 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:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1db4/0x1de0 fs/ocfs2/aops.c:1219 Code: 00 48 c7 c6 b7 2e d2 8d ba 6a 04 00 00 48 c7 c1 80 62 f1 8b e8 3d 4e 1c 00 48 8b 04 24 c6 40 1e f8 90 0f 0b e8 0d 48 13 fe 90 <0f> 0b e8 05 48 13 fe 90 0f 0b e8 fd 47 13 fe 90 0f 0b e8 f5 47 13 RSP: 0018:ffffc9000e895c00 EFLAGS: 00010293 RAX: ffffffff83b13ee3 RBX: ffff8880426fc014 RCX: ffff888032c624c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000e895f30 R08: ffff888011bc4023 R09: 1ffff11002378804 R10: dffffc0000000000 R11: ffffed1002378805 R12: ffff888034b54000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880426fc014 FS: 00007f5cbbb106c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ab2626a3c CR3: 0000000012e1c000 CR4: 0000000000352ef0 Call Trace: ocfs2_write_begin_nolock+0x3305/0x4140 fs/ocfs2/aops.c:1796 ocfs2_write_begin+0x1c5/0x320 fs/ocfs2/aops.c:1884 generic_perform_write+0x2e2/0x8f0 mm/filemap.c:4314 ocfs2_file_write_iter+0x1663/0x1e20 fs/ocfs2/file.c:2475 __kernel_write_iter+0x41e/0x880 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0xb89/0x12d0 fs/coredump.c:1372 elf_core_dump+0x34c2/0x3ad0 fs/binfmt_elf.c:2111 coredump_write+0x1219/0x1950 fs/coredump.c:1049 do_coredump fs/coredump.c:1126 [inline] vfs_coredump+0x369e/0x4270 fs/coredump.c:1200 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:41 [inline] exit_to_user_mode_loop kernel/entry/common.c:75 [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:196 exc_general_protection+0x169/0x1f0 arch/x86/kernel/traps.c:913 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:612 RIP: 0033:0x7f5cbab9aec1 Code: 00 00 00 00 0f 1f 44 00 00 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 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000200000000270 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f5cbae15fa0 RCX: 00007f5cbab9aeb9 RDX: 0000200000000100 RSI: 0000200000000270 RDI: 0000000000008000 RBP: 00007f5cbac08c1f R08: 0000200000000340 R09: 0000200000000340 R10: 0000200000000300 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f5cbae16038 R14: 00007f5cbae15fa0 R15: 00007ffdf6c54178 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1db4/0x1de0 fs/ocfs2/aops.c:1219 Code: 00 48 c7 c6 b7 2e d2 8d ba 6a 04 00 00 48 c7 c1 80 62 f1 8b e8 3d 4e 1c 00 48 8b 04 24 c6 40 1e f8 90 0f 0b e8 0d 48 13 fe 90 <0f> 0b e8 05 48 13 fe 90 0f 0b e8 fd 47 13 fe 90 0f 0b e8 f5 47 13 RSP: 0018:ffffc9000e895c00 EFLAGS: 00010293 RAX: ffffffff83b13ee3 RBX: ffff8880426fc014 RCX: ffff888032c624c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000e895f30 R08: ffff888011bc4023 R09: 1ffff11002378804 R10: dffffc0000000000 R11: ffffed1002378805 R12: ffff888034b54000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880426fc014 FS: 00007f5cbbb106c0(0000) GS:ffff88808ccea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5cbbaeeff0 CR3: 0000000012e1c000 CR4: 0000000000352ef0