Pull to refresh
Logo
Twelve-year-old Linux NFS server bug allows unauthenticated root

Twelve-year-old Linux NFS server bug allows unauthenticated root

Built World

CVE-2026-99362 is a heap overflow in the kernel's NFS server, reachable on TCP port 2049 before any login; fixes now span eight upstream branches and Red Hat Enterprise Linux 8, while Ubuntu still lists kernels vulnerable.

Overview

Updated 4 days ago

For twelve years, a Linux machine serving Network File System (NFS) v4.1 or 4.2 could accept a connection on TCP port 2049 and overflow a kernel buffer before checking who was calling. OpenSec published the exploit chain on 25 November; the fix lives in the kernel, so applying it means updating and rebooting.

CVE-2026-99362 now has fixes beyond Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. Patches were also moved into older kernel lines in 5.10.275, 5.15.226, 6.1.193 and 6.6.163. On 26 November, Red Hat shipped a Red Hat Enterprise Linux (RHEL) 8 kernel, 4.18.0-553.190.1.el8_10, and AlmaLinux published a matching advisory, while Ubuntu's tracker listed supported kernels as vulnerable in its 25 November update.

Why it matters

Any Linux file server, NAS or storage node reachable on port 2049 could be rooted without a password until its kernel is patched.

Questions about this story

Free account needed to ask — your question is kept and asked for you right after sign-up. Answers are public.

No questions yet — be the first to ask.

Key Indicators

9.8 / 9.4
Reported CVSS v3 scores
Microsoft's CVE guide records 9.8 from Linux; Red Hat now lists 9.4 with Low integrity impact.
12 years
Time the bug sat in the kernel
Introduced in March 2014 and shipped in every kernel since 3.16.
80 bytes
Overflow past the heap object
The kernel CVE report shows an 80-byte write into a zero-length reply buffer.
2049
TCP port that must be reachable
No account or credential is needed to trigger the overflow.
8
Upstream kernel branches with a listed fix
5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 carry the patch. Red Hat Enterprise Linux 8 has a separate kernel backport.

Voices

Curated perspectives — historical figures and your fellow readers.

Sign up to generate historical perspectives on this story.

People Involved

Organizations Involved

Timeline

March 2014 November 2026

10 events Latest: 5 days ago
Tap a bar to jump to that date
  1. Red Hat ships first fixed RHEL 8 kernel

    Latest Patch

    Red Hat's advisory rates the update critical and lists CVE-2026-99362 among its fixes. It moves Red Hat Enterprise Linux 8, including 8.10 Extended Life Cycle, to kernel 4.18.0-553.190.1.el8_10 and requires a reboot.

  2. AlmaLinux publishes critical kernel advisory

    Advisory

    ALSA-2026:103817 lists CVE-2026-99362 in a critical kernel update for AlmaLinux 8.

  3. DKCERT warns Linux NFS servers can be rooted

    Advisory

    DKCERT published a Danish-language warning that the critical Linux NFS-server flaw could give remote root access and said affected systems need a reboot.

  4. OpenSec publishes NFS2ROOT

    Disclosure

    Write-up details the overflow, the exploit chain and the mitigations.

  5. CVE record adds older stable backports

    Advisory

    The CVE record was updated to list backports in 5.10.275, 5.15.226, 6.1.193 and 6.6.163, extending the fix beyond the originally announced branches.

  6. CVE-2026-99362 published

    Advisory

    Kernel CVE team names the fix commits for four branches.

  7. OpenSec reports to kernel security team

    Disclosure

    Sends the full remote-root exploit to NFSD maintainers and security@kernel.org.

  8. Antara builds a root shell

    Research

    OpenSec's tool flags the reply-cache path, scores it 9.8 and exploits it unaided.

  9. ANSSI sends the fix upstream

    Patch

    Jérémy Jean submits the patch with a KASAN report of the out-of-bounds write.

  10. The bug ships in Linux 3.16

    Origin

    Commit 47ee52986472 narrows the reply buffer while handling SEQUENCE.

