· via dev.to (home feed)
NFS2ROOT heap overflow leaves CentOS 7 NFS servers with no vendor fix
NFS2ROOT (CVE-2026-99362) is a heap overflow in the kernel NFS server that needs no login, only reachability to TCP 2049 — and CentOS 7's stock kernel will never be patched.

A heap overflow in the Linux kernel's NFS server can be triggered before any authentication, and machines running CentOS 7 have no vendor patch coming, because the distribution no longer receives kernel updates. The vulnerability is tracked as CVE-2026-99362 and goes by the name NFS2ROOT; according to a technical write-up published on dev.to by GetPageSpeed, the kernel.org CNA assigns it a CVSS score of 9.8 and Red Hat classifies it as Critical.
How the flaw works
The bug sits in nfsd, the kernel component that answers NFS requests. Per the dev.to analysis, an attacker needs nothing beyond network reachability to TCP port 2049 on the target. The client first drives the size of the NFSv4.1 session reply cache down to zero, then inflates a SEQUENCE request so the resulting reply no longer fits its slot. nfsd then writes the entire reply into a buffer that had been allocated with no room for it, corrupting the heap.
Credentials play no part in the attack. No account, no NFS authentication, and no access to an exported directory is required, and a server configured with zero exports is just as exposed, because the overflow occurs while the NFSv4.1 session is being established. On CentOS 7, the write-up notes, nfsd handles NFSv4.1 and 4.2 in its default configuration, so an unmodified install running the NFS service is in scope.
Which kernels are exposed
Red Hat marks the stock CentOS 7 kernel, version 3.10, as affected, and the write-up reports that the CentOS 7 source tree contains the same unchecked copy operation. In upstream terms the vulnerable range starts at kernel 3.16, which also captures the two common third-party kernels for CentOS 7: ELRepo's kernel-lt 5.4.278 and kernel-ml 6.9.7. According to the post, both of those kernel lines have ended, and neither received a fix.
RHEL 8 is patched, CentOS 8 is not
Red Hat shipped a corrected RHEL 8 kernel on 2026-11-26, version 4.18.0-553.190.1.el8_10. CentOS 8, likewise past end of life, did not receive it. AlmaLinux 8, Rocky Linux 8 and Oracle Linux 8 already carry the fixed kernel, and the write-up points to in-place conversion to one of those rebuilds as the cheapest route out for CentOS 8 users.
What CentOS 7 operators can do
The immediate mitigation comes from Red Hat: stop the nfs-server service, or block TCP 2049 at the firewall. The full write-up also describes how to check exposure and how to roll changes back.
For sites that want an actually fixed kernel while staying on CentOS 7, the post points to the kernel-lt package from GetPageSpeed's repository, which has included the fix since release 6.18.62-1, published on 2026-11-07, twelve days before the CVE became public. The package shares its name with ELRepo's kernel, installs alongside the running kernel rather than replacing it, and is free for any use. The author discloses up front that they maintain this package, so the analysis and the recommended remedy come from the same party.
One operational detail from the post is worth flagging: updating from GetPageSpeed kernel-lt builds older than 6.18.62-2 did not change the GRUB default entry. Administrators should set the default boot entry themselves and confirm the running kernel with uname -r after a reboot, rather than trusting package version queries.
Why it matters
This is the risk profile that end-of-life distributions create: a critical bug, reachable over the network before any authentication, in a service that is frequently left open across internal networks. Data-center topologies where port 2049 is reachable between hosts are precisely the environment the flaw rewards.
The case also corrects a common assumption — that an NFS server with nothing exported is harmless. Here the vulnerable code runs during session negotiation, before any export is consulted. For the many systems still on CentOS 7, the realistic options are firewalling the port, migrating to a maintained distribution, or adopting a third-party kernel, and each carries its own operational weight. More broadly, once a vendor stops shipping updates, security fixes depend on whoever else is willing to build them — and on operators verifying which kernel they actually booted.
- #linux-kernel
- #security
- #centos
- #nfs
- #vulnerability