The kernel package in Linux distros is not tied to the userland which means you're free to install as many kernels as you want and boot into any of them.

So, forget about "upgrading" and "downgrading". Think about "installing" and "removing" kernel packages.

If you want to install mainline stable kernels in CentOS please enable this repo: https://elrepo.org/tiki/kernel-ml

Answer from Artem S. Tashkinov on Stack Exchange
Top answer
1 of 2
2

The kernel package in Linux distros is not tied to the userland which means you're free to install as many kernels as you want and boot into any of them.

So, forget about "upgrading" and "downgrading". Think about "installing" and "removing" kernel packages.

If you want to install mainline stable kernels in CentOS please enable this repo: https://elrepo.org/tiki/kernel-ml

2 of 2
0

This would list the available versions:

dnf --showduplicates search kernel | grep kernel-5

Which at least lists the last few versions (local and remote):

kernel-5.14.0-427.18.1.el9_4.x86_64 : The Linux kernel
kernel-5.14.0-427.20.1.el9_4.x86_64 : The Linux kernel
kernel-5.14.0-427.22.1.el9_4.x86_64 : The Linux kernel
kernel-5.14.0-427.22.1.el9_4.x86_64 : The Linux kernel

Which then can be installed and chosen from, at boot-time:

sudo dnf install kernel-5.14.0-427.18.1.el9_4.x86_64

It all depends which packages the RPM repository has even available:

sudo dnf downgrade kernel-5.14.0-427.22.1.el9_4.x86_64
Package kernel of lowest version already installed, cannot downgrade it.

In this case, one can only use local *.rpm (eg, from BaseOS, AppStream) to downgrade:

sudo dnf install \
~/Downloads/kernel-5.14.0-427.16.1.el9_4.x86_64.rpm \
~/Downloads/kernel-core-5.14.0-427.16.1.el9_4.x86_64.rpm \
~/Downloads/kernel-modules-5.14.0-427.16.1.el9_4.x86_64.rpm \ 
~/Downloads/kernel-modules-core-5.14.0-427.16.1.el9_4.x86_64.rpm \
~/Downloads/kernel-devel-5.14.0-427.16.1.el9_4.x86_64.rpm \
~/Downloads/kernel-devel-matched-5.14.0-427.16.1.el9_4.x86_64.rpm \
~/Downloads/kernel-headers-5.14.0-427.16.1.el9_4.x86_64.rpm

Important: One has to install the whole bunch at once.


Another caveat may be, that installonly_limit in /etc/dnf/dnf.conf may get in the way.

On CentOS, just substitute dnf with yum.

Discussions

Downgrade kernel in CentOS from 3.10.0-862.3.3 to 3.10.0-693.5.2, how to resolve missing dependencies? - Unix & Linux Stack Exchange
Still I'm getting the same result when using rpm or yum to downgrade the kernel. ... Use rpm, beware of dependencies. ... The two kernels you reference, 3.10.0-862.3.3.el7.x86_64 and 3.10.0-693.5.2.el7.x86_64, represent CentOS 7.5 and CentOS 7.4 respectively. CentOS moves the older kernel packages to the CentOS vault when they are not current. To get YUM to use the vault you would need to disable your current CentOS base and updates repositories, and then replace them with their version ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
July 12, 2018
install centos older kernel version - Unix & Linux Stack Exchange
Currently I'm using Kernel version 3.10.0-1062.el7.x86_64 and I want to downgrade to 3.10.0-957.27.2.el7.x86_64 (that was not installed, it needed to support existing project) I've tried: yum ins... More on unix.stackexchange.com
🌐 unix.stackexchange.com
Downgrade kernel version with yum
Dear all, Now I need to downgrade my current kernel to 2.6.12 I found some pages with Google, and they said that I can do it with yum, but there is not details information. How can I use yum to downgrade kernel version :wall: Please help me Thank you very much More on unix.com
🌐 unix.com
0
0
October 19, 2017
Can I roll back the kernel from 8.1 back to the one that was shipped in 8.0? Should I?

Yes you can... should you is a different story.

yum downgrade kernel

Should do it.

