(syz.5.335,9209,0):ocfs2_find_entry_id:420 ERROR: status = -117
VFS_BUG_ON_INODE(!S_ISDIR(inode->i_mode)): inode:ffff888174cd16f8 fs:ocfs2 mode:100000 opflags:0x2 flags:0x20 state:0x0 count:2
------------[ cut here ]------------
kernel BUG at fs/namei.c:682!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 9209 Comm: syz.5.335 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:link_path_walk+0x18cb/0x18d0
Code: e8 8a 72 03 00 90 0f 0b e8 d2 79 7e ff 44 89 fd e9 6a fd ff ff e8 c5 79 7e ff 48 89 ef 48 c7 c6 40 ff dd 8b e8 66 72 03 00 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
RSP: 0018:ffffc90006a6f880 EFLAGS: 00010246
RAX: 234efd5cd616b000 RBX: ffffc90006a6fc58 RCX: 234efd5cd616b000
RDX: ffffc90006431000 RSI: 000000000000087e RDI: 000000000000087f
RBP: ffff888174cd16f8 R08: ffffc90006a6f467 R09: 1ffff92000d4de8c
R10: dffffc0000000000 R11: fffff52000d4de8d R12: 0000000000008000
R13: ffffc90006a6fc20 R14: 0000000000008000 R15: ffff8881743d8618
FS:  00007fe2777da6c0(0000) GS:ffff8882a9457000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd9f8165108 CR3: 000000016d732000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 path_openat+0x2c3/0x3860
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x113/0x200
 __x64_sys_open+0x11e/0x150
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe27699cdd9
Code: ff c3 66 2e 0f 1f 84 00 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 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe2777da028 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fe276c15fa0 RCX: 00007fe27699cdd9
RDX: 0000000000000001 RSI: 0000000000109042 RDI: 0000200000000100
RBP: 00007fe276a32d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe276c16038 R14: 00007fe276c15fa0 R15: 00007ffe5303d478
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:link_path_walk+0x18cb/0x18d0
Code: e8 8a 72 03 00 90 0f 0b e8 d2 79 7e ff 44 89 fd e9 6a fd ff ff e8 c5 79 7e ff 48 89 ef 48 c7 c6 40 ff dd 8b e8 66 72 03 00 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
RSP: 0018:ffffc90006a6f880 EFLAGS: 00010246
RAX: 234efd5cd616b000 RBX: ffffc90006a6fc58 RCX: 234efd5cd616b000
RDX: ffffc90006431000 RSI: 000000000000087e RDI: 000000000000087f
RBP: ffff888174cd16f8 R08: ffffc90006a6f467 R09: 1ffff92000d4de8c
R10: dffffc0000000000 R11: fffff52000d4de8d R12: 0000000000008000
R13: ffffc90006a6fc20 R14: 0000000000008000 R15: ffff8881743d8618
FS:  00007fe2777da6c0(0000) GS:ffff8882a9457000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555c588a9950 CR3: 000000016d732000 CR4: 00000000000006f0
