This week heise security reported NFS2ROOT (CVE-2026-99362), a critical out-of-bounds write in nfsd, the NFS server built into the Linux kernel. The kernel.org CNA scores it 9.8, and OpenSec, which named it and showed privilege escalation to root, published its write-up on 25 November. The NFS2ROOT vulnerability needs only a reachable TCP port 2049 on a host serving NFSv4.1 or 4.2, so your first question is not which kernel is fixed but which of your hosts run nfsd at all.
Fixed kernels are 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. The bug sits in how nfsd handles SEQUENCE replies for NFSv4.1 session slots: a client can negotiate ca_maxresponsesize_cached down to the minimum and leave slots with zero-length buffers. It dates back to Linux 3.16 in 2014. Sources differ on the publication date (somewhere between 19 and 23 November), and as of 25 November nobody had reported exploitation in the wild; the working exploit was still private.
That profile makes version scanning a weak tool. Per one analysis we read, a server that exports nothing is still exploitable while the kernel nfsd thread pool is running, because the attack operations need no filehandle. NFS clients never run the vulnerable code, and user-space servers such as NFS-Ganesha don’t use nfsd, so they are out of scope.
We run Bare Metal and Cloud servers where the customer owns the kernel. On VPS, VDS and MEM instances, and on unmanaged Bare Metal, the Linux nfsd patch and the reboot are yours; on a managed Bare Metal server we patch the operating system. On MNG instances, confirm with us which software on your instance the management covers before you assume anything.
Inventory the kernel server, not the package list
Start from the running system. On each candidate host:
cat /proc/fs/nfsd/versions
ss -tln 'sport = :2049'
uname -r
A +4.1 or +4.2 in the versions file, plus a listener on 2049, means the vulnerable surface is live. Do not rely on lsmod | grep nfsd: when a vendor builds nfsd into the kernel image, the module list is empty and the server is still there. Only the /proc/fs/nfsd check and the configured protocol versions reveal it.
A version scanner tells you which kernel you run. It cannot tell you whether that kernel has nfsd inside it, or whether anyone ever switched it on.
Then check from outside, because the hosts you forgot are not on your list. Sweep your own ranges with nmap -p 2049 --open and match every hit to an owner. Expect file servers nobody decommissioned, backup targets, NFS datastores for VMware or Proxmox, build nodes, and NAS appliances. For appliances, ask the vendor for its advisory; you cannot swap their kernel yourself.
Restrict NFS port 2049 before you patch
Closing the port is the fast mitigation and needs no reboot. NFSv4 uses 2049 alone, so the rule is short. With nftables, allow your client range first, then drop the rest (the address is a documentation range, replace it with yours):
nft add rule inet filter input ip saddr 192.0.2.0/24 tcp dport 2049 accept
nft add rule inet filter input tcp dport 2049 drop
Mirror it for IPv6 and for any provider-side firewall in front of the host. NFS has no business on a public address, and if a scan found one there, treat that as the finding. The other documented workaround is disabling NFS 4.1 and 4.2 in your distribution’s nfsd configuration; test that first, because clients that negotiate those versions will fail to mount.
Kubernetes NFS storage security: which nodes run nfsd
Pods that mount NFS volumes are clients, and clients are not affected. The exposure is on the server side: a storage node, or a pod acting as an NFS server. A containerised server that uses kernel nfsd runs on the host kernel, so patching the image changes nothing; the node kernel is what counts. A provisioner built on a user-space server like NFS-Ganesha does not use nfsd at all.
We found no primary Kubernetes guidance for this CVE, so check each in-cluster provisioner yourself and look for the nfsd threads and the /proc/fs/nfsd listing on the nodes that host it. Then restrict 2049 on those nodes to the addresses of your other nodes, not the whole network.
Plan the reboot window
Because nfsd runs inside the kernel, installing the package is not enough; the patched kernel must be the running one. Distribution status was moving as we wrote (re-check each tracker before you schedule):
- Debian 13 is fixed in 6.12.117-1. Debian 12’s default 6.1.192-2 is still vulnerable, while the linux-6.12 backport is fixed (DLA-4927-1).
- AlmaLinux 8, Rocky 8 and Oracle Linux 8 ship kernel-4.18.0-553.190.1.el8_10 with the fix.
- Ubuntu listed its main kernel as vulnerable on every release from 16.04 to 26.10, with fixes in progress and no date.
- Red Hat says default RHEL does not run or enable nfsd, but heise reported the fix was not yet complete across Red Hat, Ubuntu and SUSE.
Distributions backport, so compare against the vendor changelog, not the upstream version number. Patch the hosts with exposed clients or untrusted networks first, keep the firewall rule in place until the reboot is done, and warn client owners: mounts stall while the server is down, and what they see afterwards depends on hard or soft mount options. Afterwards, rerun uname -r and the versions check, and keep the 2049 rule anyway.
What to watch while you wait
OpenSec says there are no network signatures, so look at the hosts. Useful signals are nfsd4_check_resp_size kernel warnings, shells spawned by kernel workers on a file server, bursts of short NFSv4.1 sessions from one source, and oopses with nfsd4_*, svc_* or call_usermodehelper* frames. Ship those logs off the box, since a root-level attacker can edit anything stored locally.
Sources
- Kritische Lücke in Linux’ NFS-Server (heise security) (opens in a new tab)
- NCSC-2026-0525 [1.00] [M/H] Kwetsbaarheden verholpen in Linux kernel (NCSC-NL advisories) (opens in a new tab)
- Critical vulnerability in Linux’s NFS server (opens in a new tab)
- NFS2ROOT (CVE-2026-99362) FAQ: Linux NFS Exposure and Fix (opens in a new tab)
- NFS2ROOT (CVE-2026-99362): Auditing an nfsd Slot Overflow No Version Scanner Could Find (opens in a new tab)
- NFS2ROOT (CVE-2026-99362): pre-auth root in Linux nfsd (opens in a new tab)
- NFS2ROOT (CVE-2026-99362): one connection to port 2049 can get root on a Linux NFS server. How to check yours (opens in a new tab)
- New NFS2ROOT Linux flaw can let attackers gain root privileges (opens in a new tab)




