Description
In the Linux kernel, the following vulnerability has been resolved:

nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race

When find_or_alloc_open_stateowner() encounters an unconfirmed owner, it
calls release_openowner() and sets oo = NULL. Control then falls through
past the `if (oo)` guard -- which would have freed any pre-allocated
`new` -- and unconditionally executes `new = alloc_stateowner(...)`. If
`new` was already allocated on a prior iteration, the pointer is
silently overwritten and the previous allocation (slab object + owner
name buffer) is leaked.

This requires a race: two NFSv4.0 OPEN threads with the same owner
string, where a concurrent thread inserts a new unconfirmed owner into
the hash between retry iterations. The window is narrow but repeatable
under adversarial conditions.

Fix by adding `goto retry` after `oo = NULL` so the already-allocated
`new` is reused on the next iteration rather than overwritten.
Published: 2026-07-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is in the Linux kernel’s NFSv4.0 server in the routine that allocates open state owners. When an unconfirmed owner is found, the code clears the existing pointer but then continues to allocate a new state owner unconditionally. If a prior allocation still exists from a previous iteration, the pointer to that allocation is overwritten and the previously allocated slab object and its associated owner name buffer leak into uninitialized memory. This is a classic runtime memory‑leak scenario (CWE‑772) that allows an attacker to read kernel memory that should remain private. The leak may not directly grant arbitrary code execution, but it can reveal sensitive data or disrupt the NFS service by exhausting memory or corrupting critical bookkeeping structures.

Affected Systems

All Linux kernel implementations that have not merged the upstream fix for CVE‑2026‑53394 are affected, regardless of distribution. The vulnerability resides entirely in the NFSv4.0 server code, so systems that run a vulnerable kernel and expose the NFSv4.0 service are at risk. Specific kernel versions are not enumerated in the CVE data; users should verify whether their installed kernel already includes the patch. Any Linux machine serving NFSv4.0 clients could be impacted, including servers, routers, and embedded devices.

Risk and Exploitability

The CVSS score of 7.5 categorizes this as high severity. The EPSS score of less than 1% and the absence from CISA's KEV catalog suggest that real‑world exploitation is currently unlikely, yet the narrow race condition can be engineered by a malicious NFS client generating repeated OPEN requests with the same owner string. The attack requires no privilege elevation on the client side, making the threat surface larger. If successful, the attacker could continuously leak slices of kernel memory or cause a denial of service by causing repeated allocations to fail or by exhausting memory resources.

Generated by OpenCVE AI on July 30, 2026 at 22:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the CVE‑2026‑53394 fix as soon as it becomes available.
  • If a kernel upgrade is not immediately feasible, consider disabling the NFSv4.0 server or limiting NFSv4.0 client access to trusted hosts.
  • Additionally, monitor the NFS server for anomalous bursts of concurrent OPEN requests, particularly those using the same owner string, as an early indicator of a possible race‑condition exploit.

Generated by OpenCVE AI on July 30, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race When find_or_alloc_open_stateowner() encounters an unconfirmed owner, it calls release_openowner() and sets oo = NULL. Control then falls through past the `if (oo)` guard -- which would have freed any pre-allocated `new` -- and unconditionally executes `new = alloc_stateowner(...)`. If `new` was already allocated on a prior iteration, the pointer is silently overwritten and the previous allocation (slab object + owner name buffer) is leaked. This requires a race: two NFSv4.0 OPEN threads with the same owner string, where a concurrent thread inserts a new unconfirmed owner into the hash between retry iterations. The window is narrow but repeatable under adversarial conditions. Fix by adding `goto retry` after `oo = NULL` so the already-allocated `new` is reused on the next iteration rather than overwritten.
Title nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:33.378Z

Reserved: 2026-06-09T07:44:35.402Z

Link: CVE-2026-53394

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53394 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:30:06Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime