Skip to main content
RunBook Academy

LinuxX · Kernel ManagementKernel versions

Kernel versions, releases, and lifecycle

Foundation⏱ ~10 minbashunamedpkgrpm

What you'll learn

  • Read `uname -r` and explain the version string
  • Distinguish stable, LTS, and vendor kernels
  • Plan kernel updates for a production fleet
  • Recognise when a kernel upgrade is risk-bearing

Prerequisites

None — start here.

Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09

Not yet marked complete on this device.

The Linux kernel version is one of the most important pieces of information about a production host. It determines which features are available, which CVEs have been patched, and what the next update will look like.

The version string

Read-only / Safeuname -r
$ uname -r
6.6.31-linuxkit

Illustrative output

FieldMeaning
6Major version — rarely changes
6Minor version — increments every few weeks
31Patch level — increments per release
-linuxkitVendor or distribution suffix

Vendor suffixes are common: -aws on AWS-optimised kernels, -azure on Azure, -linuxkit on Docker Desktop, -generic on Ubuntu.

Read-only / Safeuname -a, /proc/version
$ uname -a; cat /proc/version
Linux host 6.6.31-linuxkit #1 SMP PREEMPT_DYNAMIC ... x86_64 GNU/Linux
Linux version 6.6.31-linuxkit (root@build) ...

Illustrative output

Stable, LTS, and vendor kernels

TrackCadenceSupportAudience
stableEvery 2-3 monthsUntil the next stableHobbyists, bleeding edge
longterm (LTS)Major versions selected for long support2-6 yearsProduction
linux-nextDailyNot for productionKernel developers

LTS versions are designated by Greg Kroah-Hartman and supported for years. Current LTS releases include:

  • 6.6 LTS — supported through Dec 2026
  • 6.1 LTS — supported through Dec 2026
  • 5.15 LTS — supported through Dec 2026
  • 5.10 LTS — supported through Dec 2026
  • 5.4 LTS — supported through Dec 2025
Read-only / Safekernel build
$ cat /proc/version_signature 2>/dev/null || cat /proc/version
...

Illustrative output

Vendor kernels

Most distributions ship their own kernels with distribution- specific patches:

DistributionKernelSource
Ubuntu 24.046.6 HWEkernel.org + Ubuntu patches
Debian 126.1 LTSkernel.org + Debian patches
RHEL 95.14RHEL-maintained; backports from upstream LTS
Rocky/Alma 95.14RHEL rebuild
AWS6.6 awskernel.org + AWS-specific (Xen, ENA, NVMe)

Vendor kernels include drivers and fixes that the upstream kernel does not (cloud hypervisor drivers, hardware enablement patches, distribution bug fixes).

Read-only / Safeinstalled kernels
$ dpkg -l linux-image-* 2>/dev/null | head; rpm -q kernel
...

Illustrative output

Planning kernel updates

The production cadence for kernel updates depends on:

  1. Security urgency: a kernel CVE that affects the host’s workload (e.g., a privilege escalation) demands an immediate patch.
  2. Compatibility: a kernel update is needed for new hardware (e.g., a new CPU generation) or new features (a filesystem with newer on-disk format).
  3. Routine refresh: every 6-12 months for general bug fixes and security backports.
  1. Read the CVE. Understand whether the host is affected and what the impact is
  2. Test on a clone. Boot the new kernel on a clone host; run smoke tests; check for regressions
  3. Stage in dev → canary → production waves. Do not roll out fleet-wide immediately
  4. Plan for rollback. The previous kernel should remain in the GRUB menu; the host can fall back if the new kernel fails to boot
  5. Schedule a maintenance window for non-emergency updates
  6. Capture pre- and post-boot evidence. Journal of the previous boot, kernel messages, GRUB configuration

Knowledge check

Knowledge check · 3 questions

  1. Q1. What kernel track should a production fleet run?

  2. Q2. A kernel update can be rolled out fleet-wide immediately if it is a security patch.

  3. Q3. Which of the following are correct kernel update practices? Select all that apply.

Passing score: 75%. Answers are checked in this browser.