Scenarios

1

No confirmed in-the-wild exploitation, and the bug stays out of CISA's exploited list

Likely Resolves by Nov 25, 2027

Discussed by: BreachNews and OpenSec, both noting that no vendor or agency had reported active exploitation as of 25 November 2026

The public record still showed no in-the-wild exploitation or CISA exploited-list entry as of 25 November. Red Hat and AlmaLinux have begun shipping kernel updates, but Ubuntu's tracker still listed supported kernels as vulnerable. Storage appliances and long-lived embedded kernels remain the risk because their update cycles can run much slower.

2

Public exploit code appears and the CVE lands in CISA's exploited list

Possible Resolves by May 25, 2027

Discussed by: Kernel security researchers and the OpenSec write-up, which warns that port 2049 is common on NAS appliances, build farms and Kubernetes storage nodes

Heap layout is the hard part of this exploit, and OpenSec says it built the leak, the arbitrary free and the fake callback with an automated tool. If that work leaks or is reproduced, the barrier drops to running a script against any reachable port 2049. Internal networks with flat segmentation would be the first to feel it, because NFS trusts the client by design and the overflow happens before any credential check.

3

The fix stalls in older long-term and industrial kernel trees

Possible Resolves by Feb 25, 2027

Discussed by: KernelScan, which tracks fix state across Civil Infrastructure Platform long-term trees

Backports now cover 5.10, 5.15, 6.1 and 6.6, but older long-term and Civil Infrastructure Platform trees still need separate fixes. KernelScan listed cip/4.19-rt as affected with no fix as of late November. Appliance vendors that freeze a kernel for a product's lifetime can leave port 2049 exposed after distributions have shipped their updates.

Historical Context

3 moments from history that rhyme with this story — and how they unfolded.

April 2014

Heartbleed (2014)

A missing bounds check in OpenSSL's heartbeat extension let anyone send a small malformed request and read up to 64 kilobytes of a server's memory, with no authentication. The bug had sat in the library for about two years and the library ran on a large share of the internet's servers.

Then

Operators rushed to patch OpenSSL and reissue certificates; the disclosure forced a broad audit of open-source crypto code.

Now

Heartbleed became the reference case for pre-authentication memory bugs in foundational open-source software, and it accelerated funding for open-source security review.

Why this matters now

Same shape as NFS2ROOT: an unauthenticated memory error in code almost nobody inspects, found years after it shipped. The difference is that NFS servers usually sit inside a network perimeter rather than on the public internet.

March-May 2017

EternalBlue and WannaCry (2017)

Microsoft patched a critical remote code execution flaw in its SMBv1 file-sharing protocol in March 2017. A leaked NSA exploit for it, EternalBlue, appeared in April. In May, the WannaCry ransomware used it to encrypt machines across hospitals, factories and government offices in more than 150 countries.

Then

Hundreds of thousands of machines were disrupted, and Microsoft took the unusual step of shipping a patch for unsupported Windows versions.

Now

EternalBlue remained in use for years, and unpatched file-sharing services became a standing example of what happens when a patch exists but deployment does not.

Why this matters now

NFS on port 2049 is the same category of exposure: a file-sharing service where reachability is the only precondition. The WannaCry timeline shows how much depends on how fast appliance and server kernels actually get updated.

September 2014

Shellshock (2014)

Researchers found that Bash, the default shell on most Linux and Unix systems, would execute code hidden in environment variables. The flaw had gone unnoticed for roughly two decades and affected web servers, embedded devices and anything else that passed untrusted input to a shell.

Then

Patches shipped within days, but scanning found large numbers of exposed devices that never received them.

Now

Shellshock reinforced the practice of treating long-dormant code paths in ubiquitous software as likely places for serious bugs.

Why this matters now

The 12-year dormancy is the headline here too. A commit from March 2014 looked correct when it landed, and the flaw survived every stable and distribution kernel since.

Sources

(11)