PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseCVE-2026-105517

CVE-2026-105517: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-105517 is a use-after-free (UAF) vulnerability in the 9P protocol implementation of NFS-Ganesha, arising from a race condition between concurrent TWRITE and TCLUNK operations on the same file identifier (FID) object. The vulnerability was reported and confirmed via source code review of NFS-Ganesha V15.6 (with the 9P code identical to V15.2), and was publicly disclosed on October 5, 2026. Because the 9P protocol handler unconditionally returns EOPNOTSUPP for TAUTH, the vulnerability is reachable without any credentials by any client with network access to the 9P listener. It carries a CVSS v3.1 base score of 8.1 (High) (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is CWE-416 (Use After Free): NFS-Ganesha's 9P implementation performs no per-FID locking, leaving FID object lifetimes unprotected during concurrent request processing. In the TWRITE path (src/Protocols/9P/9p_write.c, lines 100–111), a worker thread reads a pfid pointer from the connection FID table and then performs memcpy(pfid->xattr->xattr_content + offset, attacker_data, size). Concurrently, a TCLUNK worker on the same FID calls _9p_tools_clunk(pfid) → free_fid() (src/Protocols/9P/9p_proto_tools.c, lines 349–350), freeing pfid->xattr and pfid itself, then sets fids[fid] = NULL. Because the TWRITE worker already resolved the pfid pointer before the NULL assignment, it continues writing attacker-controlled network data — with attacker-controlled source, size (set via TXATTRCREATE), and offset — into freed heap memory. The reporter claims demonstrated progression from UAF to instruction-pointer control and end-to-end RCE (Red Hat Bugzilla).

Impact

Successful exploitation can result in a server crash (denial of service) or, more critically, remote code execution on the NFS-Ganesha process. Because the attacker controls the memcpy source data, copy size, and target offset into freed heap memory, the vulnerability supports heap exploitation primitives that can lead to full compromise of the NFS-Ganesha server process. Given that NFS-Ganesha typically runs with elevated privileges to serve file system data, a successful RCE could expose sensitive file system contents, allow data manipulation, and serve as a pivot point for lateral movement within the network (Red Hat CVE, Red Hat Bugzilla).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation. However, the bug report notes that the original reporter claimed successful progression from the UAF primitive to instruction-pointer control and end-to-end RCE, indicating the vulnerability is practically exploitable by a skilled attacker. The attack requires no authentication (TAUTH is unconditionally unsupported), no user interaction, and is reachable over the network, though exploitation requires winning a race condition (High attack complexity). No CISA KEV listing or threat actor attribution has been observed at this time (Red Hat CVE, Red Hat Bugzilla).

Exploitation steps

  1. Reconnaissance: Identify NFS-Ganesha servers with the 9P protocol listener exposed on the network (default TCP port 564). Scan for open ports using tools like nmap -p 564 <target>.
  2. Establish 9P connection: Connect to the 9P listener without authentication — TAUTH returns EOPNOTSUPP unconditionally, so no credentials are needed. Use any 9P client library (e.g., py9p, v9fs tools) to establish a session.
  3. Walk to a target file and open a FID: Send a TWALK message to obtain a FID for a target file or directory, then open it with TOPEN to prepare for xattr operations.
  4. Allocate xattr buffer via TXATTRCREATE: Send a TXATTRCREATE message on the target FID to allocate an xattr buffer of a controlled size. This sets pfid->xattr->xattr_content and determines the heap allocation size used in the subsequent memcpy.
  5. Trigger the race condition: Concurrently send a TWRITE request (with attacker-controlled payload data and offset) and a TCLUNK request targeting the same FID. The TCLUNK frees pfid->xattr and pfid while the TWRITE worker continues to memcpy attacker data into the freed memory region.
  6. Achieve heap corruption: By winning the race, attacker-controlled data is written into freed heap memory. Repeated attempts can be used to reliably win the race and corrupt heap metadata or function pointers.
  7. Escalate to RCE: Leverage heap exploitation techniques (e.g., heap feng shui, tcache poisoning) to redirect execution flow, ultimately achieving remote code execution as the NFS-Ganesha process user (Red Hat Bugzilla).

Indicators of compromise

  • Network: Unusual or high-volume concurrent 9P protocol connections (TCP port 564) from a single source IP; rapid sequences of TWRITE and TCLUNK messages targeting the same FID from the same client.
  • Logs: NFS-Ganesha crash logs or core dumps with stack traces referencing 9p_write.c, 9p_clunk.c, or 9p_proto_tools.c; segmentation fault or heap corruption errors in /var/log/ganesha/ganesha.log.
  • Process: Unexpected termination or restart of the ganesha.nfsd process; unusual child processes spawned by the NFS-Ganesha process.
  • File System: Unexpected core dump files (e.g., core.*) in the NFS-Ganesha working directory or /var/crash/; new or modified files in exported file system paths that cannot be attributed to legitimate clients (Red Hat Bugzilla).

Mitigation and workarounds

A patch has been made available through Red Hat (tracked in Bugzilla bug 2545966); administrators should apply the available fix as the primary remediation. Upstream confirmed the same remediation path as a related TWALK issue — removal of the 9P protocol support from NFS-Ganesha. As immediate workarounds: restrict network access to the 9P listener (TCP port 564) to trusted clients only using firewall rules or network segmentation; or disable the 9P protocol entirely in the NFS-Ganesha configuration if it is not required. Monitor NFS-Ganesha process health for unexpected crashes or restarts as a detection measure (Red Hat CVE, Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

nfs-ganesha

Affected

sid

nfs-ganesha: 9.14-2

Fixed

trixie

nfs-ganesha

Affected

Ubuntu

Unknown

bionic (esm-apps)

nfs-ganesha

Unknown

devel

nfs-ganesha

Unknown

focal (esm-infra)

nfs-ganesha

Unknown

jammy

nfs-ganesha

Unknown

noble

nfs-ganesha

Unknown

resolute

nfs-ganesha

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89419MEDIUM5.4
  • Linux Debian logoLinux Debian
  • ironic
NoNoOct 23, 2026
CVE-2026-90458MEDIUM4.7
  • Linux Debian logoLinux Debian
  • ironic
NoNoOct 23, 2026
CVE-2026-85559NONEN/A
  • Linux Debian logoLinux Debian
  • pdns-recursor
NoYesOct 23, 2026
CVE-2026-85558NONEN/A
  • Linux Debian logoLinux Debian
  • pdns-recursor
NoYesOct 23, 2026
CVE-2026-85557NONEN/A
  • Linux Debian logoLinux Debian
  • pdns-recursor
NoYesOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management