------------[ cut here ]------------ kernel BUG at fs/ocfs2/uptodate.c:509! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5365 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~bpo12+1 04/01/2014 RIP: 0010:ocfs2_set_new_buffer_uptodate+0x149/0x170 fs/ocfs2/uptodate.c:509 Code: 80 3c 20 00 74 08 4c 89 f7 e8 b3 05 75 fe 4d 8b 1e 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d 41 ff e3 cc 66 90 e8 b8 1d 10 fe 90 <0f> 0b e8 b0 1d 10 fe 90 0f 0b e8 a8 1d 10 fe 90 0f 0b e8 a0 1d 10 RSP: 0018:ffffc9000edddaa8 EFLAGS: 00010293 RAX: ffffffff83af9d78 RBX: ffff888043a88830 RCX: ffff8880007ec880 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8fa3a437 R09: 1ffffffff1f47486 R10: dffffc0000000000 R11: fffffbfff1f47487 R12: 1ffff92001dbbb88 R13: dffffc0000000000 R14: ffff888000cb72b8 R15: ffff888000cb72b8 FS: 00007f5fda4956c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564797dc8290 CR3: 0000000000848000 CR4: 0000000000352ef0 Call Trace: ocfs2_extend_dir+0x1172/0x4870 fs/ocfs2/dir.c:3309 ocfs2_prepare_dx_dir_for_insert fs/ocfs2/dir.c:4232 [inline] ocfs2_prepare_dir_for_insert+0x3d7b/0x5450 fs/ocfs2/dir.c:4288 ocfs2_mknod+0x819/0x2050 fs/ocfs2/namei.c:297 ocfs2_create+0x1a5/0x440 fs/ocfs2/namei.c:676 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x14f1/0x3830 fs/namei.c:4043 do_filp_open+0x1fa/0x410 fs/namei.c:4073 file_open_name fs/open.c:1379 [inline] filp_open+0x176/0x1d0 fs/open.c:1399 coredump_file+0x33e/0xaf0 fs/coredump.c:931 vfs_coredump+0x1688/0x2a50 fs/coredump.c:1141 get_signal+0x1109/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:40 [inline] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] irqentry_exit_to_user_mode+0x81/0x120 kernel/entry/common.c:73 exc_page_fault+0x9f/0xf0 arch/x86/mm/fault.c:1535 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f5fd958ebf1 Code: 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:fffffffffffffef0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f5fd97b5fa0 RCX: 00007f5fd958ebe9 RDX: 0000000000000000 RSI: fffffffffffffef0 RDI: 0000000000a00200 RBP: 00007f5fd9611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f5fd97b6038 R14: 00007f5fd97b5fa0 R15: 00007ffd3afae1c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_set_new_buffer_uptodate+0x149/0x170 fs/ocfs2/uptodate.c:509 Code: 80 3c 20 00 74 08 4c 89 f7 e8 b3 05 75 fe 4d 8b 1e 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d 41 ff e3 cc 66 90 e8 b8 1d 10 fe 90 <0f> 0b e8 b0 1d 10 fe 90 0f 0b e8 a8 1d 10 fe 90 0f 0b e8 a0 1d 10 RSP: 0018:ffffc9000edddaa8 EFLAGS: 00010293 RAX: ffffffff83af9d78 RBX: ffff888043a88830 RCX: ffff8880007ec880 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff8fa3a437 R09: 1ffffffff1f47486 R10: dffffc0000000000 R11: fffffbfff1f47487 R12: 1ffff92001dbbb88 R13: dffffc0000000000 R14: ffff888000cb72b8 R15: ffff888000cb72b8 FS: 00007f5fda4956c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564797d7e2c0 CR3: 0000000000848000 CR4: 0000000000352ef0