Linux kernel NFS server flaw CVE-2026-99362 spans 12 years and 8 stable branches, primary records show
A pre-authentication heap buffer overflow in the Linux kernel NFS server (CVE-2026-99362, CVSS 9.8) affects kernels from 3.16 across eight unpatched branches. Read at 12:33 UTC on 27 November 2026, primary records confirm the fix while secondary reporting links a remote root exploit.
By Parminder Kumar Sharma · LinkedIn · · 10 min read
Twelve years of unauthenticated kernel exposure across eight Linux branches
A pre-authentication heap buffer overflow in the Linux kernel Network File System server (nfsd), tracked as CVE-2026-99362, remained in upstream Linux code from kernel version 3.16 (March 2014) until a fix was authored on 17 August 2026. That is a span of 12 years and 5 months (derived) from introduction to patch authoring, and 12 years and 8 months (derived) from introduction to public CVE disclosure on 19 November 2026. The Linux Kernel CNA assigns the flaw a CVSS v3.1 base score of 9.8 (CRITICAL) for network attack vector, low complexity, no privileges required, no user interaction, unchanged scope, and high confidentiality, integrity, and availability impact.
That 12-year span does not establish how many Linux file servers, NAS appliances, or Kubernetes storage nodes currently expose TCP port 2049 to untrusted networks, nor does it establish confirmed exploitation in the wild. As read at 12:33 UTC on 27 November 2026, CVE-2026-99362 does not appear in CISA's Known Exploited Vulnerabilities (KEV) catalogue (0 matches across 1,805 entries as of 2026-11-25), and the National Vulnerability Database (NVD) still lists the record in Received status without a separate CISA-ADP score.
This briefing examines the primary MITRE CVE-2026-99362 JSON record, the NVD CVE 2.0 record, and the upstream Linux stable git commit 35ff1a7a7e38. OpenSec's own blog post could not be retrieved directly because the host returned a Cloudflare browser challenge page, so OpenSec's NFS2ROOT naming, remote-root exploit demonstration, and hunting indicators are attributed via BleepingComputer's report published on 27 November 2026 at 03:06 EST (08:06 UTC).
How a zero-length session slot triggers an 80-byte slab overflow
The trigger condition sits in the pre-authentication NFSv4.1 and NFSv4.2 session setup path over TCP port 2049. According to the Linux Kernel CNA scenario in CVE-2026-99362, svc_tcp_recvfrom delivers an incoming NFSv4.1 TCP RPC to svc_process, nfsd_dispatch, and nfsd4_proc_compound, which invokes nfsd4_sequence. A remote client sends EXCHANGE_ID with SP4_NONE, CREATE_SESSION, and a SEQUENCE COMPOUND (sa_cachethis). Because these operations carry ALLOWED_WITHOUT_FH, the server never calls fh_verify or check_nfsd_access; svcauth_unix_accept copies AUTH_SYS UIDs without checking them, svcauth_null_accept accepts AUTH_NULL, and svcauth_unix_set_client only maps the source address to an export.
The runtime failure occurs in fs/nfsd/nfs4state.c because nfsd4_sequence() narrows the XDR reply buffer (xdr_restrict_buflen) to the session's cached reply limit before accepting the slot seqid. A client can negotiate ca_maxresponsesize_cached in CREATE_SESSION down to NFSD_MIN_HDR_SEQ_SZ, which causes nfsd4_alloc_slot() to allocate every session slot with a zero-length sl_data[] buffer. The attacker then sends a COMPOUND tag sized to fill that narrowed buffer until it holds the SEQUENCE opcode but lacks space for the status word that follows. When encoding fails silently, nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), leaving cstate.data_offset at 0 and op->status at nfs_ok.
Control flow then reaches nfsd4_store_cache_entry(), which normally declines to cache a lone SEQUENCE operation that returned an error. Because op->status remained nfs_ok, the check passes. nfsd4_store_cache_entry() sets sl_datalen to the full reply size and invokes read_bytes_from_xdr_buf() starting at offset 0, copying the RPC header, the COMPOUND header, and the client-chosen COMPOUND tag into the zero-length sl_data[]. In the primary KASAN trace, this writes 80 bytes past the kmalloc-allocated nfsd4_slot into the adjacent slab object. When the client triggers replay via nfsd4_replay_cache_entry(), sl_datalen bytes are XDR-encoded from sl_data back into the RPC reply, leaking adjacent kernel slab memory.
In secondary reporting by BleepingComputer, OpenSec states that it built a full remote-root exploit against unpatched hosts by chaining this out-of-bounds read and write. OpenSec claims attackers can read kernel memory to defeat Kernel Address Space Layout Randomisation (KASLR), place a command-executing callback inside freed kernel memory, and trigger root command execution when the client closes the NFS connection. The primary Linux Kernel CNA record confirms the out-of-bounds read, attacker-controlled slab write, and potential host panic or oops, while leaving the weaponised KASLR bypass and callback chain unverified in the upstream commit text.
Ninety-four days from patch authoring to CVE publication, and what changed
Git history links the flaw to commit 47ee52986472 ("nfsd4: adjust buflen to session channel limit"), which landed in Linux 3.16 in March 2014. On 17 August 2026 (20:57:14 -0400), a researcher at ANSSI authored the upstream fix commit 35ff1a7a7e38. According to BleepingComputer, OpenSec independently shared a full remote-root exploit and patch with NFSD maintainers in late September 2026; the primary commit carries a Tested-by credit for an OpenSec Intelligence researcher and an Assisted-by: Codex:gpt-5 trailer. The CVE identifier was reserved on 25 September 2026, committed to the NFSD tree on 4 October 2026 (48 days after authoring, derived), and published as CVE-2026-99362 on 19 November 2026 (94 days after authoring and 46 days after commit, derived).
Chronology of CVE-2026-99362 from Linux 3.16 introduction to public disclosure (primary git and CVE records, plus BleepingComputer).
| Date | Event | Source |
|---|---|---|
| March 2014 | Commit 47ee52986472 introduces flaw in Linux 3.16 | Linux git / BleepingComputer |
| 17 August 2026 | ANSSI researcher authors fix commit 35ff1a7a | Linux git commit |
| 25 September 2026 | CVE-2026-99362 reserved; OpenSec shares exploit late Sept | MITRE CVE / BleepingComputer |
| 4 October 2026 | Maintainer commits fix (48 days after authoring, derived) | Linux git commit |
| 19 November 2026 | CVE-2026-99362 published (94 days after authoring, derived) | MITRE CVE / NVD |
| 27 November 2026 | Debian LTS reference added (8 days later, derived); OpenSec report covered | MITRE CVE / BleepingComputer |
The patch itself modifies 19 lines (18 insertions and 1 deletion, derived) in a single file, fs/nfsd/nfs4state.c. Before calling xdr_restrict_buflen(), nfsd4_sequence() now verifies that buflen is at least rqstp->rq_auth_slack, calculates respsize via nfsd4_max_reply(rqstp, &args->ops[0]), adds COMPOUND_ERR_SLACK_SPACE if SEQUENCE is not the final operation in the COMPOUND, and jumps to out_put_session if xdr->buf->len + respsize > maxlen. As required by RFC 8881 Section 2.10.6.1.2, both the session slot and its reply cache remain untouched when SEQUENCE returns an error.
Why kernel hardening and port exposure assumptions fail
Comforting labels such as "kernel hardened" or "internal storage network" do not neutralise CVE-2026-99362. Standard memory protections such as KASLR do not prevent nfsd4_store_cache_entry() from copying past the zero-length sl_data[] allocation, and the primary CVE record notes that nfsd4_replay_cache_entry() returns adjacent slab bytes directly to the client over the wire. As OpenSec stated in remarks quoted by BleepingComputer: "Kernel hardening does not remove the overflow. Patch every host."
Assumptions about network isolation fail for a similar reason. TCP port 2049 is commonly left open on file servers, NAS appliances, build farms, and Kubernetes storage nodes without per-host firewalling or Kerberos (RPCSEC_GSS) enforcement. Because EXCHANGE_ID (SP4_NONE), CREATE_SESSION, and SEQUENCE execute before export permission checks (fh_verify or check_nfsd_access), any client that can complete a TCP three-way handshake to port 2049 can reach the vulnerable code path.
What the primary records state, and what they leave unstated
Separating verified kernel telemetry from unverified operational claims clarifies what defenders know with certainty and where public visibility stops.
Comparison of facts established in primary CVE and git records versus unstated or secondary claims (27 November 2026).
| Topic | Stated in primary records | Not stated or secondary only |
|---|---|---|
| Root cause | Zero-length sl_data[] copy in nfsd4_store_cache_entry() (80-byte KASAN write) | Full step-by-step remote-root weaponisation chain |
| Severity & vector | CVSS 9.8 Critical (AV:N/AC:L/PR:N/UI:N) assigned by Linux CNA | NVD primary CVSS score or CISA-ADP assessment (status: Received) |
| Fixed versions | 8 branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 | Vendor-specific NAS appliance or downstream distro backport dates (bar Debian LTS) |
| Exploitation | 0 matches in CISA KEV (1,805 entries as of 25 Nov 2026) | Confirmed in-the-wild attack count or internet-exposed port 2049 host count |
| Post-overflow chain | Adjacent slab read via replay; oops/panic via nfsd4_sequence_done | KASLR bypass and callback-on-close execution (OpenSec via BleepingComputer) |
Where the primary CVE record and secondary reporting differ
The sharpest discrepancy between primary records and secondary reporting concerns which Linux kernel branches are patched. The primary MITRE CVE-2026-99362 JSON and NVD records list 8 unaffected stable branches where the fix has landed: 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. BleepingComputer lists only 4 thresholds (< 6.12.117, 6.18.61, 7.3.2, or 7.4-rc1), omitting 4 older long-term support branches (5.10.275, 5.15.226, 6.1.193, and 6.6.163), or 50 per cent (derived) of the patched branches in the primary record.
A defender reading only the secondary summary could wrongly conclude that production servers on 5.15 or 6.1 LTS kernels must upgrade to 6.12.117, or miss that backported fixes already exist on their LTS branch. OpenSec is a cybersecurity firm whose public naming and disclosure of NFS2ROOT aligns with its commercial threat intelligence and offensive security research positioning. Both the primary eight-branch list and the secondary four-branch summary are recorded here so teams verify against their distribution's advisory rather than a single news summary.
The KASAN trace and kernel patch diff from the primary commit
The primary Linux kernel commit 35ff1a7a7e38 publishes the KASAN slab-out-of-bounds trace observed during KUnit reproduction. Defenders and kernel maintainers can use the function frames (read_bytes_from_xdr_buf, nfsd4_sequence_done, nfs4svc_encode_compoundres) to correlate kernel oopses or crash dumps.
BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390
Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24
__asan_memcpy+0x38/0x60
read_bytes_from_xdr_buf+0x1bc/0x390
nfsd4_sequence_done+0x5b0/0x810
nfs4svc_encode_compoundres+0x1bf/0x240
The upstream patch in fs/nfsd/nfs4state.c adds the preflight size check inside nfsd4_sequence() before xdr_restrict_buflen() is called. Reviewing downstream distribution kernel source for this COMPOUND_ERR_SLACK_SPACE check confirms whether a backported kernel carries the fix regardless of version string.
struct nfsd4_compoundargs *args = rqstp->rq_argp;
u32 maxlen, respsize;
...
if (buflen < rqstp->rq_auth_slack)
goto out_put_session;
maxlen = buflen - rqstp->rq_auth_slack;
/*
* A SEQUENCE result too large for maxlen never reaches
* nfsd4_encode_sequence(), so cstate.data_offset stays zero and
* the reply cache overruns the slot.
*/
respsize = nfsd4_max_reply(rqstp, &args->ops[0]);
if (!nfsd4_last_compound_op(rqstp))
respsize += COMPOUND_ERR_SLACK_SPACE;
if (xdr->buf->len + respsize > maxlen)
goto out_put_session;
if (xdr_restrict_buflen(xdr, maxlen))
Because NFS2ROOT traffic uses standard NFSv4.1 EXCHANGE_ID, CREATE_SESSION, and SEQUENCE calls with no fixed network signature, OpenSec (via BleepingComputer) recommends hunting for four host-level signals: kernel warnings from nfsd4_check_resp_size, shells spawned by kernel workers on file servers, bursts of short NFSv4.1 sessions from a single source IP, and kernel oopses containing nfsd4_*, svc_*, or call_usermodehelper* stack frames.
What to do, in order
Take this with you
Ordered remediation and containment steps for Linux NFS servers
- Inventory all Linux hosts, NAS appliances, build farms, and Kubernetes storage nodes running nfsd (NFSv4.1 or v4.2) and compare running kernel versions against all eight fixed upstream branches (5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1) or distribution backports.
- Apply the vendor kernel security update immediately and reboot each host so the patched kernel is active in memory.
- Where immediate patching is not possible, restrict TCP port 2049 at host and network firewalls to explicitly authorised client IP ranges only.
- Disable the nfs-server service in /etc/nfs.conf and stop nfsd on any Linux host that does not require NFS file sharing.
- Hunt system logs and EDR telemetry for nfsd4_check_resp_size warnings, bursts of short NFSv4.1 sessions from single sources, shells spawned by kernel workers, and kernel oopses with nfsd4_*, svc_*, or call_usermodehelper* frames.
- Verify post-reboot that uname -r reflects the patched kernel and confirm no unintended exposure of TCP port 2049 from external network scans.
The question the public record leaves open
How many internet-exposed or internally reachable Linux file servers, NAS appliances, and Kubernetes storage nodes running 5.10 through 7.3 kernels still accept unauthenticated EXCHANGE_ID and CREATE_SESSION requests on TCP port 2049 without a preflight check on SEQUENCE reply size?
Key facts
Sources
- PrimaryCVE-2026-99362 JSON record: technical description, KASAN trace, CVSS 3.1 vector (9.8 Critical), and all eight fixed kernel branchesMITRE CVE Program (Linux CNA)accessed 2026-11-27
- PrimaryUpstream fix commit 35ff1a7a7e3835c3e974bc5c45d335897564ceae in fs/nfsd/nfs4state.c: author date, commit date, diffstat, and patchLinux Kernel Stable Gitaccessed 2026-11-27
- PrimaryNVD CVE 2.0 record for CVE-2026-99362: Received status, Linux CNA CVSS 3.1 exploitability and impact sub-scoresNational Vulnerability Database (NIST)accessed 2026-11-27
- PrimaryCISA Known Exploited Vulnerabilities JSON feed (catalogVersion 2026.11.25, 1,805 entries): zero matches for CVE-2026-99362CISAaccessed 2026-11-27
- Reported bySergiu Gatlan report (27 November 2026, 03:06 EST): OpenSec NFS2ROOT naming, remote root exploit summary, and defender hunting indicatorsBleepingComputeraccessed 2026-11-27


