If you update the Linux kernel on the VM, you need to update the kernel-devel and kernel-headers packages as well. To do so:
root.If you want to:
htdrv update command.kernel-headers and kernel-devel packages, enter the yum update kernel kernel-devel kernel-headers command.What to Do Next
If the HTCrypt Driver still reports kernel errors or that there is a mismatch between the kernel and its dependencies, you can rebuild the driver using the htdrv driver rebuild command. If this does not fix the issue, use the htdrv update command.