problem with excluding the kernel
package from updating is that you won’t know if a newer kernel would fix the potential regression that you are experiencing.
so rather than excluding kernel from updates, I would increase the number of kernels the system keeps available for booting (to 6 or 7 or whatever disk space is available on /boot).
This makes booting older kernels very easy and you don’t have to entirely role back your system (using a Timeshift snapshot or other complicated stuff).
sudo dnf history list
, sudo dnf history info <id>
, sudo dnf history undo
, sudo dnf history redo
, … are probably commands you may also want to know.
Reference: