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

NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

nfsd4_drop_revoked_stid() has no SC_TYPE_LAYOUT case, so when a
client sends FREE_STATEID for an admin-revoked layout stid, the
default branch releases cl_lock and returns without unhashing or
releasing the stid. The stid remains in the IDR and on the
per-client list until the client is destroyed.

Remove the layout stid from the per-client list and call
nfs4_put_stid() to drop the creation reference. When the
refcount reaches zero, nfsd4_free_layout_stateid() handles the
remaining cleanup: cancelling the fence worker, removing from
the per-file list, and freeing the slab object.
Published: 2026-08-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The nfsd4_drop_revoked_stid() routine in the Linux NFS server fails to handle the SC_TYPE_LAYOUT case. When an admin‑revoked layout state ID is freed by a client, the state ID remains registered in the kernel IDR and the per‑client list because it is never unhashed or released. The reference count therefore never reaches zero and the state ID is never freed, resulting in a memory leak that can grow without bound. This behavior is a classic example of uncontrolled resource consumption and a missing release of a resource after its effective lifetime (CWE‑772). In repeated or malicious use, the leak can exhaust available memory and degrade or crash the NFS server.

Affected Systems

All Linux kernel installations that run the NFS server component and include the nfsd4_drop_revoked_stid() code path are potentially affected. No specific kernel version is listed in the advisory, so any kernel prior to the patch that implements this function may be vulnerable. The vulnerability applies regardless of distribution or custom kernel build as long as the affected code is present.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity vulnerability, while the EPSS score of less than 1% suggests that current exploit activity is low to negligible. The vulnerability is not listed in the CISA KEV catalog. Attackers need only remote NFS client access; they can send a FREE_STATEID request referencing a revoked layout state ID to trigger the leak. Because the flaw is exercised over the network, it is remotely exploitable without local privileges, and repeated exploitation can lead to resource exhaustion, service degradation, or eventual denial of service.

Generated by OpenCVE AI on August 22, 2026 at 02:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Linux kernel release that includes the patch for nfsd4_drop_revoked_stid()
  • Restart the NFS service after the kernel update to ensure the new code is active
  • Monitor NFS server memory and resource usage for signs of lingering layout state ID leaks

Generated by OpenCVE AI on August 22, 2026 at 02:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Fri, 21 Aug 2026 00:15:00 +0000

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

None

threat_severity

Moderate


Mon, 17 Aug 2026 06:00: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'}


Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: NFSD: Handle layout stid in nfsd4_drop_revoked_stid() nfsd4_drop_revoked_stid() has no SC_TYPE_LAYOUT case, so when a client sends FREE_STATEID for an admin-revoked layout stid, the default branch releases cl_lock and returns without unhashing or releasing the stid. The stid remains in the IDR and on the per-client list until the client is destroyed. Remove the layout stid from the per-client list and call nfs4_put_stid() to drop the creation reference. When the refcount reaches zero, nfsd4_free_layout_stateid() handles the remaining cleanup: cancelling the fence worker, removing from the per-file list, and freeing the slab object.
Title NFSD: Handle layout stid in nfsd4_drop_revoked_stid()
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-17T05:45:50.196Z

Reserved: 2026-08-15T05:44:03.883Z

Link: CVE-2026-74316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:31.890

Modified: 2026-08-17T06:19:25.973

Link: CVE-2026-74316

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74316 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T02:45:03Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime