CVE-2026-74316
NFSD: Handle layout stid in nfsd4_drop_revoked_stid()
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Add SC_TYPE_LAYOUT case to nfsd4_drop_revoked_stid().
- Remove layout stid from client list.
- Call nfs4_put_stid() to drop creation reference.
- Ensure refcount reaches zero for full cleanup.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74316.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74316 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74316
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74316 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74316 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '7ed62f7040ee182cf7dea5798f9e114235b31dae', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': 'da6f86ff4f2dd490bea52419a49e19680efd5847', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '8024028ef91616cf91cc669f2446a0406bc0ba19', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '86b9898920a6d02b4149f4fef9efd77b8aa3b9ca', 'versionType': 'git'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '7ed62f7040ee182cf7dea5798f9e114235b31dae', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': 'da6f86ff4f2dd490bea52419a49e19680efd5847', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '8024028ef91616cf91cc669f2446a0406bc0ba19', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '86b9898920a6d02b4149f4fef9efd77b8aa3b9ca', 'versionType': 'git'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '7ed62f7040ee182cf7dea5798f9e114235b31dae', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': 'da6f86ff4f2dd490bea52419a49e19680efd5847', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '8024028ef91616cf91cc669f2446a0406bc0ba19', 'versionType': 'git'}, {'status': 'affected', 'version': '1e33e1414bec54a4feafa9e67e2617031be0afe2', 'lessThan': '86b9898920a6d02b4149f4fef9efd77b8aa3b9ca', 'versionType': 'git'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/nfsd/nfs4state.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/7ed62f7040ee182cf7dea5798f9e114235b31dae Added Reference https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19 Added Reference https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca Added Reference https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847