A new Linux NFS vulnerability, CVE-2026-99362, lets an unauthenticated attacker corrupt kernel memory on any server that offers NFS version 4.1 or 4.2 over the network. The CVE record scores it 9.8 out of 10, and an advisory says it can be chained into a root shell. If you run an NFS server, the fix is a kernel update and a reboot; if you can’t do that today, block TCP port 2049.
Quick facts for skimmers:
- The flaw is a pre-authentication heap overflow in the kernel’s NFS server, called nfsd.
- The CVE record gives it a critical CVSS score of 9.8 and was published on November 19, 2026.
- Servers offering NFSv4.1 or 4.2 on TCP port 2049 are the exposed ones.
- Kernels from 3.16 onward are affected until they carry the fix.
- Fixed stable releases start at 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61 and 7.3.2.
What the Linux NFS vulnerability does inside the kernel
The bug sits in a function called nfsd4_sequence(). It shrinks the reply buffer to a limit the client negotiated, before it accepts the request’s sequence ID. Per the CVE record, a client can negotiate a limit so small that a session slot gets a zero-length buffer.
A crafted request then makes the server copy its whole reply past the end of that slot. That is a heap overflow: the server writes into kernel memory it doesn’t own. The outcome can be a crashed nfsd thread, a panicked host, or neighboring kernel memory leaking back to the client.
An advisory forwarded to the oss-security mailing list on November 28 nicknames the bug “NFS2ROOT.” It says a single TCP connection writes 61 bytes past a kernel heap object, and that this can be chained into a root shell. The upstream patch, titled “nfsd: preflight SEQUENCE replies before accepting a slot,” checks that the reply fits the negotiated limit first.
Which servers are exposed to NFS2ROOT
According to the advisory, any Linux host serving NFSv4.1 or 4.2 on a reachable TCP port 2049 is a target, and those versions are the default on current setups. The advisory describes only those versions. I found nothing saying an NFSv3-only server is affected, but verify that rather than assume it.
Machines that only mount NFS shares don’t run nfsd, so they aren’t the exposed side. A desktop that also exports a folder over NFS is. NAS boxes and other appliances that run Linux may need a firmware update from the vendor, and those updates can lag behind the kernel fix.
Which kernel versions fix the NFS server flaw
The CVE record lists these stable releases as fixed, with Debian’s own package numbers alongside where I checked them:
| Kernel branch | Fixed in (upstream) | Distro note |
|---|---|---|
| 5.10 | 5.10.275 | Not checked |
| 5.15 | 5.15.226 | Not checked |
| 6.1 | 6.1.193 | Debian bookworm lists 6.1.192-3 |
| 6.6 | 6.6.163 | Not checked |
| 6.12 | 6.12.117 | Debian trixie lists 6.12.117-1, security build 6.12.118-1 |
| 6.18 | 6.18.61 | Not checked |
| 7.3 | 7.3.2 | Debian forky lists 7.3.5-1 |
Distros backport fixes into their own kernels, which is why Debian’s bookworm number doesn’t match upstream’s 6.1.193. Don’t compare version strings by eye. Read your distro’s security notice for CVE-2026-99362; Debian’s security tracker already lists fixed packages for bookworm, trixie, forky and sid.
How to check your NFS server and cut the risk before you patch
Start by finding out whether you’re in the exposed group. These three commands show your kernel, whether anything is listening on the NFS port, and which NFS versions are switched on:
uname -r
ss -tln '( sport = :2049 )'
cat /proc/fs/nfsd/versions
A listener on port 2049 plus +4.1 or +4.2 in the versions file puts you in the target group. If that last file doesn’t exist, nfsd probably isn’t running.
If you can’t patch today, the advisory’s stopgap is to firewall TCP 2049. Allow only the clients that need the share, not the whole network. Here is an example for ufw, so adapt the subnet to yours:
sudo ufw allow from 192.168.1.0/24 to any port 2049 proto tcp
sudo ufw deny 2049/tcp
The order matters, because ufw applies the first matching rule. A kernel update also won’t protect you until the machine reboots, unless your vendor offers live patching for this CVE.
What’s confirmed about NFS2ROOT and what isn’t
The CVE record, its scoring (network attack, low complexity, no privileges, no user interaction), the fixed versions and the patch are all public. The root-shell chain is the advisory’s claim. The advisory I read links no public exploit code, and none of the sources I checked report attacks in the wild.
A 9.8 describes worst-case potential, not proof that every server can be rooted. Turning a heap overflow into reliable root is usually harder than crashing a host, so a denial-of-service attack is the likelier first abuse. That’s my read, not something the advisory states.
This is the second serious Linux kernel networking bug we’ve covered this month. Our guide to an earlier Linux kernel TCP flaw uses the same patch-reboot-verify routine, and our look at the 948 root bugs AI found in the Linux kernel explains why kernel patches keep arriving.
Frequently Asked Questions
Is CVE-2026-99362 being exploited right now?
None of the sources I checked report active exploitation, and the advisory doesn’t link public exploit code. That can change fast for a no-login bug scored 9.8, so patch rather than wait.
Does this affect my NFS client or my desktop?
Not by itself. The flaw is in the server component, nfsd. A machine that only mounts shares doesn’t run it, but one that also exports folders over NFS does.
Am I safe if I only use NFSv3?
The advisory describes NFSv4.1 and 4.2, and the bug involves session handling. Check /proc/fs/nfsd/versions to confirm that 4.1 and 4.2 are really off before you relax.
Do I have to reboot after updating?
Yes, unless your vendor supports live patching for this CVE. The advisory’s guidance is to patch the kernel and reboot.
The verdict: patch the NFS servers first
If an NFS server is reachable from anything beyond a tightly locked-down LAN, treat this as a this-week reboot, not a next-maintenance-window one. If it only talks to a few trusted clients, a firewall rule buys you time, but one compromised machine on that network becomes the way in, so close the hole within days. Home-lab and NAS owners should check the vendor’s firmware page before touching the kernel themselves.
Sources:
- CVE-2026-99362 record (description, CVSS, fixed versions)
- oss-security post, November 28, 2026 (NFS2ROOT advisory)
- Debian security tracker (distro package versions)


Leave a Reply