Linux NFS vulnerability CVE-2026-99362 (nfs2root): are you affected, and how to patch

A bug in the Linux kernel's NFS server, scored 9.8 and reachable before any login, sat in the code from Linux 3.16 (2014) until this autumn. Most Linux machines are not exposed. Three read-only checks tell you whether yours is, followed by the fixed versions, where Ubuntu, Debian, Red Hat and SUSE stand, and what to do if you can't reboot tonight.

On 25 November 2026 a write-up called “nfs2root” put a name on CVE-2026-99362, a bug in the Linux kernel’s own NFS server. The CVE record scores it 9.8 out of 10 (AV:N/AC:L/PR:N/UI:N): reachable over the network, no login, no user interaction. The commit that introduced it is from March 2014.

Before you panic: most Linux machines are not exposed at all. Exposure needs three things at once, and each can be checked in a few seconds. This post covers those checks, the fixed versions, the distro status as of 26 November, and the order to patch in. Everything here comes from the CVE record, the kernel commits, the distro trackers and man pages; the researchers’ claims are labelled “as reported”. Nothing was tested or scanned for it, and there are no exploit details here.

What it is, in one paragraph

The bug sits in nfsd, the NFS file server built into the Linux kernel (fs/nfsd/nfs4state.c). In one line: a network client can make the server write past the end of a heap buffer in the NFSv4.1 session reply cache, before any authentication check. Red Hat classifies it as CWE-787 (out-of-bounds write) and says it can lead to memory corruption and a crash, or potentially code execution. The researchers at OpenSec say they chained it into a remote root shell. As reported by Newzino, their exploit is private, and as of 25 November no vendor or agency had reported attacks in the wild. (Their own write-up sat behind a bot check when we tried to read it, so we rely on the official sources and on coverage of it.)

Twelve years in the code

Mar 13, 2014nfsd4: adjust buflen to session channel limitcommit 47ee52986472, the bug is introducedAug 3, 2014Linux 3.16 releasedfirst release with the bugAug 18, 2026Fix written: “nfsd: preflight SEQUENCE replies…”commit 35ff1a7a7e38 (in mainline for 7.4-rc1)Nov 6, 2026Stable 6.18.61 and 7.3.2 ship the fix6.12.117 on Nov 10; 6.6, 6.1, 5.15, 5.10 on Nov 23Nov 19, 2026CVE-2026-99362 published, CVSS 9.8Linux kernel CNA; NVD the same dayNov 25, 2026“nfs2root” write-up and headlinesOpenSec, as reported
Twelve years in the code, and the fix was public in stable kernels 19 days before the name. Not to scale. Sources: the two commits, kernel.org ChangeLogs, the CVE record, the disclosure as reported.

The bug came in with commit 47ee52986472, “nfsd4: adjust buflen to session channel limit”, authored on 13 March 2014. It limited the reply buffer to the size negotiated for the session. Its message ends, with some irony, “Also fix a preexisting bug.” It shipped in Linux 3.16 (3 August 2014), and every release since carried it.

The fix, 35ff1a7a7e38 “nfsd: preflight SEQUENCE replies before accepting a slot”, was authored on 18 August 2026 by Jérémy Jean and committed by NFS server maintainer Chuck Lever on 5 October, tagged Fixes: and Cc: stable. It also carries an Assisted-by: Codex:gpt-5 line, crediting an AI coding assistant, and a Tested-by from OpenSec.

The detail that matters for defenders is the order of events. The fix shipped in the stable kernels 6.18.61 and 7.3.2 on 6 November. The CVE was published on 19 November. The name and the headlines came on 25 November. Anyone reading kernel changelogs saw the fix 19 days before the headlines did. The practical lesson: patch on the changelog, not on the headline.

Who is actually exposed

You are exposed only if all three of these are true:

# Condition Why
1 The kernel NFS server (nfsd) is running The bug is server-side. Machines that only mount NFS shares are not the vulnerable side.
2 It serves NFSv4.1 or 4.2 The bug is in v4.1 sessions. The minor versions are normally on by default when the server runs (rpc.nfsd(8)).
3 TCP port 2049 is reachable from a network you don’t trust NFSv4 listens on 2049. Red Hat’s mitigation is to “restrict network access to port 2049 to trusted networks”.

