VFS_BUG_ON_INODE(!S_ISDIR(inode->i_mode)) encountered for inode ffff8881bb7c5f78
fs ocfs2 mode 100000 opflags 0x2 flags 0x20 state 0x0 count 2
------------[ cut here ]------------
kernel BUG at fs/namei.c:630!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6694 Comm: syz.0.177 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 ca 52 e8 fe 90 0f 0b e8 42 ad 82 ff 44 89 fd e9 6a fd ff ff e8 35 ad 82 ff 48 89 ef 48 c7 c6 a0 d1 9d 8b e8 a6 52 e8 fe 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:ffffc90008c5fa20 EFLAGS: 00010286
RAX: 000000000000008e RBX: ffffc90008c5fc58 RCX: 4fa7cdcb6d33dd00
RDX: ffffc90021c03000 RSI: 0000000000000885 RDI: 0000000000000886
RBP: ffff8881bb7c5f78 R08: ffff88823c6247d3 R09: 1ffff110478c48fa
R10: dffffc0000000000 R11: ffffed10478c48fb R12: 0000000000008000
R13: ffffc90008c5fc20 R14: 0000000000008000 R15: ffff8881742fa220
FS:  00007f77d6e996c0(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 0000000175174000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 path_lookupat+0xe4/0x8c0
 filename_lookup+0x256/0x5d0
 do_linkat+0x126/0x5b0
 __x64_sys_link+0x82/0x90
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f77d5f9acb9
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:00007f77d6e99028 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 00007f77d6216090 RCX: 00007f77d5f9acb9
RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000200000000940
RBP: 00007f77d6008bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f77d6216128 R14: 00007f77d6216090 R15: 00007ffdf5efe2e8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:link_path_walk+0x18cb/0x18d0
Code: e8 ca 52 e8 fe 90 0f 0b e8 42 ad 82 ff 44 89 fd e9 6a fd ff ff e8 35 ad 82 ff 48 89 ef 48 c7 c6 a0 d1 9d 8b e8 a6 52 e8 fe 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:ffffc90008c5fa20 EFLAGS: 00010286
RAX: 000000000000008e RBX: ffffc90008c5fc58 RCX: 4fa7cdcb6d33dd00
RDX: ffffc90021c03000 RSI: 0000000000000885 RDI: 0000000000000886
RBP: ffff8881bb7c5f78 R08: ffff88823c6247d3 R09: 1ffff110478c48fa
R10: dffffc0000000000 R11: ffffed10478c48fb R12: 0000000000008000
R13: ffffc90008c5fc20 R14: 0000000000008000 R15: ffff8881742fa220
FS:  00007f77d6e996c0(0000) GS:ffff8882a9926000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77d5fe8400 CR3: 0000000175174000 CR4: 00000000000006f0
