Linux NFS Server NFS2ROOT (CVE-2026-99362): Check Your Kernel Version
CVE-2026-99362 affects the in-kernel NFS server (nfsd) from kernel 3.16. Check your kernel version, whether nfs-server runs, and your distro's fixed kernel.
CVE-2026-99362 is a flaw in the Linux kernel's NFS server (nfsd): a reply copied into the session reply cache is written past the end of a slab allocation. The CVE record rates it CVSS 3.1 9.8 (CRITICAL, AV:N/AC:L/PR:N/UI:N). This guide covers only how to tell whether a server is affected and how to fix it. It does not cover how to attack it.
"NFS2ROOT" appears in neither the CVE record nor the kernel commit. You can see the name in the Debian security tracker, whose notes link to opensec.in/blog/nfs2root-cve-2026-99362. That page sat behind a browser check and could not be read, so who coined the name is unconfirmed. Search vendor notices by CVE ID.
Scope
The CVE record lists kernels from 3.16 as affected and the releases below as fixed. The fixing commit is [35ff1a7a7e38](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35ff1a7a7e3835c3e974bc5c45d335897564ceae) ("nfsd: preflight SEQUENCE replies before accepting a slot"), 18 added lines in fs/nfsd/nfs4state.c.
| Series | 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 |
Series not in this table (for example 5.4 and 6.8) have no fixed version in the CVE record. Do not judge those kernels by number; use your distribution's notice in step 3.
Per the commit message, the bug is in how the NFSv4.1 SEQUENCE operation is handled when a client negotiates a very small cached-reply size: the whole reply is copied into a zero-length slot buffer. It concerns NFSv4.1 and later, so whether an NFSv3-only server is affected was not checked. Red Hat narrows the exposure to systems exporting NFSv4.1 or NFSv4.2 shares and says a default RHEL configuration does not run nfsd.
Check and fix
[1] Read the running kernel version.
$ uname -rOn Debian and Ubuntu the number after the dash is the package revision, so do not compare it directly with the table above. In the Debian tracker, bookworm 6.1.192-3 is fixed, while the upstream 6.1 fix is 6.1.193. Distributions backport the fix, so a number below the upstream one can still be fixed. Use the table in step 3.
[2] Check whether an NFS server is running. Look at the service state and at 2049/TCP together.
$ systemctl is-active nfs-server$ ss -tln | grep -c ":2049 "If you get active, or a count of 1 or more, the server is exporting NFS. ss -tln lists listeners on every local address, so also note whether it is 0.0.0.0:2049 or a single address, and how far the firewall opens it. The output of these commands looks like this:
$ docker run --rm --entrypoint cat nginx:1.28.0 /proc/fs/nfsd/versionscat: /proc/fs/nfsd/versions: No such file or directoryexit=1$ systemctl is-active nfs-serverinactive$ ss -tln | grep -c ":2049 "0This was captured on a host with no NFS server running (the first command in a container, the rest on the host). A missing /proc/fs/nfsd/versions only means the nfsd filesystem is not mounted in that container's view. It does not prove nfsd is not running on the host. On the host, rely on systemctl is-active and ss. A container shares the host kernel, so uname -r inside it prints the host's kernel version.
[3] Check your distribution's notice for a fixed package. The states below were read from each notice page on 2026-11-28.
| Distribution | State |
|---|---|
| Debian 12 bookworm | base 6.1.176-1 vulnerable · security 6.1.192-3 fixed (DLA-4942-1) · linux-6.12 security 6.12.117-1~deb12u1 fixed (DLA-4927-1) |
| Debian 13 trixie | 6.12.117-1 fixed · security 6.12.118-1 fixed |
| Debian forky · sid | 7.3.5-1 · 7.3.6-1 fixed |
| Ubuntu 24.04 noble | Vulnerable (no fixed version listed) |
| Ubuntu 22.04 jammy · 20.04 focal | Vulnerable (no fixed version listed) |
| Ubuntu 26.04 resolute · 26.10 | Vulnerable; work in progress in 7.0.0-45.45 · 7.3.0-12.13 |
| RHEL 8 | kernel Fixed — RHSA-2026:103817 (2026-11-26) |
| RHEL 8.6 AUS · EUS Long-Life | Fixed — RHSA-2026:104030 |
| RHEL 10.0 · 10.2 EUS | Fixed — RHSA-2026:104032 · RHSA-2026:104044 |
| RHEL 10 | Affected (no advisory) |
| RHEL 9 | kernel and kernel-rt Affected (no advisory) |
| RHEL 6 · 7 | Affected (no advisory) |
Ubuntu also lists the linux-hwe-* kernels as Vulnerable: linux-hwe-7.0 for 24.04, linux-hwe-6.8 for 22.04 and linux-hwe-5.15 for 20.04. Ubuntu's priority is Critical. Red Hat scores it 9.4, differing from the CVE record (9.8) only in I:L versus I:H. These are the states at the time of reading; check Ubuntu, Debian and Red Hat again before you patch. Other distributions (SUSE and others) were not checked.
[4] Where a fixed kernel exists, install the kernel package and reboot. Installing the package does not change the running kernel. After the reboot, confirm that uname -r shows the new version, and tell NFS clients beforehand that they will lose their mounts.
[5] If no fix exists yet, or you cannot reboot now, use the mitigation Red Hat documents. If you do not need the NFS server, turn it off.
$ sudo systemctl stop nfs-server$ sudo systemctl disable nfs-serverIf NFS must stay up, narrow access to 2049 to trusted addresses. These are the firewalld commands from Red Hat's page; replace <trusted_ip_or_subnet> with your own range.
$ sudo firewall-cmd --permanent --remove-service=nfs$ sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="<trusted_ip_or_subnet>" service name="nfs" accept'$ sudo firewall-cmd --reloadRed Hat warns that stopping nfs-server ends active NFS sessions and that --reload immediately cuts clients that are not allowed. Note the current firewall rules (sudo firewall-cmd --list-all) before changing them. This only narrows exposure until you patch; it does not fix the kernel bug.
Where checks get confusing
- The CVE record's CVSS (9.8) and Red Hat's (9.4) differ, but they describe the same flaw.
- Ubuntu's "Vulnerable" is read here as "no fixed package released yet", because the notice lists no fixed version.
- In Debian's
linuxrows, bookworm6.1.176-1is vulnerable and the security row6.1.192-3is fixed. You get the fix only with the security repository enabled. - A missing
/proc/fs/nfsdinside a container does not make the host safe.