A SpaceX Engineer Found a Linux Kernel Bug That’s Been Giving Root Since 2007 — Your Server Has Been Running an Open-Door Policy Longer Than Most of Your Employees Have Been Alive

🤚 The Open-Palm Disclosure

A SpaceX security engineer named Asim Viladi Oglu Manizada has published a vulnerability he’s calling “CIFSwitch” — a local privilege escalation flaw in the Linux kernel’s CIFS subsystem that has been quietly sitting in the codebase since 2007. For those counting, that’s nineteen years of silent rootability across some of the most popular server distributions on Earth.

The flaw exploits how the kernel handles cifs.spnego key requests. The CIFS subsystem fails to verify that these requests actually originate from its own client. An unprivileged user can forge a cifs.spnego request, trigger a namespace switch, force Name Service Switch (NSS) lookups before privilege drops complete, and — with the subtlety of a locksmith who realizes the vault was never locked — achieve root execution.

Confirmed vulnerable distributions include:

  • Linux Mint 21.3 and 22.3
  • CentOS Stream 9
  • Rocky Linux 9 and AlmaLinux 9
  • Kali Linux 2021.4 through 2026.1
  • SLES 15 SP7

Potentially vulnerable (if cifs-utils is installed): Ubuntu, Debian, Pop!_OS, openSUSE, Oracle Linux, and Amazon Linux variants. The list reads like a who’s who of “operating systems your company probably runs.”

👐 The Two-Handed Key Forgery

Let’s appreciate the mechanics here. The vulnerability requires cifs-utils version 6.14 or higher, user namespace availability, and permissive SELinux/AppArmor policies. In other words: a default enterprise install that nobody hardened because the compliance checklist said “Linux” and everyone nodded approvingly.

The attack chain is elegant in a way that makes sysadmins weep:

  1. Unprivileged user creates a forged cifs.spnego key request
  2. Kernel treats it as legitimate because nobody ever taught it to check
  3. Namespace switch triggers NSS lookups with elevated privileges
  4. Attacker rides the privilege escalation to root

The upstream fix (kernel commit 3da1fdf) adds validation of cifs.spnego request origins — which is the kind of patch that makes you wonder what other kernel subsystems are accepting requests from strangers without asking for identification.

Distributions that are protected by default include Ubuntu 26.04, Fedora 40-44, CentOS Stream 10, Rocky Linux 10, and SLES 16. If your organization runs anything older — which, statistically, yes — you have homework.

🌿 The Gentle Awakening

There’s something philosophically rich about a SpaceX security engineer finding a kernel bug that predates the iPhone. While his colleagues launch reusable rockets, Manizada looked downward — into the kernel — and discovered that the foundation of modern computing had been politely trusting unsigned authentication requests for nearly two decades.

The proof-of-concept exploit is publicly available. The mitigations are straightforward: disable the CIFS module if unused, remove cifs-utils if unnecessary, or disable unprivileged user namespaces. The kind of advice that sounds trivial until you realize half your infrastructure runs on CIFS shares that nobody remembers configuring.

👑 The Gold-Leaf Root Shell

This is not a remote code execution. This is not a zero-click. It requires local access. And yet — local access is what every attacker already has after the initial phishing email lands, after the compromised container escapes, after the intern’s laptop joins the corporate network with a browser extension that “helps with productivity.”

Local privilege escalation is the second step in every attack chain worth losing sleep over. And this one was available to anyone who asked, on any distribution that shipped with CIFS support, for nineteen years.

The good news: patches exist. The bad news: your patch management process probably takes longer than nineteen years to implement.

“The kernel trusted the request. The request trusted nobody. This is what we call a one-sided relationship, and it’s been going on since your server was born.” — The Slap of Wisdom Kernel Review Board, currently auditing every subsystem that starts with the letter C