Skip to navigation

Threat reportVulnerabilityTL-2026-6964

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

criticalACTIVE

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. First disclosed .

Key facts

IdentifiersTL-2026-6964, CVE-2026-99362
Also known asNFS2ROOT
SeverityCRITICAL
CVSS9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
First disclosed
EPSSCVE-2026-99362: 0.7% (51.3th percentile)
Affected productsLinux Linux kernel (nfsd, NFSv4.1/4.2); Red Hat Red Hat Enterprise Linux (kernel nfsd; only where NFSv4.1/4.2 shares are exported)
Weaknesses (CWE)CWE-787
ToolsNFS2ROOT remote-root exploit (OpenSec)
MITRE ATT&CK techniquesT1059.004 Unix Shell, T1068 Exploitation for Privilege Escalation, T1190 Exploit Public-Facing Application, T1210 Exploitation of Remote Services, T1499.004 Application or System Exploitation
MotivationUNKNOWN
Target sectorstechnology, government administration, finance, health, education, telecoms, manufacturing
Target regionsGlobal
Detection rules9 (1 shown free)
Sources11 cited sources

Detection coverage

As of 2026-11-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6964 across Splunk SPL, Microsoft KQL and Sigma, covering 19 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: NFS2ROOT nfsd SEQUENCE Overflow Kernel Signature (CVE-2026-99362) - Exploitation

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

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

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

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. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • NFS2ROOT nfsd Kernel Oops With nfsd4/svc/call_usermodehelper Frames - Exploitation · unlock with TL Creds
  • Kernel-Thread-Spawned Shell With Reverse-Shell, Download or Persistence Payload - Post-Exploitation · unlock with TL Creds
  • NFS Server TCP 2049 Accessed From Public IP Address - Exploit Delivery Exposure · unlock with TL Creds
  • NFS2ROOT NFS Server Kernel Crash/Panic Context (nfsd Task Fault) - Exploitation · unlock with TL Creds
  • Kernel-Thread-Spawned Binary From Writable Or Export Path - Post-Exploitation · unlock with TL Creds
  • Outbound Connection From Shell Or Netcat On NFS Server To Non-Private Address - Callback/C2 · unlock with TL Creds
  • Shell Spawned By Kernel Thread (ppid 2) On NFS Server - Post-Exploitation Root Command · unlock with TL Creds
  • Burst Of Short NFSv4.1 Sessions To TCP 2049 From Single Source - Lateral Movement/Exploit Delivery · unlock with TL Creds

Indicators of compromise

As of 2026-11-27, Threadlinqs Intelligence tracks 19 indicators of compromise for TL-2026-6964.

Sample indicators (1 of 19)

  • File hash: 47ee52986472dba068e8223cbaf1b65d74238781

Defanged, TLP:CLEAR. Full set of 19 indicators: unlock with TL Creds.

19 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

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 techniques by tactic:

Execution

T1059.004 Unix Shell

Privilege Escalation

T1068 Exploitation for Privilege Escalation

Initial Access

T1190 Exploit Public-Facing Application

Lateral Movement

T1210 Exploitation of Remote Services

Impact

T1499.004 Application or System Exploitation

Remediation

Patches

  • Upstream/stable fixed versions: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1
  • Red Hat errata RHSA-2026:103817 and RHSA-2026:103838 (RHEL 8)
  • Fix commit: 35ff1a7a7e3835c3e974bc5c45d335897564ceae (nfsd: preflight SEQUENCE replies before accepting a slot)

Immediate actions

  • Apply the latest distribution kernel security update and reboot into the patched kernel
  • Restrict TCP port 2049 to trusted NFS clients/networks (firewall / security groups); do not expose NFS to the Internet
  • Review file servers for the behavioral indicators: nfsd4_check_resp_size kernel warnings, shells spawned by kernel workers, bursts of short NFSv4.1 sessions from one source, oopses with nfsd4_*/svc_*/call_usermodehelper* frames

Workarounds

  • Stop and disable the nfs-server service if NFS sharing is not needed (e.g. systemctl disable --now nfs-server)
  • Limit access to TCP/2049 with host or perimeter firewall rules until patched

Longer-term hardening

  • Inventory every host running nfsd and confirm whether NFSv4.1/4.2 is actually required
  • Segment NFS servers from untrusted networks and require VPN/private connectivity to reach port 2049
  • Forward kernel logs (dmesg/journald) from file servers to the SIEM for oops and warning detection

Affected and fixed versions

  • Linux — Linux kernel (nfsd, NFSv4.1/4.2)
    Vulnerable versions: 3.16 up to (excluding) the fixed stable releases below, when nfsd is running and TCP 2049 is reachable
    Fixed in: 5.10.275; 5.15.226; 6.1.193; 6.6.163; 6.12.117; 6.18.61; 7.3.2; 7.4-rc1
  • Red Hat — Red Hat Enterprise Linux (kernel nfsd; only where NFSv4.1/4.2 shares are exported)
    Vulnerable versions: RHEL 8 kernels prior to errata (other releases not confirmed in sources)
    Fixed in: RHSA-2026:103817; RHSA-2026:103838

Timeline

Last updated · revalidated 1× · latest source

  • Flaw introduced in Linux kernel 3.16 (affected range starts at commit locked-ioc-1; BleepingComputer dates it to March 2014; day approximate)
  • Jeremy Jean (ANSSI) submitted the upstream fix for the nfsd SEQUENCE reply-cache overflow (month per source; exact day not stated)
  • CVE-2026-99362 reserved (per CVE record data)
  • OpenSec shared a full remote-root exploit and a patch with the NFSD maintainers in late September 2026 (exact day not stated)
  • CVE-2026-99362 published by the kernel CNA and NVD (CVSS 3.1 9.8); Red Hat Bugzilla 2576719 opened
  • NVD record last modified; eight stable-branch fix commits referenced
  • OpenSec Intelligence released a video demonstrating remote root command execution against a test NFS server; exploit code kept private.
  • Red Hat released errata RHSA-2026:103817 and RHSA-2026:103838 addressing the issue (RHEL 8)
  • Debian LTS published DLA-4942-1 (linux 6.1.192-3 for Debian 12 bookworm); Cyber Security News reported NFS2ROOT.
  • BleepingComputer publicly reports NFS2ROOT with OpenSec's exploit-chain description; no in-the-wild exploitation reported

Update history

Sources cited

Drafted by the Threadlinqs research pipeline from 11 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats