> ## Content Index
> Fetch the complete content index at: https://ettayeb.fr/llms.txt
> Use this file to discover other available public pages before exploring further.

# Kmorph recovers a panicking Linux kernel without rebooting the machine
- URL: https://ettayeb.fr/en/linux/kmorph-rebootless-kernel-crash-recovery-en/
- Published: 2026-11-09T00:00:00.000Z
- Updated: 2026-11-23T15:24:51.000Z
- Description: Announced on November 7, 2026, the Kmorph project replaces the reboot with a takeover: a pre-booted successor kernel takes over in about one second and brings Nginx back online in two seconds after a kernel crash.
- Author: Walid ETTAYEB
- Tags: Linux, kernel, kmorph, multikernel, crash-recovery, #en, #Import 2026-11-23 14:52

**November 7, 2026.** **Michael Larabel** reports on **Phoronix** the announcement of **Kmorph**, a **rebootless kernel crash recovery** project for **Linux**. **One second.** That is the time claimed for the standby kernel to take over after a panic. **Two seconds.** That is the delay to bring **Nginx** back online behind it. Why it matters: **a kernel crash no longer has to mean a full machine stop, a firmware reboot, an fsck and an on-call operator — it can mean a near-instant handover to a second kernel that is already loaded.**

## The kernel panic, last bastion of the “mandatory reboot”

For an **SRE**, a kernel panic is the most expensive event on a box: it cuts everything, without warning, and the only historical answer is a **reboot**. And a reboot carries a compounding cost — **services stopped**, **firmware reset**, **fsck** on volumes that took an unclean shutdown, **network re-association**, then bringing every service back up in order. All the while the application is down.

The mainline kernel already offers mechanisms to soften the blow. **Kexec** loads a new kernel without going through firmware, and **kdump** captures a **vmcore** that **crash** can analyse to understand the panic. **Kexec Handover (KHO)** and systemd’s **Live Update Orchestrator (LUO)** go further by preserving device state across a *kexec* — we covered them in [our analysis of the LUO](https://ettayeb.fr/en/articles/systemd-262-live-update-orchestrator-en/). But none of these tools **survives a crash**: they speed up planned updates, not recovery from an unexpected panic. That is precisely the gap **Kmorph** claims to fill.

## Multikernel: several kernels on one machine

**Kmorph** does not invent failover in a vacuum. It builds on **Multikernel**, work carried out **outside the mainline tree for about a year**. The idea: make **multiple independent kernel instances coexist on one physical machine**, each owning **its own CPUs**, **memory** and **devices**, talking to each other over **vsock** — the virtual socket normally reserved for virtual machines, here repurposed for kernel-to-kernel conversation.

This coexistence changes the nature of a failure. A crashing kernel is no longer *the* machine dying: it is *one* kernel dying while a second waits, already booted, on one or two **CPUs** and a reserved **slice of memory** beside it. That neighbour is what **Kmorph** orchestrates.

## The takeover: fence, adopt, resume

The core of **Kmorph** fits in one word: **takeover**. When the **predecessor** kernel panics or hangs, the **successor** runs a precise sequence:

- it **fences** the dead kernel’s CPUs so they can no longer touch anything;
- it **adopts and resets** its devices;
- it **restores the machine’s network identity** — same address, same routing;
- it **optionally saves a kdump-compatible vmcore** for post-mortem analysis;
- it **hot-adds** the remaining CPUs and memory and **becomes the machine’s kernel**.

Detection through to a running successor would take **about one second**, **with no reboot, no firmware, and no operator**. The same mechanism also serves updates: `kmorph upgrade` **hands a healthy machine over** to a successor running a newer kernel. And once installed, that new kernel can **arm a successor of its own**, generation after generation.

The genuinely novel work, per the project, lives in the **Multikernel kernel** itself: **fencing**, **device and IOMMU handover**, and **CPU and memory hot-add** from a host *device tree*. **Kmorph** is just **C orchestration** on top of those interfaces, and it plugs into distributions the way **kdump** does — through **dracut**, **initramfs-tools**, **kernel-install** and a **systemd service**.

## Standby services to speed up recovery

The real leap for the operator is elsewhere: **Kmorph** can keep **important systemd services running in standby on the fallback kernel**. As a result, recovery is not just “the machine reboots”: **Nginx** can come back online in **about two seconds**, before the less critical services follow.

That is the difference between **machine availability** and **service availability**. A classic reboot returns the machine before it returns the service; **Kmorph** inverts the priority by prepositioning the critical service where it will resume control. For a web front-end or a sensitive endpoint, the claimed two seconds read almost as **service continuity** rather than mere recovery.

Portability is already tangible: the project runs on **x86\_64** and **ARM64**, with **RISC-V** in progress. That is a serious signal — the three architectures cover most of the servers and embedded machines that can afford the luxury of two kernels.

## The Achilles heel: Multikernel is not mainline

The limit is structural, not technical. **Kmorph does not run on the mainline Linux kernel**: it depends on **Multikernel**, which has not been merged upstream, and there is no guarantee it ever will be. Without **Multikernel** landing in the main tree, large-scale adoption stays hypothetical.

That is the line between a **promising proof of concept** and a **product**. Today, **KHO** and the **LUO** are the mainline answers to rebootless updates, but **neither** covers crash recovery nor survives a kernel panic. **Kmorph** shows what is missing: a mechanism where a crash is no longer a terminal event, but something a preloaded neighbour can absorb.

## Verdict

**If you run critical services on bare metal, track Kmorph as an indicator, not as a component to deploy.** Its takeover mechanism answers a real gap: the kernel panic is still the last scenario where you pay a full outage. **But as long as Multikernel is not mainline, Kmorph is a research project** — deploying an out-of-tree kernel to save two seconds of recovery means trading a risk of downtime for a risk of exotic maintenance. **In the meantime, your levers remain kdump for diagnostics and KHO/LUO for planned updates.** The day the takeover lands in the main tree, the answer to “what does a kernel panic cost?” will change.

## Références

- [Phoronix — “Kmorph Aims To Provide Rebootless Linux Kernel Crash Recovery” (Michael Larabel, November 7, 2026)](https://www.phoronix.com/news/Kmorph-Linux-Crash-Recovery?ref=ettayeb.fr)
- [Kmorph — Project announcement on the Linux kernel mailing list (November 2026)](https://lore.kernel.org/lkml/?ref=ettayeb.fr)