L4: Linux Kernel Release Types

                              Chapter 2 •FREE Linux Kernel Development course

                 Linux Kernel Release Types

linux-next, RC, Stable, LTS, SLTS — what they mean and which one you should care about

🎯 Beginner Friendly
⏰ 15 min read
🐦 Kernel 6.x Updated

What You Will Learn

✅ Types of Linux kernel releases
✅ Difference between LTS and Stable
✅ What Super LTS (SLTS) means
✅ How to check current kernel versions

1. Why Do Different Kernel Types Exist?

The Linux kernel is developed at a very fast pace. A new release comes out roughly every 8 to 10 weeks. But not every release is meant for every person. Some are for developers testing new features. Some are for companies shipping products. Some are for safety-critical systems that need support for 10+ years.

This is why the kernel community maintains different types of releases. Understanding these types will save you from picking the wrong kernel for your project — a mistake that is easy to make and painful to fix later.

2. The Five Types of Kernel Releases

Linux Kernel Release Pipeline
linux-next
Bleeding edge. For upstream kernel developers only.
🧪
RC / Mainline
Pre-release test kernels. e.g. 6.10-rc1
Stable
Official releases. Bug fixes for a few months.
🏭
LTS
Maintained 2-6 years. Best for products.
🏛
SLTS
Super LTS. Support up to 2036. Safety-critical.

⚡ linux-next Trees

Think of linux-next as a large staging area. Every subsystem in the kernel — networking, filesystems, drivers, sound, and so on — is maintained by a different person called a subsystem maintainer. Before those changes get merged into the official kernel, they are all collected together in the linux-next tree for early testing.

This tree can and does break at any time. It is not meant for end users or product developers. If you are an upstream kernel contributor trying to send patches, this is where your work eventually lands before going to Linus Torvalds.

Who should use it: Kernel developers contributing patches upstream. Nobody else.

🧪 Prepatches — also called RC or Mainline

After Linus Torvalds opens the “merge window” for about two weeks, he then closes it and starts publishing release candidates. You will see versions like 6.10-rc1, 6.10-rc2 and so on. These are pre-release test kernels.

Usually 6 to 8 release candidates are published before the final stable release. Testers run these on spare machines to find bugs early. If you spot a regression (something that worked before but broke now), reporting it is one of the most valuable contributions you can make to the community.

Who should use it: Developers and testers who want to catch bugs before a release. Not for production.

✅ Stable Kernels

These are the official, released kernels from kernel.org. Once testing is done with the RC kernels, Linus publishes the stable release — for example, 6.10. After that, this version receives only bug fixes and security patches for a few months, until the next stable version ships.

Stable kernels are also called vanilla kernels because they are pure and unmodified by any vendor. Most Linux distributions take a stable kernel and then apply their own extra patches on top.

Who should use it: General Linux users and developers who want a clean, current kernel without long-term commitments.

🏭 Distribution and LTS Kernels

Distribution kernels are the kernels that come bundled with Linux distributions like Ubuntu, Fedora, or Debian. They always start from a stable or LTS vanilla kernel but then have extra patches applied by the distro team — things like driver backports, hardware enablement, and security hardening.

LTS (Long Term Support) kernels are the real deal for anyone doing serious work. Once a year or so, one particular stable kernel is selected to be an LTS kernel. That kernel then receives bug fixes and security patches for 2 to 6 years instead of just a few months. This is exactly what embedded Linux products, Android devices, routers, and industrial systems are built on.

Current LTS kernels (2025): 6.6, 6.1, 5.15, 5.10, 5.4 — each with different EOL dates. Always check kernel.org for the updated list.

🏛 Super LTS (SLTS) Kernels

Some industries cannot afford to change their kernel every few years. Think about a railway signalling system, a power grid controller, or medical equipment. These devices run for 10, 15, even 20 years. For these use cases, the Civil Infrastructure Platform (CIP), a Linux Foundation project, selects specific kernels as Super LTS releases.

As an example, the Linux 4.4 kernel (the 16th LTS release) was the first kernel chosen for SLTS. It is planned to receive support until at least 2026, and possibly until 2036 — that is over two decades of support for a single kernel version.

Who should use it: Safety-critical and civil infrastructure projects with very long product lifecycles.

3. Checking What Kernel Versions Are Available

You do not need to open a browser to see what kernel versions are currently available. You can query kernel.org directly from your terminal using the curl command. This is useful in scripts and automated build environments too.

curl -L https://www.kernel.org/finger_banner

The output you get will look something like this. The exact version numbers change as new releases come out, but the format stays the same:

Sample Output — kernel.org finger banner (2025)
The latest stable version of the Linux kernel is: 6.9.3
The latest mainline version of the Linux kernel is: 6.10-rc3
The latest longterm 6.6 version of the Linux kernel is: 6.6.34
The latest longterm 6.1 version of the Linux kernel is: 6.1.93
The latest longterm 5.15 version of the Linux kernel is: 5.15.161
The latest longterm 5.10 version of the Linux kernel is: 5.10.218
The latest longterm 5.4 version of the Linux kernel is: 5.4.277

Each “longterm” line is an active LTS kernel. Notice that multiple LTS versions are maintained in parallel — you can see 5.4, 5.10, 5.15, 6.1, and 6.6 all receiving patches at the same time. This is intentional because different products and projects are built on different kernel versions.

Good practice: Always run this command before starting a new embedded project to see which LTS kernel is currently receiving the most active maintenance. The one with the highest version number among the longterm entries is usually the safest choice for a new project.

4. Which Kernel Should You Pick?

Here is a simple rule-of-thumb table. Save this mentally — it will come up in interviews and in real project discussions.

Kernel Selection Guide
Your Situation Use This
Learning kernel internals or writing kernel modules Latest stable or a recent LTS kernel
Building an embedded Linux product LTS kernel (6.6 or 6.1 currently)
Contributing patches to the community linux-next or mainline RC
Safety-critical project, 10+ year lifecycle SLTS via Civil Infrastructure Platform
Daily desktop or server use Your distribution’s kernel (Ubuntu, Fedora, etc.)

🧠 Key Takeaways

linux-next is for upstream contributors only
RC kernels are for testing, not production
Stable kernels are the clean vanilla releases
LTS = 2 to 6 years of patches
SLTS = up to 2036 for safety-critical systems
Use curl to check current kernel versions
Multiple LTS versions are maintained in parallel

🎯 Interview Questions

Q1. What is the difference between a stable kernel and an LTS kernel?

A stable kernel receives bug fixes and security patches for a few months until the next stable release ships. An LTS kernel is a specific stable kernel that has been selected for long-term maintenance — it receives patches for 2 to 6 years. For any project with a long lifecycle, LTS is always preferred because you get continued security support without upgrading to a completely new kernel.

Q2. What is the linux-next tree and who uses it?

The linux-next tree is a staging area that collects patches from all kernel subsystem maintainers before they are merged into the mainline kernel. It represents the bleeding edge of kernel development. It is used by kernel developers and contributors who are working on upstream patches. It is not suitable for production systems because it can break at any time.

Q3. Your company is building a smart meter that will run in the field for 8 years. Which kernel would you recommend and why?

I would choose an LTS kernel, ideally the most recent one with the longest EOL date. LTS kernels receive security patches and critical bug fixes for up to 6 years, which covers most of the product’s field life. If the lifecycle extends beyond that, I would evaluate an SLTS kernel from the Civil Infrastructure Platform, which can provide support until 2036 for qualifying projects.

Q4. What is a vanilla kernel? How is it different from a distribution kernel?

A vanilla kernel is the pure, unmodified kernel source from kernel.org, maintained by Linus Torvalds and the kernel community. A distribution kernel starts from a vanilla base but has additional patches applied by the distro team — these include backported drivers, hardware enablement patches, and distro-specific security hardening. For kernel development and learning, vanilla is preferred because it does not have any hidden vendor-specific modifications.

Q5. How many LTS kernels can be active at the same time, and why?

Multiple LTS kernels can be active and maintained in parallel at the same time. This is intentional because different products and platforms are built on different kernel versions. A product that shipped in 2020 may be running the 5.4 LTS kernel, while a newer product may use the 6.6 LTS kernel. Both receive patches simultaneously so that all active products remain secure without being forced to do a major kernel upgrade.

Leave a Reply

Your email address will not be published. Required fields are marked *