More on reddit.com
🌐 r/CentOS
9
1
January 19, 2020
🌐
Red Hat
access.redhat.com › solutions › 29617
How to use yum/dnf to downgrade or rollback some package updates? - Red Hat Customer Portal
May 1, 2025 - In Yum 3.2.22, which come with Red Hat Enterprise Linux 5.4, there is a downgrade option. This will downgrade a package to the previously highest version or you can specify the whole version and release number for the package to downgrade.
🌐
Red Hat
access.redhat.com › solutions › 7134119
How To Install A Specific Kernel Version Or Downgrade The Kernel - Red Hat Customer Portal
======================== Name & ... based on version 4.18.0, heavily modified with backports kernel-4.18.0-80.el8.x86_64 : The Linux kernel kernel-4.18.0-80.1.2.el8_0.x86_64 : The Linux kernel ... ... To help identify the specific name of a kernel package to downgrade to, YUM can list all ...
🌐
TecMint
tecmint.com › home › linux distros › centos › how to downgrade rhel/centos to previous minor release
How to Downgrade RHEL/CentOS to Previous Minor Release
January 8, 2019 - For the purpose of this article, we will show how to downgrade from 7.6 to 7.5. Before we proceed, note that the kernel version for 7.5 is 3.10.0-862. Got to Red Hat Enterprise Linux Release Dates for a complete list of minor releases and associated kernel versions. Let’s check if the required kernel packages “kernel-3.10.0-862” is installed or not, using the following yum ...
🌐
Fedingo
fedingo.com › home › how to downgrade rhel/centos to previous minor release
How to Downgrade RHEL/CentOS to Previous Minor Release - Fedingo
July 23, 2025 - You can use these steps to downgrade RHEL/CentOS/Fedora/SUSE Linux systems. If you want to downgrade to two previous minor versions (7.6 to 7.4) just run the yum downgrade command twice, as long as the kernel version is compatible with it.
Find elsewhere
🌐
Unix.com
unix.com › linux and unix-like › red hat
Downgrade kernel version with yum - Red Hat - Unix Linux Community
October 19, 2017 - Dear all, Now I need to downgrade my current kernel to 2.6.12 I found some pages with Google, and they said that I can do it with yum, but there is not details information. How can I use yum to downgrade kernel versio…
🌐
MyBlog
blogofsmartwork.wordpress.com › 2015 › 03 › 11 › how-to-downgrade-kernel-and-redhat-release-to-a-previous-minor-version-of-red-hat-enterprise-linux
How to downgrade kernel and redhat-release to a previous minor version of Red Hat Enterprise Linux | MyBlog
March 11, 2015 - 2. From the system you want to downgrade, use yum list with the “*” wildcard to find all the kernel packages that would start with “kernel-“. For example, if I am downgrading from 6.5 to 6.4, I need kernel 2.6.32-358, so I would use ...
🌐
Huawei Cloud
support.huaweicloud.com › help center › bare metal server › faqs › os faq › how do i roll back the kernel version if i mistakenly upgrade the kernel?
How Do I Roll Back the Kernel Version If I Mistakenly Upgrade the Kernel?_OS FAQ_FAQs_Bare Metal Server-Huawei Cloud
July 10, 2023 - [root@bms-centos ~]# uname -a Linux bms-centos 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux · Run the yum update kernel command to upgrade the kernel.
🌐
nixCraft
cyberciti.biz › nixcraft › howto › centos › centos/rhel use yum command to downgrade or rollback updates
CentOS/RHEL Use yum Command To Downgrade or Rollback Updates - nixCraft
August 19, 2023 - Fig.01: YUM Downgrade Packages ... the whole version and release number for the package to downgrade as follows: $ sudo yum downgrade yum downgrade zsh-5.0.2-7.el7...
🌐
Red Hat
access.redhat.com › solutions › 64069
How to use yum history to roll back an update in Red Hat Enterprise Linux? - Red Hat Customer Portal
October 16, 2025 - ... From RHEL8 onward, the yum command has been replaced with dnf, so dnf can be used in place of yum in the above commands. Is there a difference between 'yum update' and 'dnf upgrade'? If the downgrade fails, you may still be able to downgrade ...
🌐
Red Hat
access.redhat.com › discussions › 2758721
Red Hat Customer Portal - Access to 24x7 support and knowledge
I have to install Stornex 5 and it only support RHE 7.2 with kernel 3.10.0-327.el7. The box I recieved was installed with 3.10.0.-514.el7 Can you tell me how i can downgrade it or, reinstall it from scratch ?
🌐
Reddit
reddit.com › r/centos › can i roll back the kernel from 8.1 back to the one that was shipped in 8.0? should i?
r/CentOS on Reddit: Can I roll back the kernel from 8.1 back to the one that was shipped in 8.0? Should I?
January 19, 2020 -

Ouch. The update to 8.1 broke a third-party kernel module that had been running fine in 8.0, but apparently is incompatible with the 4.18.0-147.3.1.el8_1.x86_64 kernel. The developer distributes the kernel module via an .rpm that installs to DKMS.

Is it possible in 8.1 to roll back to the kernel from 8.0? Is that advisable?

🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-server-73 › how-to-update-o-s-to-a-specific-kernel-level-4175515132
How to update O/S to a specific kernel level
Hello: Command yum check-update shows the latest available Oracle Linux kernel level is 2.6.32-400.36.7.el5uek. By using command yum update, how do I