---
title: "NFS2ROOT: a 12-year-old hole in Linux's NFS server finally gets patched"
description: "CVE-2026-99362, patched on November 19, would let an attacker write into Linux kernel memory through port 2049, no login required. NAS boxes and Kubernetes storage nodes that expose an NFS server are first in line."
canonical: https://inyourgeek.com/en/articles/2026-11-27-nfs2root-une-faille-de-12-ans-dans-le-serveur
type: article
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-11-27
dateModified: 2026-11-28
section: "Security"
tags: ["linux", "nfs", "noyau", "kubernetes"]
---
# NFS2ROOT: a 12-year-old hole in Linux's NFS server finally gets patched
> CVE-2026-99362, patched on November 19, would let an attacker write into Linux kernel memory through port 2049, no login required. NAS boxes and Kubernetes storage nodes that expose an NFS server are first in line.
November 27, 2026 · Security · 3 min
Next published this Friday, November 27, [an analysis of the NFS2ROOT flaw](https://next.ink/270556/la-faille-nfs2root-permet-de-prendre-le-controle-de-nas-et-noeuds-kubernetes/), tracked as CVE-2026-99362, based on a report from the company OpenSec. This article rests on that single source, so whenever something is OpenSec's word rather than established fact, we say so.

## An overflow before anyone checks your ID

The flaw lives in nfsd, the NFS server built into the Linux kernel. According to Next, it was fixed on November 19 and the patch has been backported to every currently supported branch. Its CVSS 3.1 score is 9.8 out of 10. The bug reportedly dates back to March 2014 and kernel version 3.16, which makes twelve years of living there rent-free.

It all comes down to one missing check. So that a request which gets interrupted and resent isn't executed twice, the server keeps a copy of its last reply for each session. The client is the one who says how much room to set aside for that copy, and nothing stops it from asking for zero bytes. A request of one precise length would then get the server to file a complete reply in that empty space. It is the software equivalent of booking a table for nobody and turning up with the whole wedding party.

The overflow would span 80 bytes, 61 of them outside the allotted space. According to OpenSec, the attacker would pick the contents of 40 of those and could also read part of the neighbouring memory. All of this happens before the server verifies who the client is: no account needed, no access to a share either.

## A takeover claimed, not reproduced

OpenSec describes a five-step exploit chain. It would go through a 3.8 KB leak of kernel memory, enough to defeat KASLR, the protection that randomises where the kernel sits in memory. It would end with /bin/sh running as root. In the video the company published, the target machine prints "root", then "uid=0(root)", then switches itself off. As mic drops go, it is a tidy one.

Three caveats before you panic. OpenSec has not released its exploit code. At the time Next was writing, no independent team had publicly reproduced the full chain. And no vendor was reporting exploitation in the wild.

The discovery itself doesn't belong to OpenSec either, however keen the company is to show off its automated tool, Antara. Its own timeline credits the first report, on August 17, to Jérémy Jean, a researcher at ANSSI, more than a month before Antara spotted anything. A proposed fix followed on September 14. The researcher confirmed that timeline to Next, and adds that his patch is indeed the one that was merged, in a version "slightly reworked by the maintainers".

## Who's exposed

According to Next, any client that can reach port 2049 on a Linux NFS server can trigger the bug. Two families of machines are named: NAS boxes and Kubernetes storage nodes, where nfsd is everywhere. OpenSec's advisory reportedly lists four conditions that must all be met for a machine to be vulnerable; Next's article walks through them.

So the first question to ask yourself is about network exposure. Which of your machines run an NFS server, and from which networks can their port 2049 be reached?

## Checking the patch is actually in

The source doesn't give the fixed version numbers, and we're not going to make any up. What it does establish is that the fix dates from November 19 and covers every supported branch.

That leaves you two things to check on each affected machine. The running kernel must be more recent than that date. And the security advisory from your distribution, or from your NAS vendor, must explicitly mention CVE-2026-99362. A kernel that has been updated on disk but not yet rebooted into is still the old kernel, whatever your package manager tells you.

The bug had twelve years in the kernel; the fix has had eight days. Only one of those numbers is yours to answer for.
## Sources
- [La faille NFS2ROOT permet de prendre le contrôle de NAS et nœuds Kubernetes](https://next.ink/270556/la-faille-nfs2root-permet-de-prendre-le-controle-de-nas-et-noeuds-kubernetes/) — next.ink
_Article written with AI assistance from the cited sources, reviewed and approved by a human before publication._

---

Equivalent HTML page : https://inyourgeek.com/en/articles/2026-11-27-nfs2root-une-faille-de-12-ans-dans-le-serveur
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
All articles : https://inyourgeek.com/en/archives
