
Advisory and defensive research notes for CVE-2026-99362, a pre-auth out-of-bounds write in the Linux NFS server (nfsd), with safe detection commands, affected versions, and kernel patch guidance.
NFS2ROOT
Pre-authentication Kernel Memory Corruption in Linux NFS Server
NFS2ROOT (CVE-2026-99362) is a critical vulnerability affecting the Linux kernel's Network File System server (nfsd).
The vulnerability is caused by an out-of-bounds write in the NFSv4.1 session reply-caching mechanism.
A remote client can trigger memory corruption by negotiating an extremely small cached response size and sending specially structured NFS COMPOUND requests containing SEQUENCE operations.
Depending on exploitation conditions, this issue can potentially result in:
Severity: CRITICAL
CVSS v3.1: 9.8
CWE: CWE-787 — Out-of-bounds Write
| Attribute | Details |
|---|---|
| Vulnerability | NFS2ROOT |
| CVE ID | CVE-2026-99362 |
| Vendor | Linux Kernel |
| Component | NFS Server (nfsd) |
| Affected file | fs/nfsd/nfs4state.c |
| Vulnerability type | Out-of-bounds Write |
| CWE | CWE-787 |
| Attack vector | Network |
| Authentication | None required |
| User interaction | None required |
| CVSS v3.1 | 9.8 Critical |
| Potential impact | Kernel memory corruption / RCE / DoS |
The vulnerability exists in the handling of NFSv4.1 session slots and cached replies.
The server narrows the response buffer according to the negotiated cached-response limit before properly validating whether the SEQUENCE response can fit.
An attacker can negotiate a minimal cached response size, resulting in session slots with zero-length reply-cache storage.
Remote NFS Client
|
v
NFSv4.1 Session Negotiation
|
v
Minimal Cached Reply Size
|
v
Undersized Session Slot
|
v
Crafted SEQUENCE Request
|
v
Incorrect Response Handling
|
v
Out-of-Bounds Memory Write
|
v
Kernel Memory Corruption
| Impact | Description |
|---|---|
| Confidentiality | Potential exposure of sensitive kernel data |
| Integrity | Potential kernel memory modification |
| Availability | Kernel crash or system denial of service |
| Privileges | Potential execution with kernel-level privileges |
The issue was introduced in Linux kernel 3.16.
| Kernel Branch | Fixed Version |
|---|---|
| 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 |
Important: Linux distributions may backport security fixes. Kernel version numbers alone are not sufficient to determine vulnerability status.
The following commands perform non-destructive local checks.
uname -r
lsmod | grep -w nfsd
cat /proc/fs/nfsd/versions
Look for:
+4.1
+4.2
sudo ss -ltnp | grep ':2049'
systemctl status nfs-server
dpkg -l | grep -E 'nfs-kernel-server|nfs-common'
Detection interpretation:
These checks are indicators, not a definitive vulnerability test.
On Debian-based distributions:
sudo apt update
sudo apt full-upgrade
Reboot after installing the updated kernel:
sudo reboot
Verify the running kernel:
uname -r
sudo systemctl disable --now nfs-server
Service names may vary by distribution.
Restrict TCP port 2049 to trusted systems using your firewall.
Do not expose NFS services directly to untrusted networks or the public internet.
Base Score: 9.8 / 10 — CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Metric | Value |
|---|---|
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
Important technical elements:
SEQUENCE response encoding.Research objective: Understand the vulnerability's root cause, identify potentially affected Linux systems, and validate remediation without executing exploit code.
🔴 NFS2ROOT | CVE-2026-99362
Linux Kernel Security Research
Understand • Detect • Patch • Secure
Disclaimer: This repository is intended for educational purposes, defensive security research, and authorized testing. It does not contain exploit code.

Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.