NFS2ROOT, the Critical Linux NFS Server Flaw, Has Fixes on Eight Kernel Lines but the Write-Up and BleepingComputer Name Four, RHEL 9 and Ubuntu’s LTS Kernels Had No Update at Our Check, and the Warning OpenSec Says Appears on Every Attempt Is a WARN_ON_ONCE
OpenSec’s NFS2ROOT write-up and BleepingComputer name four fixed Linux kernel lines, the CVE record lists eight, and the kernel source shows that the warning OpenSec says appears on every attempt is...
A heap overflow in the Linux kernel’s built-in NFS server, CVE-2026-99362, can be reached over TCP port 2049 without logging in. The kernel’s CVE team scores it 9.8. The security firm OpenSec named it NFS2ROOT on November 25, says its harness, Antara, turned it into a root shell with no human in the loop, and says the exploit stays private. BleepingComputer covered it on November 27. We checked both accounts against the CVE record and its edit history, kernel git, the stable ChangeLog files, the kernel source and the distribution trackers. The records disagree with the coverage in several places that matter to anyone patching. All times are UTC, and the tracker checks ran between 10:15 and 10:25 on November 29.
Table Of Content
- What we found
- How the bug works, as the kernel’s own records tell it
- Timeline
- Which kernels are fixed, and why four lines are not enough
- Where the write-up and the coverage differ from the records
- What the distributions say
- Ratings, exploitation and public code
- What to do now
- Check a host
- If you cannot patch today
- Hunting
- What we could not verify
- Sources
What we found
- Eight fixed lines, four named. The CVE record lists fixes in 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. OpenSec’s page and BleepingComputer name only 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. The record has listed all eight since November 23 at 08:01, and the four older releases were tagged that morning, two days before OpenSec’s page appeared.
- Distributions are split. Debian, Amazon Linux, Red Hat (RHEL 8 and the 10.0 and 10.2 EUS streams) and Oracle Linux (RHCK 8 and UEK) had updates. Red Hat still lists RHEL 9 as affected with no fix, Ubuntu’s tracker marks 20.04, 22.04 and 24.04 as needing one, and none of the 254 rows on SUSE’s page is marked released.
- The hunting tip does not hold as written. OpenSec tells defenders to watch for kernel warnings from
nfsd4_check_resp_size“on every attempt, successful or not.” In the mainline tags v5.10, v5.15, v6.1, v6.6, v6.12, v6.18 and v7.3, the only warning in that function isWARN_ON_ONCE(1), which logs once and then stays quiet. - The credited commits are not the shipped ones. OpenSec credits ANSSI’s Jérémy Jean with commits 5d5a72e965c8 and 241848cc774e. Those are September 14 versions that are in neither the CVE record nor v7.4-rc1. The October 5 versions, 35ff1a7a7e38 and ec013ca40bd7, are. The second is authored by Chuck Lever, calls itself “a guard rather than a fix,” and is in none of the seven stable releases.
- Small errors in the coverage. BleepingComputer dates Linux 3.16 to March 2014 (it was tagged on August 3, 2014; March is when the bug’s commit was written) and says admins can “stop and disable the nfs-server service in /etc/nfs.conf” (that file configures the NFS daemons, including which protocol versions are on, but it does not stop a service).
- Public repositories exist. Nine GitHub repositories matching the bug’s name or the CVE ID were created between November 26 and 28. We did not open them.
How the bug works, as the kernel’s own records tell it
NFS version 4.1 and 4.2 clients open a session with the server, and each session slot caches its last reply so that a retried request is answered exactly once. The client chooses how big that cache is. The CVE text says a client “may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ,” which makes nfsd4_alloc_slot() give every slot a zero-length sl_data[]. A COMPOUND request whose tag fills the narrowed reply buffer up to the SEQUENCE opcode, but not the status word after it, makes the encoder return early. The status stays nfs_ok, so the server treats the call as a success and copies the whole reply, RPC and COMPOUND headers and the client-chosen tag included, into the zero-length buffer. The commit message quotes the kernel’s address sanitizer (KASAN): a slab-out-of-bounds write of size 80 in read_bytes_from_xdr_buf.
The kernel CVE team’s scoring note explains the no-privileges-required rating. EXCHANGE_ID with SP4_NONE, CREATE_SESSION and SEQUENCE are allowed without a file handle and “never call fh_verify or check_nfsd_access,” and the AUTH_SYS user id is copied from the request without being checked. On that reading, the three setup operations that reach the bug skip the per-export access check. OpenSec adds that one connection writes past a heap object (of the 80 bytes copied, it says 61 land beyond the end of the object and 40 are chosen by the client), and describes a five-step chain (overflow, kernel-heap leak, forced free, reclaim with a fake callback, hang up) that ends with /bin/sh running as root. Its page says that “anyone who can reach port 2049” can take over a server, and it publishes none of the exploit.
The fix is 18 added lines and one removed line in fs/nfsd/nfs4state.c. Before nfsd4_sequence() narrows the reply buffer and accepts the slot’s sequence id, it now computes the size of the fixed SEQUENCE result, adds room for an error status when another operation follows, and returns an error if that does not fit the negotiated limit. The mainline commit is 35ff1a7a7e38. Jérémy Jean of ANSSI, the French national cybersecurity agency, wrote it (author date August 17, 20:57 EDT), and Chuck Lever committed it on October 5 at 01:15. Its trailers include Fixes: 47ee52986472, Cc: [email protected], Assisted-by: Codex:gpt-5 and a Tested-by line for an OpenSec Intelligence engineer. The Assisted-by trailer is the kind of disclosure we examined in our piece on the kernel retiring that tag.
Timeline
| When (UTC) | What happened | Where it comes from |
|---|---|---|
| 2014-03-13 and 2014-05-30 | Commit 47ee52986472, “nfsd4: adjust buflen to session channel limit,” is written (March 13) and committed (May 30). It is in v3.16-rc1 and not in v3.15. Linux 3.16 is tagged on August 3, 2014 at 22:25. | GitHub commit, compare and tag APIs |
| 2026-08-18 00:57 | Jean’s fix is authored (August 17, 20:57 EDT). | Commit metadata; OpenSec timeline |
| 2026-09-14 00:36 | Chuck Lever commits the pair 5d5a72e965c8 and 241848cc774e, the two IDs OpenSec credits. | GitHub commit API |
| 2026-09-21 and 22 | OpenSec says its harness flagged the bug on September 21, and that on September 22 it reported the bug, with the exploit and a patch, to the NFSD maintainers and [email protected]. | OpenSec |
| 2026-09-25 10:25 | The CVE ID is reserved. | CVE.org record |
| 2026-10-05 01:15 | Lever commits 35ff1a7a7e38 (the fix, now with a Tested-by trailer for OpenSec) and ec013ca40bd7 (the guard). | GitHub commit API |
| 2026-10-18 23:14 and 2026-11-01 21:26 | v7.3 is tagged without the fix. v7.4-rc1 is tagged with both commits. | GitHub tag and compare APIs |
| 2026-11-06 17:06 to 17:10 | 6.18.61 and 7.3.2 are tagged with the fix. | kernel.org ChangeLogs |
| 2026-11-10 18:05 | 6.12.117 is tagged. | kernel.org ChangeLog |
| 2026-11-19 14:22 | The CVE record is published with four fix commits (6.12.117, 6.18.61, 7.3.2 and mainline). OpenSec dates this to November 20. | CVE.org; cvelistV5 history |
| 2026-11-23 07:06 to 07:27 | 5.10.275, 5.15.226, 6.1.193 and 6.6.163 are tagged. The record is updated at 08:01 to list eight lines. | kernel.org ChangeLogs; cvelistV5 history |
| 2026-11-25 | OpenSec’s page appears. Its fixed-version table has four rows. | OpenSec |
| 2026-11-26 and 27 | Errata ship: Red Hat RHEL 8 and Oracle Linux on the 26th; Red Hat 10 EUS and Amazon Linux on the 27th. BleepingComputer publishes on the 27th. | Red Hat, Oracle and Amazon data; BleepingComputer |
| 2026-11-26 01:06 to 2026-11-28 10:55 | Nine public GitHub repositories named for the bug or the CVE are created. | GitHub search metadata |
Which kernels are fixed, and why four lines are not enough
The kernel CNA record is the only place that lists all eight fixes. Its stable commits match the ChangeLog entries of the seven stable releases one for one: each ChangeLog carries the commit the record lists for that line, authored on the same August 17 timestamp.
| Line | First fixed release | Tagged (UTC) | Fix commit | Named by OpenSec and BleepingComputer |
|---|---|---|---|---|
| 5.10 | 5.10.275 | Nov 23 07:06 | aff12e327620 | No |
| 5.15 | 5.15.226 | Nov 23 07:12 | 6a26c5473bb1 | No |
| 6.1 | 6.1.193 | Nov 23 07:17 | fa85acf074f0 | No |
| 6.6 | 6.6.163 | Nov 23 07:27 | cd303eb29cf3 | No |
| 6.12 | 6.12.117 | Nov 10 18:05 | 1a5a227bca6a | Yes |
| 6.18 | 6.18.61 | Nov 6 17:06 | 37fc2ec21163 | Yes |
| 7.3 | 7.3.2 | Nov 6 17:10 | ed98b0c57e5e | Yes |
| Mainline | 7.4-rc1 | Nov 1 21:26 | 35ff1a7a7e38 | Yes |
OpenSec’s “Am I exposed?” checklist says to look for a kernel “Older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, with no distribution backport,” and BleepingComputer says the flaw affects kernels “older than 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1.” Read literally, that flags every 5.10, 5.15, 6.1 and 6.6 kernel, including ones that already carry the fix, and OpenSec’s “Patch and reboot” table has rows only for 6.12 LTS, 6.18, 7.3 and mainline. An administrator on 6.6 finds no row for their line in either text, although the fixed release had been out for two days when OpenSec published and four when BleepingComputer did. Fixes that exist on some kernel lines but not others, and vendors that trail upstream, also shaped our reports on NoisyTCP and CVE-2026-98276.
The script below turns the eight-line table into a check you can run. It reads three things and changes nothing: the kernel release, /proc/fs/nfsd/versions (which lists NFS versions with a plus or minus sign) and the output of ss -ltn. It judges upstream-style version numbers against all eight fixed releases. It refuses to judge vendor kernels by number, because backports hide the real level: a RHEL 9 kernel says 5.14.0 whether or not it carries the fix. We tested it on made-up inputs on Windows 11 with Python 3.13, since no Linux host was available here.
# nfs2root_check.py
#!/usr/bin/env python3
"""nfs2root_check.py: read-only triage for CVE-2026-99362 (NFS2ROOT), the Linux nfsd flaw.
Upstream fixes, from the kernel CNA record: 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. A vendor kernel carries backports, so its version
number cannot say whether the fix is in: use the vendor advisory for those.
It reads the kernel release, /proc/fs/nfsd/versions and `ss -ltn`, and changes nothing.
"""
import argparse
import os
import re
import subprocess
import sys
FIXED = {(5, 10): 275, (5, 15): 226, (6, 1): 193, (6, 6): 163, (6, 12): 117, (6, 18): 61, (7, 3): 2}
MAINLINE_FIX = (7, 4) # 7.4-rc1 and every later release
ORIGIN = (3, 16) # the commit that introduced the bug is in 3.16-rc1
VENDOR_MARKS = ("el6", "el7", "el8", "el9", "el10", ".fc", "-generic", "-aws", "-azure", "-gcp",
"-oracle", "-amd64", "-arm64", "-oem", "-lowlatency", "-cloud", "-default",
"uek", "amzn", "+deb", "ubuntu")
FOUR_LINE_POINTS = [(6, 12, 117), (6, 18, 61), (7, 3, 2), (7, 4, 0)]
def parse_release(text):
m = re.match(r"(\d+)\.(\d+)(?:\.(\d+))?", text.strip())
if not m:
return None
return int(m.group(1)), int(m.group(2)), int(m.group(3) or 0)
def classify(release):
"""Return (verdict, why) for a kernel release string."""
v = parse_release(release)
if v is None:
return "UNKNOWN", "no version number in %r" % release
if any(mark in release for mark in VENDOR_MARKS):
return "VENDOR", "vendor kernel, backports hide the real level; match the package to the vendor advisory"
major, minor, patch = v
line = (major, minor)
if line < ORIGIN:
return "UNAFFECTED", "older than 3.16, before the bug was introduced"
if line >= MAINLINE_FIX:
return "FIXED", "7.4-rc1 or later"
if line in FIXED:
need = FIXED[line]
if patch >= need:
return "FIXED", "%d.%d.%d is at or past %d.%d.%d" % (major, minor, patch, major, minor, need)
return "EXPOSED", "%d.%d.%d is older than %d.%d.%d" % (major, minor, patch, major, minor, need)
return "NO_FIX_LINE", "%d.%d has no fixed release in the CVE record; use a line that has one" % (major, minor)
def four_line_rule(release):
"""The rule as written in the write-up: older than 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1."""
v = parse_release(release)
if v is None:
return None
for point in FOUR_LINE_POINTS:
if v[:2] <= point[:2]:
return v < point
return False
def nfsd_versions(text):
"""Enabled versions from /proc/fs/nfsd/versions, for example '-2 +3 +4 +4.1 +4.2'."""
return {tok[1:] for tok in text.split() if tok.startswith("+")}
def listeners_2049(ss_text):
"""Local addresses listening on tcp/2049 in `ss -ltn` output."""
hosts = []
for line in ss_text.splitlines():
parts = line.split()
if len(parts) >= 4 and parts[0] == "LISTEN":
host, _, port = parts[3].rpartition(":")
if port == "2049":
hosts.append(host.strip("[]"))
return hosts
def reachable(hosts):
return [h for h in hosts if not (h.startswith("127.") or h == "::1")]
def assess(release, versions_text, ss_text):
"""Return (exit_code, report lines)."""
kind, why = classify(release)
lines = ["kernel : %s -> %s (%s)" % (release, kind, why)]
if versions_text is None:
lines.append("nfsd : /proc/fs/nfsd/versions not found, nfsd is probably not loaded")
sessions = False
else:
enabled = nfsd_versions(versions_text)
sessions = bool(enabled & {"4.1", "4.2"})
lines.append("nfsd : NFSv4.1/4.2 %s (%s)" % ("ON" if sessions else "off", versions_text.strip()))
hosts = listeners_2049(ss_text)
open_hosts = reachable(hosts)
lines.append("tcp/2049 : %s" % (", ".join(hosts) if hosts else "no listener"))
if kind in ("FIXED", "UNAFFECTED"):
lines.append("verdict : OK, fixed kernel")
return 0, lines
if not sessions:
lines.append("verdict : LOWER RISK, the NFSv4.1/4.2 path is off (recheck after config changes)")
return 0, lines
if not open_hosts:
lines.append("verdict : LOWER RISK, nothing listens on a non-loopback address (check firewalls and containers)")
return 0, lines
if kind == "VENDOR":
lines.append("verdict : CHECK VENDOR, compare the package version with the vendor advisory")
return 1, lines
lines.append("verdict : ACTION, patch and reboot, or close tcp/2049, or set vers4.1=n and vers4.2=n")
return 2, lines
def compare_table(releases):
rows = ["release four-line rule eight-line table"]
for rel in releases:
old = four_line_rule(rel)
new, _ = classify(rel)
rows.append("%-12s %-16s %s" % (rel, "exposed" if old else "not flagged", new))
return rows
def main(argv=None):
ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
ap.add_argument("--release", help="kernel release string (default: uname -r)")
ap.add_argument("--versions-file", help="file holding /proc/fs/nfsd/versions text (default: read the real one)")
ap.add_argument("--ss-file", help="file holding `ss -ltn` output (default: run ss)")
ap.add_argument("--compare", action="store_true", help="print the four-line rule next to the eight-line table")
args = ap.parse_args(argv)
if args.compare:
sample = ["5.10.274", "5.10.275", "5.15.226", "6.1.193", "6.6.162", "6.6.163", "6.6.170",
"6.12.116", "6.12.117", "6.14.11", "6.18.61", "7.2.9", "7.3.1", "7.3.2", "7.4.0-rc1"]
print("\n".join(compare_table(sample)))
return 0
release = args.release if args.release is not None else os.uname().release
if args.versions_file:
versions_text = open(args.versions_file, encoding="utf-8").read()
else:
try:
versions_text = open("/proc/fs/nfsd/versions", encoding="utf-8").read()
except OSError:
versions_text = None
if args.ss_file:
ss_text = open(args.ss_file, encoding="utf-8").read()
else:
try:
ss_text = subprocess.run(["ss", "-ltn"], capture_output=True, text=True, timeout=10).stdout
except (OSError, subprocess.SubprocessError):
ss_text = ""
code, lines = assess(release, versions_text, ss_text)
print("\n".join(lines))
return code
if __name__ == "__main__":
sys.exit(main())
The comparison mode prints the literal four-line reading next to the eight-line table for a sample of releases:
release four-line rule eight-line table
5.10.274 exposed EXPOSED
5.10.275 exposed FIXED
5.15.226 exposed FIXED
6.1.193 exposed FIXED
6.6.162 exposed EXPOSED
6.6.163 exposed FIXED
6.6.170 exposed FIXED
6.12.116 exposed EXPOSED
6.12.117 not flagged FIXED
6.14.11 exposed NO_FIX_LINE
6.18.61 not flagged FIXED
7.2.9 exposed NO_FIX_LINE
7.3.1 exposed EXPOSED
7.3.2 not flagged FIXED
7.4.0-rc1 not flagged FIXED
Five sample inputs show the verdicts. These commands write the four small input files the demo reads:
mkdir -p sample
printf -- '-2 +3 +4 +4.0 +4.1 +4.2\n' > sample/versions_on.txt
printf -- '-2 +3 +4 +4.0 -4.1 -4.2\n' > sample/versions_off.txt
printf 'State Recv-Q Send-Q Local Address:Port Peer Address:Port Process\nLISTEN 0 64 0.0.0.0:2049 0.0.0.0:*\nLISTEN 0 64 [::]:2049 [::]:*\n' > sample/ss_open.txt
printf 'State Recv-Q Send-Q Local Address:Port Peer Address:Port Process\nLISTEN 0 64 127.0.0.1:2049 0.0.0.0:*\n' > sample/ss_loop.txt
In the run below the first host is exposed, the second is fixed, the third is a vendor kernel whose number says nothing, the fourth has NFSv4.1 and 4.2 switched off, and the fifth listens only on loopback:
$ python3 nfs2root_check.py --release 6.6.162 --versions-file sample/versions_on.txt --ss-file sample/ss_open.txt
kernel : 6.6.162 -> EXPOSED (6.6.162 is older than 6.6.163)
nfsd : NFSv4.1/4.2 ON (-2 +3 +4 +4.0 +4.1 +4.2)
tcp/2049 : 0.0.0.0, ::
verdict : ACTION, patch and reboot, or close tcp/2049, or set vers4.1=n and vers4.2=n
exit code: 2
$ python3 nfs2root_check.py --release 6.6.170 --versions-file sample/versions_on.txt --ss-file sample/ss_open.txt
kernel : 6.6.170 -> FIXED (6.6.170 is at or past 6.6.163)
nfsd : NFSv4.1/4.2 ON (-2 +3 +4 +4.0 +4.1 +4.2)
tcp/2049 : 0.0.0.0, ::
verdict : OK, fixed kernel
exit code: 0
$ python3 nfs2root_check.py --release 5.14.0-503.14.1.el9_5.x86_64 --versions-file sample/versions_on.txt --ss-file sample/ss_open.txt
kernel : 5.14.0-503.14.1.el9_5.x86_64 -> VENDOR (vendor kernel, backports hide the real level; match the package to the vendor advisory)
nfsd : NFSv4.1/4.2 ON (-2 +3 +4 +4.0 +4.1 +4.2)
tcp/2049 : 0.0.0.0, ::
verdict : CHECK VENDOR, compare the package version with the vendor advisory
exit code: 1
$ python3 nfs2root_check.py --release 6.6.162 --versions-file sample/versions_off.txt --ss-file sample/ss_open.txt
kernel : 6.6.162 -> EXPOSED (6.6.162 is older than 6.6.163)
nfsd : NFSv4.1/4.2 off (-2 +3 +4 +4.0 -4.1 -4.2)
tcp/2049 : 0.0.0.0, ::
verdict : LOWER RISK, the NFSv4.1/4.2 path is off (recheck after config changes)
exit code: 0
$ python3 nfs2root_check.py --release 6.6.162 --versions-file sample/versions_on.txt --ss-file sample/ss_loop.txt
kernel : 6.6.162 -> EXPOSED (6.6.162 is older than 6.6.163)
nfsd : NFSv4.1/4.2 ON (-2 +3 +4 +4.0 +4.1 +4.2)
tcp/2049 : 127.0.0.1
verdict : LOWER RISK, nothing listens on a non-loopback address (check firewalls and containers)
exit code: 0
The 13 tests below sit next to the script and run with python3 test_nfs2root.py. They cover every line boundary, newer and release-candidate versions, unmaintained lines, vendor and upstream-style suffixes, the version file, the ss parser (including ports that merely contain 2049) and the verdict codes:
# test_nfs2root.py
import sys
import nfs2root_check as n
SS_OPEN = "State Recv-Q Send-Q Local Address:Port Peer Address:Port Process\nLISTEN 0 64 0.0.0.0:2049 0.0.0.0:*\nLISTEN 0 64 [::]:2049 [::]:*\n"
SS_LOOP = "LISTEN 0 64 127.0.0.1:2049 0.0.0.0:*\nLISTEN 0 64 [::1]:2049 [::]:*\n"
ON = "-2 +3 +4 +4.0 +4.1 +4.2\n"
OFF = "-2 +3 +4 +4.0 -4.1 -4.2\n"
def test_each_line_boundary():
for rel, want in [("5.10.274", "EXPOSED"), ("5.10.275", "FIXED"), ("5.15.225", "EXPOSED"), ("5.15.226", "FIXED"),
("6.1.192", "EXPOSED"), ("6.1.193", "FIXED"), ("6.6.162", "EXPOSED"), ("6.6.163", "FIXED"),
("6.12.116", "EXPOSED"), ("6.12.117", "FIXED"), ("6.18.60", "EXPOSED"), ("6.18.61", "FIXED"),
("7.3.1", "EXPOSED"), ("7.3.2", "FIXED")]:
assert n.classify(rel)[0] == want, rel
def test_newer_than_the_fix_point():
for rel in ["6.6.200", "6.12.140", "7.3.9", "7.4.0-rc1", "7.4-rc1", "7.4.3", "7.5.0", "8.0.1"]:
assert n.classify(rel)[0] == "FIXED", rel
def test_rc_before_the_fix_is_exposed():
assert n.classify("7.3.0-rc4")[0] == "EXPOSED"
def test_unmaintained_lines_have_no_fix():
for rel in ["4.19.320", "5.4.300", "6.8.12", "6.9.1", "6.13.9", "6.14.11", "6.17.4", "6.19.2", "7.0.5", "7.2.9"]:
assert n.classify(rel)[0] == "NO_FIX_LINE", rel
def test_before_the_origin_is_unaffected():
assert n.classify("3.15.9")[0] == "UNAFFECTED"
assert n.classify("3.16.0")[0] == "NO_FIX_LINE"
def test_vendor_kernels_are_not_judged_by_number():
for rel in ["5.14.0-503.14.1.el9_5.x86_64", "6.12.0-55.121.1.el10_0.x86_64", "6.8.0-45-generic",
"6.1.0-18-amd64", "6.12.0+deb13-amd64", "6.12.4-200.fc41.x86_64", "5.15.0-1070-aws"]:
assert n.classify(rel)[0] == "VENDOR", rel
def test_upstream_style_suffixes_are_judged_by_number():
assert n.classify("6.6.170-lts")[0] == "FIXED"
assert n.classify("6.12.116-arch1-1")[0] == "EXPOSED"
def test_garbage_release():
assert n.classify("foo")[0] == "UNKNOWN"
def test_four_line_rule_flags_fixed_older_lines():
for rel in ["5.10.275", "5.15.226", "6.1.193", "6.6.163", "6.6.170"]:
assert n.four_line_rule(rel) is True and n.classify(rel)[0] == "FIXED", rel
for rel in ["6.12.117", "6.18.61", "7.3.2", "7.4.0-rc1", "7.5.0"]:
assert n.four_line_rule(rel) is False, rel
for rel in ["6.12.116", "6.14.11", "6.18.60", "7.3.1"]:
assert n.four_line_rule(rel) is True, rel
def test_versions_file():
assert n.nfsd_versions(ON) == {"3", "4", "4.0", "4.1", "4.2"}
assert n.nfsd_versions(OFF) == {"3", "4", "4.0"}
assert n.nfsd_versions("") == set()
def test_ss_parsing():
assert n.listeners_2049(SS_OPEN) == ["0.0.0.0", "::"]
assert n.reachable(n.listeners_2049(SS_LOOP)) == []
assert n.listeners_2049("LISTEN 0 64 0.0.0.0:20490 0.0.0.0:*\nLISTEN 0 64 0.0.0.0:12049 0.0.0.0:*\n") == []
assert n.listeners_2049("LISTEN 0 64 *:2049 *:*\n") == ["*"]
assert n.reachable(["10.1.2.3"]) == ["10.1.2.3"]
assert n.listeners_2049("ESTAB 0 0 10.0.0.5:2049 10.0.0.9:51000\n") == []
def test_verdicts():
assert n.assess("6.6.162", ON, SS_OPEN)[0] == 2
assert n.assess("6.6.163", ON, SS_OPEN)[0] == 0
assert n.assess("6.6.162", OFF, SS_OPEN)[0] == 0
assert n.assess("6.6.162", ON, SS_LOOP)[0] == 0
assert n.assess("6.6.162", None, "")[0] == 0
assert n.assess("5.14.0-503.el9_5.x86_64", ON, SS_OPEN)[0] == 1
assert n.assess("6.8.12", ON, SS_OPEN)[0] == 2
assert n.assess("3.10.0", ON, SS_OPEN)[0] == 0
def test_report_text():
code, lines = n.assess("6.6.162", ON, SS_OPEN)
assert lines[0].startswith("kernel : 6.6.162 -> EXPOSED")
assert "NFSv4.1/4.2 ON" in lines[1]
assert lines[-1].startswith("verdict : ACTION")
if __name__ == "__main__":
tests = [(k, v) for k, v in sorted(globals().items()) if k.startswith("test_") and callable(v)]
failed = 0
for name, fn in tests:
try:
fn()
print("PASS", name)
except AssertionError as ex:
failed += 1
print("FAIL", name, ex)
print("%d of %d tests passed" % (len(tests) - failed, len(tests)))
sys.exit(1 if failed else 0)
PASS test_before_the_origin_is_unaffected
PASS test_each_line_boundary
PASS test_four_line_rule_flags_fixed_older_lines
PASS test_garbage_release
PASS test_newer_than_the_fix_point
PASS test_rc_before_the_fix_is_exposed
PASS test_report_text
PASS test_ss_parsing
PASS test_unmaintained_lines_have_no_fix
PASS test_upstream_style_suffixes_are_judged_by_number
PASS test_vendor_kernels_are_not_judged_by_number
PASS test_verdicts
PASS test_versions_file
13 of 13 tests passed
Where the write-up and the coverage differ from the records
| What was said | Who said it | What the records show |
|---|---|---|
| “Fixed in Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1.” | OpenSec; BleepingComputer’s list is the same four | The CVE record has listed eight fixed lines since November 23 at 08:01, two days before OpenSec’s page. The four extra releases were tagged that morning. |
| The bug has existed since Linux 3.16 “released in March 2014.” | BleepingComputer | The commit was written on March 13 and committed on May 30, 2014, and v3.16-rc1 contains it. Linux 3.16 was tagged on August 3, 2014. OpenSec’s own timeline (commit in March, ships in 3.16) matches the git data. |
| Admins can “stop and disable the nfs-server service in /etc/nfs.conf.” | BleepingComputer | nfs.conf(5) lists vers3, vers4, vers4.0, vers4.1 and vers4.2 as Boolean values for the nfsd section. Red Hat’s mitigation stops the service with systemctl. OpenSec’s workaround sets vers4.1 and vers4.2 to n and restarts nfs-server. |
| Jean “wrote the upstream fix, 5d5a72e965c8 and 241848cc774e.” | OpenSec | Both are September 14 commits and neither is in the record’s fix list or in v7.4-rc1. The October 5 versions are: 35ff1a7a7e38 (Jean’s, with a Tested-by trailer for OpenSec) and ec013ca40bd7. The metadata names Chuck Lever as author of the second, which says it is “a guard rather than a fix.” No stable release carries it. |
| The CVE was published on November 20. | OpenSec timeline | CVE.org and Red Hat’s data show November 19 at 14:22. |
Kernel warnings from nfsd4_check_resp_size appear “on every attempt, successful or not.” |
OpenSec | The only warning in that function is WARN_ON_ONCE(1) at the mainline tags v5.10, v5.15, v6.1, v6.6, v6.12, v6.18 and v7.3, so a host logs it at most once until nfsd is reloaded or the machine reboots. |
| “The exploit stays private.” | OpenSec | Nine public repositories named for the bug or the CVE appeared between November 26 and 28. Their names and descriptions mention a QEMU proof of concept, a PoC checker, a read-only audit, TrueNAS and Proxmox. We did not open them, so we cannot say what code they hold. |
| The bug affects “any Linux host serving NFSv4.1 or 4.2 (the default).” | OpenSec | Red Hat says that “Default Red Hat Enterprise Linux configurations do not run or enable the in-kernel NFS server daemon (nfsd).” Our reading: the default refers to the protocol versions of a server that is already running. |
What the distributions say
Statuses below come from each vendor’s own tracker or errata data, read between 10:15 and 10:25 on November 29. Ubuntu’s tracker data was last updated on November 25 at 22:35, so it may lag the archive.
| Distribution | State |
|---|---|
| Debian | Fixed: bookworm security 6.1.192-3 (DLA-4942-1), bookworm linux-6.12 6.12.117-1~deb12u1 (DLA-4927-1), trixie 6.12.117-1 (security 6.12.118-1), forky 7.3.5-1, sid 7.3.6-1. The plain bookworm entry, 6.1.176-1, is marked vulnerable. |
| Red Hat | Critical, 9.4. Fixes: RHEL 8 (RHSA-2026:103817 for kernel, 103838 for kernel-rt, November 26), RHEL 8.6 AMC and EUS (104030), RHEL 10.0 EUS (104032) and 10.2 EUS (104044), November 27. Affected with no fix listed: RHEL 6 and 7 (ELS), RHEL 9 (kernel and kernel-rt) and OpenShift 4 and 5. |
| Ubuntu | Priority critical, 9.8. For the linux package: needed on 16.04, 18.04, 20.04, 22.04 and 24.04; pending on 26.04 (resolute) at 7.0.0-45.45 and on stonking at 7.3.0-12.13. |
| SUSE | 254 product and package rows: 133 In progress, 116 Affected, 5 Not affected, none Released. |
| Amazon Linux | Fixed on November 27 for Amazon Linux 2 (ALAS2-2026-4166, plus the 5.4, 5.10 and 5.15 extras) and Amazon Linux 2023 (ALAS2023-2026-3538, 3539 and 3540). Critical, 9.4. |
| Oracle Linux | Important. ELSA-2026-103817 for the Oracle Linux 8 kernel and UEK errata ELSA-2026-500697, 500698 and 500699 for Oracle Linux 7 to 10, all November 26. |
Ratings, exploitation and public code
The kernel CNA scores the flaw 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and Ubuntu lists the same number. Red Hat and Amazon Linux both say 9.4 with different vectors: Red Hat’s is C:H/I:L/A:H and Amazon’s is C:L/I:H/A:H. Recomputed with the CVSS 3.1 equations, those three vectors give 9.8, 9.4 and 9.4, and an availability-only vector gives 7.5. Oracle labels the flaw Important. NVD shows the record as Received, with the CNA’s 9.8 as its only (secondary) score.
The flaw is not in CISA’s Known Exploited Vulnerabilities catalog (version 2026.11.27, released November 27 at 18:03), and FIRST’s EPSS gave it 0.0108 (percentile 0.647) on November 28. BleepingComputer writes that there are no reports of exploitation in the wild. That fits the record, but an EPSS score of about one percent and an empty catalog are not proof of safety on a bug whose public write-up says a root shell is one connection away.
OpenSec says the exploit stays private. On the morning of November 29 a GitHub repository search returned six repositories matching NFS2ROOT and seven matching the CVE ID, nine in all, created between November 26 at 01:06 and November 28 at 10:55. We did not open, run or link any of them. Treat OpenSec’s line as a statement about OpenSec’s own code.
What to do now
Check a host
Run the script on any Linux server that exports NFS. A fixed upstream-style kernel is fine. A vendor kernel needs its package version compared with the table above, not its number. If the script reports a listener on a non-loopback address with NFSv4.1 or 4.2 on and no fixed kernel, patch and reboot. OpenSec’s checklist uses lsmod to see whether nfsd is loaded. In the kernel’s Kconfig, NFSD is a tristate option, so a kernel with nfsd built in will not list it there, while the nfsd file system type that nfsctl.c registers shows up in /proc/filesystems either way.
If you cannot patch today
There are two options, and OpenSec gives both. The first is to restrict port 2049 to the storage network. Its example is nft add rule inet filter input tcp dport 2049 ip saddr != 10.20.0.0/16 drop. Two cautions apply. The nftables manual documents IPv4 and IPv6 header expressions separately (ip saddr and ip6 saddr), so that rule does not cover IPv6 clients; add an equivalent ip6 saddr rule if the host answers on IPv6. And the manual says that “The rule is appended to the given chain unless a location is specified,” so an earlier accept rule for the port would still win. Check the result with nft list ruleset. We did not run nft here.
The second is to turn off NFSv4.1 and 4.2 in /etc/nfs.conf and restart the service. nfs.conf(5) lists the version keys among the nfsd values and accepts n, no, false, off and 0 for false. The kernel source supports the idea: at the top of nfsd4_proc_compound() in v7.3, a request whose minor version is switched off gets nfserr_minor_vers_mismatch before any operation runs. OpenSec warns that the change “turns off pNFS and some 4.2 features,” and clients that mount with an explicit 4.1 or 4.2 version will need attention. Afterwards, cat /proc/fs/nfsd/versions should show minus signs on 4.1 and 4.2.
# /etc/nfs.conf (excerpt)
[nfsd]
vers4.1=n
vers4.2=n
If you do not need NFS on the host at all, Red Hat’s advice is simpler: stop and disable the service with systemctl.
Hunting
OpenSec lists four things to look for: kernel warnings from nfsd4_check_resp_size, oopses with nfsd4_*, svc_* or call_usermodehelper* frames, shells spawned by kernel workers on a file server, and bursts of short NFSv4.1 sessions from one source. Its own caption says the warning appears when the overflow has already happened, and the source shows it is a once-only warning. Treat a hit as a lead worth chasing and an absence as no evidence either way.
What we could not verify
- No Linux host was available, so nothing was run against a kernel or an NFS server, and no exploit was built, fetched or run. The 61-byte and 40-byte figures and the five-step chain are OpenSec’s.
- We read the kernel source for the warning and the minor-version check only at the tags named above. We did not read nfs-utils to see how mountd maps a client address that matches no export, so “anyone who can reach port 2049” is OpenSec’s and the CNA’s statement, not our test.
- Whether the warning fires on the real exploit path in practice, and whether the guard commit matters on stable lines that lack it, are open questions we could not test.
- Vendor trackers move. Ubuntu’s data was four days old at our check, and SUSE’s page says its states may be work in progress.
- The nine repositories were judged from search metadata only.
Sources
- OpenSec: NFS2ROOT (CVE-2026-99362), November 25.
- BleepingComputer: New NFS2ROOT Linux flaw can let attackers gain root privileges, November 27.
- CVE.org record for CVE-2026-99362 and its edit history; NVD.
- Kernel commits 35ff1a7a7e38 (fix), ec013ca40bd7 (guard) and 47ee52986472 (origin), and the stable ChangeLogs linked in the table above.
- Kernel source at v7.3: fs/nfsd/nfs4xdr.c, fs/nfsd/nfs4proc.c, fs/nfsd/nfsctl.c and fs/nfsd/Kconfig.
- Vendor trackers linked in the distribution table; CISA KEV feed; FIRST EPSS API.
- nfs.conf(5) and the nftables manual.








No Comment! Be the first one.