74KB bare-metal hypervisor runs a 2B LLM in Ring -1 to patch kernel panics live

MikePFrank · x · 2026-11-28

Developer superalesha built a 74KB bare-metal Type-1 hypervisor (x86-64 NASM + zero-libc C, no host OS) that places a 2B LLM below Linux in Ring -1. When Linux hits a fatal NULL-pointer write, the hypervisor freezes the machine before panic, runs a GRPO-trained MiniCPM5-2B (Q4KM) across 24 AVX2 cores in 11.1 seconds, overwrites the 11 faulting bytes in guest .text physical RAM with NOPs via NPT, and keeps Linux running without a reboot.

Original post →

More from Fun

Fun channel →