Zathras_ // NO ONE LISTENS TO ZATHRAS

Zathras

Ad-hoc, runtime kernel mitigations for Linux. Disable syscall paths with open CVEs, block subsystems without rebuilding the kernel, or back-port an upstream security fix in place — no reboot required.

“Zathras fix. Zathras keep the Great Machine running. No one listens to Zathras… but Zathras patch anyway.” - Babylon 5

insmod cve-2026-99288-livepatch-6.x.ko  # patch a live kernel


What this is

The mitigations ship in two flavours(livepatch and/or ftrace) so you can pick the right trade-off for your kernel configuration:

⚙

ftrace flavour

Low-config dynamic ftrace with IPMODIFY. Redirects a function at its fentry site. Works wherever DYNAMIC_FTRACE_WITH_REGS is enabled — no livepatch infrastructure needed. Useful for older kernels.

🔑

livepatch flavour

Rides the kernel's CONFIG_LIVEPATCH consistency model. Cleaner semantics, safe transition, and able to target not-yet-loaded modules. The preferred mechanism on modern distro kernels.

🛡

surgical CVE fixes

CVE modules reimplement the exact upstream fix — the whole target function body, with only the security hunk changed — so behaviour matches mainline byte-for-byte except for the bug.

Highlights

CVE-2026-99288

Reject unhashed sockets during TCP/TCPv6 established ehash lookups (lockless SLAB_TYPESAFE_BY_RCU reuse UAF). Builds for 5.x and 6.x, auto-adapts to distro SAUCE prototypes.

CVE-2026-98432

RCU-defer inet_opt / ireq_opt frees so they survive the SYN-retransmit / reqsk-migration window. Variants for Ubuntu 6.8 and Debian 6.12.

CVE-2026-53359

“Januscape” KVM shadow-paging UAF: missing role.word check in kvm_mmu_get_child_sp. Fix for v6.0+, plus audit hooks for older trees.

CVE-2026-23111

Use-after-free in nft_map_catchall_activate. Livepatch for modern kernels and a pre-5.1-API variant for RHEL 8 / clones.

Auto-load on boot

Drop any livepatch=Y module into /lib/modules/$(uname -r)/livepatches and the bundled systemd service applies them on boot — serialized so each patch's transition completes before the next is enabled (the kernel allows only one livepatch in transition at a time).

make install-autoload     # stage .ko + install script + enable service
make autoload-now         # apply immediately, no reboot
Heads up: these are offensive-security / defensive research tools. They taint the kernel (TAINT_LIVEPATCH), require root, and target specific kernel versions. Read each module's header and test on a matching kernel before production use.

Requirements