For the Kernel, you will have to override the kernel packages of the base image. Use rpm-ostree override replace <package-name>
to install a different version. There is a discussion on downgrading the kernel here that covers the details a bit more.