You can simply prevent yum command from updating kernel by adding excluding=kernel* to /etc/yum.conf

Like mentioned above, you can simply prevent yum command from updating kernel by adding below line at the end of the file

exclude=kernel*