Security alert · Critical
Linux kernel NFS server (nfsd): critical remote flaw CVE-2026-99362 (NFS2ROOT)
· 3 minutes read · Centoculus Security Team
Known since
Affected: Linux kernel, in-kernel NFS server (nfsd) with NFSv4.1/4.2 sessions; fixed in stable kernels, see distribution advisories
What happened
On 19 November 2026 a vulnerability in the Linux kernel's NFS server (nfsd) was published as CVE-2026-99362. It is also known as "NFS2ROOT", and its CVSS base score is 9.8 (critical).
Want to know why a server fails, not just that it does? Monitor your Linux servers from the inside.
The bug is in how nfsd handles the NFSv4 SEQUENCE operation. A client can negotiate a very small cached reply size for its session. Every reply-cache slot then gets a buffer of zero length. With a carefully sized COMPOUND tag, the reply gets cut off in a way that nfsd still treats as successful. nfsd then copies the whole reply into that zero-length slot buffer. This causes a heap out-of-bounds write in kernel memory, and the client controls most of the bytes written. According to the published title, the flaw can give a remote attacker root on the server.
The fix in the stable kernel trees checks that the SEQUENCE result fits the negotiated limit before the slot is used. Fixes have been committed to several stable kernel branches, and Debian LTS has published an announcement.
CISA does not list this vulnerability as actively exploited, and the sources we have do not describe any attacks.
Who is affected
- Linux servers that run the in-kernel NFS server (nfsd) and accept NFSv4.1 or NFSv4.2 connections. Sessions and the SEQUENCE operation exist only in these protocol versions.
- The risk is highest when TCP port 2049 can be reached from untrusted networks or by untrusted clients, for example in shared hosting or multi-tenant setups.
Not affected:
- Servers that do not run an NFS server. A typical web, mail or database server without NFS exports is not affected.
- Machines that only mount NFS shares as clients. The bug is in the server code (nfsd).
- NFS servers that run in user space instead of the kernel's nfsd, such as NFS-Ganesha.
What to do now
- Find the machines that run nfsd (see the next section).
- Install your distribution's updated kernel package as soon as it is available, for example
apt update && apt full-upgradeon Debian/Ubuntu ordnf update kernelon RHEL and its clones. The fixed versions are not listed in our source data, so check your distribution's security advisory (Debian LTS: see the announcement linked below) or the kernel.org stable commits linked below. - Reboot into the new kernel. Restarting the NFS service alone is not enough, because the bug is in the kernel. Plan the reboot with the NFS clients in mind.
- After the reboot, run
uname -rto confirm that the new kernel is running, and check that the NFS service is up again (systemctl status nfs-serverornfs-kernel-server). - Until you can update, limit access to port 2049/tcp to trusted client IP addresses with your firewall. If a server does not need to export anything, stop and disable the NFS server:
systemctl disable --now nfs-server.
How to check whether you are affected
- Is the NFS server running?
systemctl is-active nfs-server(on Debian/Ubuntu alsonfs-kernel-server) andlsmod | grep nfsd. - Is it listening?
ss -tlnp | grep 2049. - Which NFS versions does it serve?
cat /proc/fs/nfsd/versions. Entries such as+4.1or+4.2mean that sessions are enabled. - Which kernel is running? Run
uname -rand compare the result with the fixed version in your distribution's advisory.
If nfsd is not loaded and nothing listens on port 2049, the server is not affected by this vulnerability.
Sources
- https://nvd.nist.gov/vuln/detail/CVE-2026-99362
- https://git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6
More sources (7)
- https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae
- https://git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2
- https://git.kernel.org/stable/c/6a26c5473bb112d8420ffd48d5331bc5fb5a2065
- https://git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4
- https://git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59
- https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3
- https://git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d
More on Linux kernel
- Acronis Backup for cPanel and Plesk: authorization flaw exposes data (CVE-2026-87887)
- Linux kernel CVE-2026-139281: crafted IPv6 fragments can bypass Netfilter firewall rules
- Linux KVM flaw CVE-2026-99312 lets guest VMs access host memory on AMD hosts
- NoisyTCP: Linux kernel TCP flaw lets remote attackers crash servers
- Critical Linux kernel TCP flaw CVE-2026-98432: use-after-free in IPv4 handshake
- Linux kernel flaw CVE-2026-46300 exploited in chain to plant PHP webshells
If you run Linux servers, also check
Related posts
Alerts ·
WordPress plugin vulnerabilities: 9 plugins, including Fluent Forms
Eleven newly disclosed vulnerabilities affect nine WordPress plugins, among them Fluent Forms and Click to Chat. Two flaws, in Essential Widgets and FireBox, allow takeover of administrator accounts and are rated 9.8.
Alerts ·
Zimbra: unpatched flaws let attackers keep mailbox access after password reset
Rapid7 published nine Zimbra flaws, five of them unpatched. One keeps an attacker in a mailbox after the password is reset. Zimbra 10.1.22 fixes none of the open five. Update anyway and check mailboxes for unexpected loginAs grants.
Alerts ·
Veeam Backup: critical flaws patched in August now under attack
The Canadian Centre for Cyber Security reports active attacks on two critical Veeam Backup vulnerabilities that were fixed in August. Backup servers that have not been updated since then are at risk.