# NFS2ROOT: Linux kernel nfsd NFSv4.1 SEQUENCE reply-cache out-of-bounds write enabling remote unauthenticated root (CVE-2026-99362)

> A 12-year-old heap/slab out-of-bounds write in the Linux kernel NFS server (nfsd4_sequence, NFSv4.1/4.2) lets a remote, unauthenticated client corrupt kernel memory and, per OpenSec, gain root. Fixed in kernels 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; no in-the-wild exploitation has been reported.

- **Published:** 2026-11-27T08:23:13Z
- **Last reviewed:** 2026-11-27T14:53:13.030Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6964
- **ID:** TL-2026-6964
- **Severity:** CRITICAL (CVSS 9.8)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 19 (1 shown free below)
- **CVEs:** CVE-2026-99362

## Description

CVE-2026-99362 (named NFS2ROOT by the security firm OpenSec) is a memory-corruption flaw in the Linux kernel NFS server. Per the kernel CNA text mirrored by NVD and Red Hat Bugzilla, nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before accepting the slot seqid. A client can negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, leaving every session slot with a zero-length sl_data[] buffer. A crafted COMPOUND request can then fill the reply buffer with the SEQUENCE opcode but not its status word; the reply is cached anyway and the copy writes past the end of the slot. KASAN reports this as a slab-out-of-bounds write in read_bytes_from_xdr_buf. The upstream fix (commit title: 'nfsd: preflight SEQUENCE replies before accepting a slot') verifies that the SEQUENCE result plus room for a following operation's error status fits the negotiated limit before narrowing the buffer and consuming the slot seqid, consistent with RFC 8881 section 2.10.6.1.2 (leave slot and reply cache unchanged on SEQUENCE error). The CNA notes the read can leak adjacent slab data to the client and the oops can panic the host.

The flaw was introduced in Linux 3.16 (commit 47ee52986472dba068e8223cbaf1b65d74238781; BleepingComputer dates this to March 2014), making it roughly 12 years old. It is reachable when nfsd is loaded and running with NFSv4.1 or 4.2 and TCP port 2049 is reachable. No authentication or user interaction is required. Default RHEL configurations do not enable the NFS server, so only hosts exporting NFSv4.1/4.2 shares are exposed (Red Hat statement).

According to BleepingComputer's summary of OpenSec's write-up, the exploit chain is: (1) crafted requests make the server write past a buffer, which also allows reading kernel memory; (2) the leak is used to bypass KASLR; (3) the attacker plants a callback that can run a command in a freed memory area; (4) when the attacker closes the NFS connection, the kernel runs the embedded command as root. OpenSec reportedly has a full remote-root exploit that it shared with the NFSD maintainers in late September 2026; the sources do not say it is public, and none report exploitation in the wild. Jeremy Jean (ANSSI) submitted the fix in August 2026. OpenSec states the attacks have no network signatures and that kernel hardening does not remove the overflow. Note: the OpenSec blog and the kernel.org commit pages returned HTTP 403 to the research fetcher, so the exploit-chain details are second-hand via BleepingComputer; the root-cause details come from the CNA record on NVD and Red Hat Bugzilla.

Scoring differs by source: NVD/CNA assign CVSS 3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); Red Hat assigns 9.4 (integrity Low) and a Critical rating, with CWE-787. Red Hat shipped errata RHSA-2026:103817 and RHSA-2026:103838 on 2026-11-26 (RHEL 8 referenced).

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059.004 Unix Shell
- T1499.004 Application or System Exploitation
- T1210 Exploitation of Remote Services
- T1068 Exploitation for Privilege Escalation

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**NFS2ROOT nfsd SEQUENCE Overflow Kernel Signature (CVE-2026-99362) - Exploitation** (`TL-2026-6964-SPL-001`)

Detects kernel log signatures of the CVE-2026-99362 (NFS2ROOT) nfsd NFSv4.1 SEQUENCE reply-cache out-of-bounds write: nfsd4_check_resp_size warnings flagged by OpenSec and the KASAN 'slab-out-of-bounds in read_bytes_from_xdr_buf' crash signature from the CNA record. Fires on NFS servers probed or exploited by crafted COMPOUND/SEQUENCE requests after a minimal ca_maxresponsesize_cached session negotiation. The slab corruption and leaked adjacent slab data are the first stage of the kernel privilege-escalation chain (KASLR bypass, then call_usermodehelper as root).

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1068, T1499.004
- **Data sources:** linux_syslog, linux_kernel_log, journald
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=os_linux sourcetype IN ("syslog","linux_messages_syslog") earliest=-24h ("nfsd4_check_resp_size*" OR "read_bytes_from_xdr_buf*" OR ("slab-out-of-bounds" AND "nfsd"))
| eval signature=case(searchmatch("nfsd4_check_resp_size"),"nfsd4_check_resp_size_warning", searchmatch("read_bytes_from_xdr_buf"),"kasan_read_bytes_from_xdr_buf_oob_write", true(),"nfsd_slab_out_of_bounds")
| stats count min(_time) as first_seen max(_time) as last_seen values(signature) as signatures by host
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
Syslog
| where TimeGenerated > ago(24h)
| where Facility == "kern"
| where SyslogMessage contains "nfsd4_check_resp_size" or SyslogMessage contains "read_bytes_from_xdr_buf" or (SyslogMessage contains "slab-out-of-bounds" and SyslogMessage contains "nfsd")
| extend Signature = case(SyslogMessage contains "nfsd4_check_resp_size", "nfsd4_check_resp_size_warning", SyslogMessage contains "read_bytes_from_xdr_buf", "kasan_read_bytes_from_xdr_buf_oob_write", "nfsd_slab_out_of_bounds")
| summarize Events = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Signatures = make_set(Signature) by Computer
| project Computer, Events, FirstSeen, LastSeen, Signatures
```

### Sigma

```yaml
title: NFS2ROOT CVE-2026-99362 nfsd SEQUENCE Overflow Kernel Warning Signature
id: 6c1f0b52-3d8e-4a7b-9f21-5e0a8d4c7b11
status: experimental
description: Kernel log signatures of the CVE-2026-99362 nfsd NFSv4.1 SEQUENCE reply-cache out-of-bounds write (nfsd4_check_resp_size warning, KASAN read_bytes_from_xdr_buf).
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2026-99362
    - https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/
    - https://access.redhat.com/security/cve/CVE-2026-99362
author: Threadlinqs Team
date: 2026-11-27
tags:
    - attack.initial-access
    - attack.t1190
    - attack.impact
    - attack.t1499.004
    - attack.privilege-escalation
    - attack.t1068
    - cve.2026-99362
logsource:
    product: linux
    service: syslog
detection:
    keywords_warning:
        - 'nfsd4_check_resp_size'
    keywords_kasan:
        - 'read_bytes_from_xdr_buf'
    condition: 1 of keywords_*
falsepositives:
    - Kernel developers or QA running KASAN or fault-injection tests against nfsd
    - Unrelated nfsd4_check_resp_size warnings from other known NFS server bugs
level: high

```

**Known false positives:**

- Kernel/NFS developers running KASAN or fuzzing tests against nfsd in lab hosts
- Other unrelated nfsd resource-size warnings on unpatched but benign workloads

**Tuning notes:** Restrict to hosts that export NFSv4.1/4.2 (lookup nfs_servers.csv). Ensure kernel messages (dmesg/journald) are forwarded; the KASAN signature only appears on debug kernels, so rely on nfsd4_check_resp_size on production kernels. Keep alert at critical for production NFS servers.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- NFS2ROOT nfsd Kernel Oops With nfsd4/svc/call_usermodehelper Frames - Exploitation (locked: unlock with TL Creds)
- Kernel-Thread-Spawned Shell With Reverse-Shell, Download or Persistence Payload - Post-Exploitation (locked: unlock with TL Creds)
- NFS Server TCP 2049 Accessed From Public IP Address - Exploit Delivery Exposure (locked: unlock with TL Creds)
- NFS2ROOT NFS Server Kernel Crash/Panic Context (nfsd Task Fault) - Exploitation (locked: unlock with TL Creds)
- Kernel-Thread-Spawned Binary From Writable Or Export Path - Post-Exploitation (locked: unlock with TL Creds)
- Outbound Connection From Shell Or Netcat On NFS Server To Non-Private Address - Callback/C2 (locked: unlock with TL Creds)
- Shell Spawned By Kernel Thread (ppid 2) On NFS Server - Post-Exploitation Root Command (locked: unlock with TL Creds)
- Burst Of Short NFSv4.1 Sessions To TCP 2049 From Single Source - Lateral Movement/Exploit Delivery (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (1 of 19)

Defanged, TLP:CLEAR.

- File hash: `47ee52986472dba068e8223cbaf1b65d74238781`

Full set of 19 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [BleepingComputer: New NFS2ROOT Linux flaw can let attackers gain root privileges](https://www.bleepingcomputer.com/news/security/new-nfs2root-linux-flaw-can-let-attackers-gain-root-privileges/)
- [OpenSec: NFS2ROOT (CVE-2026-99362) blog post (cited by BleepingComputer; not directly retrievable)](https://opensec.in/blog/nfs2root-cve-2026-99362)
- [NVD: CVE-2026-99362](https://nvd.nist.gov/vuln/detail/CVE-2026-99362)
- [Red Hat CVE-2026-99362](https://access.redhat.com/security/cve/CVE-2026-99362)
- [Red Hat Bugzilla 2576719: Out-of-bounds write in nfsd via crafted SEQUENCE compound requests](https://bugzilla.redhat.com/show_bug.cgi?id=2576719)
- [RHSA-2026:103817](https://access.redhat.com/errata/RHSA-2026:103817)
- [RHSA-2026:103838](https://access.redhat.com/errata/RHSA-2026:103838)
- [Linux kernel stable fix commit (nfsd: preflight SEQUENCE replies before accepting a slot)](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35ff1a7a7e3835c3e974bc5c45d335897564ceae)
- [Linux kernel commit 47ee5298 (start of affected range, kernel 3.16)](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=47ee52986472dba068e8223cbaf1b65d74238781)
- [ThreatINT mirror of CVE-2026-99362 (CNA text, fixed stable versions)](https://cve.threatint.com/CVE/CVE-2026-99362)
- [CVE.org record CVE-2026-99362](https://www.cve.org/CVERecord?id=CVE-2026-99362)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6964
