Developer superalesha has announced Ring -1 Kernel Surgeon, an experimental hypervisor they say uses MiniCPM5-2B to patch deliberately triggered Linux kernel faults without rebooting. In one reported test, it replaced an 11-byte faulting instruction with 11 bytes that do nothing. Sometimes the repair is a very firm “let’s not.” Source Source
Superalesha announced the project on November 27, 2026. The README documents end-to-end checks on Linux 5.15 under QEMU/KVM, using nested AMD virtualization and 24 virtual CPUs. These are controlled, developer-reported tests, not independent verification of recovery from unexpected production crashes. “Bare-metal” describes the hypervisor’s architecture; it doesn’t mean those reported checks ran directly on a physical machine without a host. Source Source
How it intercepts a fault before Linux panics
The README describes a Type-1 hypervisor built in x86-64 assembly and freestanding C. Its “Ring -1” position beneath the guest operating system lets AMD’s SVM virtualization intercept exceptions before Linux reaches its own oops() or panic() handling. The system examines the faulting instruction and registers, runs the model, statically validates a proposed machine-code patch, then writes it into guest RAM before resuming execution. Source
For the null-pointer demonstration, a special test module deliberately attempts an invalid kernel-memory write. Superalesha says the hypervisor pauses Linux and runs the model across 24 AVX2 cores in 11.1 seconds, then replaces the offending instruction with NOPs—no-operation instructions. Linux reportedly resumes, prints SURVIVED NULL-DEREF!, and retains its uptime. That timing belongs to this demonstration, not a universal recovery-time guarantee. A paused guest also isn’t uninterrupted service. Source Source
And the advertised 74 KB? That’s the hypervisor executable, listed as 75,424 bytes—not the entire AI system. The README separately specifies a 2 GiB model image and a 64 MiB working arena. The model weights still need somewhere to live. Source
119 passes does not mean 119 repaired crashes
The README reports that the MiniCPM5-2B checkpoint trained with GRPO, a reinforcement-learning method, passed 119 of 122 held-out test cases (97.54%). It lists 20 of 122 (16.39%) for the base MiniCPM5-2B model. But the evaluation includes 15 cases that should be handed back to Linux and 15 that should halt rather than continue. Correctly refusing surgery counts as a pass.
Comments