Red Hat’s statement is reassuring for most fleets: “Default Red Hat Enterprise Linux configurations do not run or enable the in-kernel NFS server daemon (nfsd)… Deployments that do not operate as an NFS server are not exposed.” It’s something you switch on. Where it hides: home NAS boxes, office file servers, shared storage for compute or container clusters, and test VMs nobody remembers.

The three checks

All three yes → exposed: patch + reboot now, firewall 2049 meanwhile1 · nfsd running?cat /proc/fs/nfsd/threadsmissing or 0 → done2 · 2049 reachable?exportfs -v · ss -tln+ firewall rules3 · still unpatched?distro CVE pagevs your kernel packageAny 'no' at step 1 or 2 → not exposed to this bug. A fixed package at step 3 → safe once you have rebooted into it.
The three checks for CVE-2026-99362. Step 3 means the fixed distro package, not the upstream version number: distro kernels backport fixes under their own numbers.

All read-only, on your own machine.

1. Is the NFS server running?

cat /proc/fs/nfsd/threads          # "No such file" or 0 = not serving NFS
systemctl is-active nfs-server     # "active" = serving

nfsd(7) describes threads as “the number of nfsd threads currently running”. If the file is missing or shows 0, you’re done as far as this bug goes.

2. What’s shared, and who can reach it?

sudo exportfs -v                   # every export and the clients allowed
ss -tln | grep 2049                # which address the server listens on

exportfs(8) -v lists the current exports with their options. A listen address of 0.0.0.0 (or [::]) means every interface. Then your firewall, or your cloud security group, is the only thing between port 2049 and the network. If 2049 is open to the internet or to a guest network, treat this as urgent. Don’t treat a restrictive export list as a firewall: the vulnerable code runs before any login, so control reachability at the network layer.

3. Is your kernel fixed?

Upstream, the fix landed in eight branches:

Branch Fixed in
5.10 5.10.275
5.15 5.15.226
6.1 6.1.193
6.6 6.6.163
6.12 6.12.117
6.18 6.18.61
7.3 7.3.2
mainline 7.4-rc1

The trap: uname -r on a distro kernel doesn’t tell you. Distros backport fixes under their own version numbers. Ubuntu 26.04, for example, runs a 7.0 kernel. Upstream has no fix for the 7.0 branch at all; only Ubuntu’s own backport counts. So skip the number. Open your distro’s page for the CVE and compare its fixed package version with the kernel package you are actually running.

Distro status (26 November 2026)

Distro Status Source
Debian 13 (trixie) fixed in 6.12.117-1; 12 (bookworm) default linux 6.1 vulnerable; bookworm’s optional linux-6.12 fixed security-tracker.debian.org
Ubuntu Priority Critical; 26.10 and 26.04 LTS fix in progress; 24.04, 22.04, 20.04, 18.04, 16.04 vulnerable; 14.04 not affected ubuntu.com/security
Red Hat Critical, 9.8; RHEL 6, 7, 8, 9, 10 affected, fix pending; mitigation published access.redhat.com
SUSE Rated important, SUSE score 8.1 (AC:H); SLES 15 SP7 affected; SLES 16.0 / 16.1 not affected suse.com/security

Two details worth noticing. Ubuntu 14.04 is “not affected” because its 3.13 kernel predates the bug: being twelve years out of date has exactly one perk. And SUSE scores the same bug 8.1 rather than 9.8, judging the attack complexity higher. These pages change daily, so check them again before you act.

How to patch, in order

  1. Install your distro’s kernel update the day it ships, then reboot. Until you reboot, the old kernel keeps running. If your vendor ships a live patch for this CVE, that can bridge the gap until the reboot. Check the vendor’s page, since live patches don’t cover every fix.
  2. Can’t reboot tonight? Close port 2049 to everything except the machines that really mount from this server. Red Hat’s advisory shows the firewalld rules for this.
  3. Not using NFS at all? systemctl disable --now nfs-server. Red Hat warns that stopping the server cuts off active sessions.
  4. Last resort: turn off NFSv4.1 and 4.2 in /etc/nfs.conf ([nfsd] vers4.1=n, vers4.2=n; see nfs.conf(5)). This was reported as a mitigation, but do it only if every client can live without those versions.

Sources