FR
live

Kmorph recovers a panicking Linux kernel without rebooting the machine

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. It depends on Multikernel for now, which is out-of-tree — one to watch, not yet to deploy.

A row of identical servers in a dark aisle, one of them powered off, a single amber indicator lit on the neighbouring chassis ready to take over.

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. 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

The cyber brief, every Tuesday

The flaws that matter and the patches to apply, in a ten-minute read.

No spam. One-click unsubscribe.
read next

On the same topic

SUSE cuts 10 percent of staff in the name of AI and automation

On November 2, 2026, SUSE CEO Dirk-Peter van Leeuwen told staff the company will cut about 10 percent of its global workforce — roughly 190 roles — and attributed the move to AI and automation. For SUSE Linux Enterprise customers, it is a signal to take seriously: get written commitments on support and roadmap before the restructuring becomes a commercial argument.

CentOS founder assembles a Linux-compatible Rust kernel in 11 days with AI

On October 27, 2026, Gregory Kurtzer, founder of CentOS and Rocky Linux, unveiled Ginux, an x86-64 kernel written in Rust and produced in 11 days by a Codex agent, capable of booting Rocky Linux 10 with systemd. It is a research prototype, not a production kernel, but it validates an engineering method the Linux kernel maintainers will have to watch closely.

← Back to the feed

Type at least two characters.

↑ ↓ navigate ↵ open esc dismiss