CVE-2026-74316

NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

Published Aug 15, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-400
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'}

Type Values Removed Values Added
Weaknesses CWE-400
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
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 6:55 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 16, 2026, 7:17 PM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM