Linux 6.2 Kernel: Key Changes and How to Check Your Version
Linux 6.2 was released on 19 February 2023. See the main changes, why it is no longer a supported branch, and how to check whether your kernel is 6.2 or newer.
The Linux 6.2 kernel was released on 19 February 2023. This article summarizes its headline changes and shows how to check whether the kernel you run is 6.2 or newer.
Is Linux 6.2 still supported?
No longer as a branch of its own. The kernel.org releases page lists only longterm kernels (6.18, 6.12, 6.6, 6.1, 5.15 and 5.10) and does not list 6.2. It says non-longterm stable kernels get only a few bugfix releases before the next mainline kernel, so 6.2 is not a good target today. For a supported branch, see Linux 6.12 or Linux 6.18, and read how the release cycle works.
Key changes in Linux 6.2
The Kernel Newbies page is very long. I read only its summary section, so this is a selection, not a complete list.
- Retbleed and FineIBT. A faster Retbleed mitigation for Skylake-based cores, enabled with the
retbleed=stuffboot option. FineIBT, a new control flow integrity scheme, is also added. - Btrfs. Reliability fixes for RAID5/6, speedups for send, lseek and FIEMAP, and asynchronous discard enabled automatically when possible.
- Writeback control. Five new sysfs knobs under
/sys/class/bdi/give finer control over block device writeback. - TCP Protective Load Balancing (PLB). Reduces link load imbalance across datacenter switches by changing the IPv6 Flow Label of congested connections. It currently works for IPv6 only.
- BPF user-defined objects. BPF programs can allocate their own objects and build data structures such as linked lists.
rvtool. A user-space tool meant as the interface to in-kernel runtime verification monitors.- Rust. Better support for strings and formatting, errors, printing, memory allocation, macros and debugging.
- Lazy RCU callbacks. Timer-based batching of RCU callbacks. The page says it saves about 5-10% power on Android and ChromeOS devices at light load or idle. It is off by default and controlled by a Kconfig option.
I did not read the drivers, file system and architecture sections, so this article makes no claims about them.
Check your running kernel
uname -r prints the release string of the booted kernel.
uname -rTo test whether it is at least 6.2, compare the major and minor version with sort -V:
current=$(uname -r | cut -d. -f1,2)
oldest=$(printf '%s\n' "$current" 6.2 | sort -V | head -n 1)
if [ "$oldest" = "6.2" ]; then
echo "kernel $current is 6.2 or newer"
else
echo "kernel $current is older than 6.2"
fiA kernel newer than 6.2 includes the changes above unless your distribution or build configuration disabled them. Lazy RCU, for example, depends on a Kconfig option that is off by default. A container shares the host kernel, so the output reflects the host, not the image.
Should you care about 6.2 today?
Mostly as a reference point. Most people get their kernel from their distribution, so check which kernel it ships and supports before replacing anything. Distribution kernels may carry their own patches, which I did not research here.
Sources
This article was drafted with AI assistance, fact-checked against the sources listed above and reviewed by a human editor before publication. Spotted an error? See our corrections policy.