<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Livepatch on Shadowfish</title><link>https://shadowfish.night-tower.net/tags/livepatch/</link><description>Recent content in Livepatch on Shadowfish</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>© 2026 Creeping depths of the deep</copyright><lastBuildDate>Sun, 09 Aug 2026 12:43:54 +0200</lastBuildDate><atom:link href="https://shadowfish.night-tower.net/tags/livepatch/index.xml" rel="self" type="application/rss+xml"/><item><title>Open-Heart Surgery at 120 MPH: The Hilarious (and Terrifying) Guide to Kernel Livepatching on HA Debian Hosts</title><link>https://shadowfish.night-tower.net/post/livepatching-debian-ha-hosts/</link><pubDate>Sun, 09 Aug 2026 12:43:54 +0200</pubDate><guid>https://shadowfish.night-tower.net/post/livepatching-debian-ha-hosts/</guid><description>&lt;div class="my-6 rounded-xl border border-neutral-200 bg-neutral-50/60 p-6 shadow-sm transition-colors dark:border-neutral-700/80 dark:bg-neutral-800/50"&gt;
 
 &lt;div class="mb-4 flex items-center justify-between gap-3 border-b border-neutral-200/80 pb-3 dark:border-neutral-700/80"&gt;
 &lt;div class="flex items-center gap-2.5 font-semibold text-neutral-900 dark:text-neutral-100"&gt;
 
 &lt;span class="text-primary-600 dark:text-primary-400 flex items-center"&gt;
 
 &lt;/span&gt;
 
 
 &lt;span class="text-lg tracking-tight"&gt;The HA Sysadmin&amp;#39;s Dilemma&lt;/span&gt;
 
 &lt;/div&gt;
 
 &lt;span class="rounded bg-neutral-200/80 px-2.5 py-0.5 text-xs font-medium text-neutral-700 dark:bg-neutral-700 dark:text-neutral-300"&gt;
 No-Reboot Zone
 &lt;/span&gt;
 
 &lt;/div&gt;
 

 &lt;div class="prose dark:prose-invert max-w-none text-neutral-700 dark:text-neutral-300"&gt;&lt;p&gt;&lt;strong&gt;Security Officer:&lt;/strong&gt; &lt;em&gt;&amp;ldquo;A critical CVSS 9.8 vulnerability was found in the kernel network stack! We must reboot all 12 HA Debian nodes immediately!&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;HA Cluster Engineer:&lt;/strong&gt; &lt;em&gt;&amp;ldquo;If I reboot Node 01 right now, Pacemaker will migration-fence Node 02, 14,000 active WebSocket streams will die, and the database cluster will enter a split-brain existential crisis. I will patch it live or die trying.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Enter &lt;strong&gt;Linux Kernel Livepatching (&lt;code&gt;klp&lt;/code&gt;)&lt;/strong&gt;: The black magic of hot-swapping kernel C code in RAM without dropping a single packet or restarting a system service.&lt;/p&gt;
&lt;/div&gt;

 
&lt;/div&gt;

&lt;p&gt;Picture this: It&amp;rsquo;s 2:15 PM on a Friday. You are monitoring your pristine 4-node Debian High Availability cluster handling live production traffic. You’re sitting back, enjoying a cold iced tea, when a red banner flashes across your terminal:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[ CRITICAL SECURITY ALERT ] CVE-2026-9999: Remote Code Execution in kernel net/ipv4/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[ MITIGATION REQUIRED ] Upgrade kernel vmlinuz or apply patch immediately.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In a non-HA world, you run &lt;code&gt;sudo apt upgrade &amp;amp;&amp;amp; sudo reboot&lt;/code&gt;, stretch your legs, and wait three minutes.&lt;/p&gt;
&lt;p&gt;In a &lt;strong&gt;Debian HA world&lt;/strong&gt; (think Corosync, Pacemaker, Proxmox VE clusters, or high-throughput Docker/K8s ingress nodes), typing &lt;code&gt;reboot&lt;/code&gt; is equivalent to pulling the pin on a flashbang in a quiet library. Corosync heartbeats miss a pulse, quorum timers panic, Virtual IPs start bouncing around like ping-pong balls, and three regional database replicas begin arguing over who is the real primary master.&lt;/p&gt;
&lt;p&gt;So how do you fix a gaping hole in the operating system&amp;rsquo;s brain without shutting it off?&lt;/p&gt;
&lt;p&gt;You perform &lt;strong&gt;open-heart surgery at 120 MPH&lt;/strong&gt;. Welcome to &lt;strong&gt;Kernel Livepatching (&lt;code&gt;klp&lt;/code&gt;)&lt;/strong&gt;.&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://shadowfish.night-tower.net/post/livepatching-debian-ha-hosts/featured.jpg"/></item></channel></rss>