CVE-2026-74316 (GCVE-0-2026-74316)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-08-17 05:45
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
| URL | Tags | |
|---|---|---|
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4state.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "7ed62f7040ee182cf7dea5798f9e114235b31dae",
"status": "affected",
"version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
"versionType": "git"
},
{
"lessThan": "da6f86ff4f2dd490bea52419a49e19680efd5847",
"status": "affected",
"version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
"versionType": "git"
},
{
"lessThan": "8024028ef91616cf91cc669f2446a0406bc0ba19",
"status": "affected",
"version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
"versionType": "git"
},
{
"lessThan": "86b9898920a6d02b4149f4fef9efd77b8aa3b9ca",
"status": "affected",
"version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/nfsd/nfs4state.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"lessThan": "6.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.97",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "6.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Handle layout stid in nfsd4_drop_revoked_stid()\n\nnfsd4_drop_revoked_stid() has no SC_TYPE_LAYOUT case, so when a\nclient sends FREE_STATEID for an admin-revoked layout stid, the\ndefault branch releases cl_lock and returns without unhashing or\nreleasing the stid. The stid remains in the IDR and on the\nper-client list until the client is destroyed.\n\nRemove the layout stid from the per-client list and call\nnfs4_put_stid() to drop the creation reference. When the\nrefcount reaches zero, nfsd4_free_layout_stateid() handles the\nremaining cleanup: cancelling the fence worker, removing from\nthe per-file list, and freeing the slab object."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.5,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The flaw is reached through nfsd\u0027s NFSv4 OP_FREE_STATEID handler, processing attacker-controlled RPC compounds over the network on TCP port 2049 via nfsd_dispatch to nfsd4_proc_compound to nfsd4_free_stateid.\nAC:L - Once a client holds admin-revoked pNFS layout stateids, sending FREE_STATEID reliably triggers the leak every time; the attacker controls layout acquisition and the freeing RPC on both sides of the interaction.\nPR:N - Exploitation requires only remote NFSv4 client access to a pNFS-enabled export (EXCHANGE_ID/CREATE_SESSION plus FREE_STATEID), not local shell access or elevated privileges on the Linux host.\nUI:N - No administrator or end-user action on the server is required beyond normal NFS service exposure; the leak is triggered entirely by malicious NFS protocol traffic from a network client.\nS:U - Impact is confined to kernel memory and nfsd state management within the same kernel security boundary; there is no VM escape, container breakout, or cross-authority boundary crossing.\nC:N - The bug retains unreleased layout stateid structures in the IDR and per-client lists without corrupting memory or exposing kernel data; there is no out-of-bounds read or information disclosure primitive.\nI:N - No data modification or memory corruption occurs; the stateid is simply not freed when it should be, leaving stale entries without enabling arbitrary writes or code execution.\nA:H - Each triggered FREE_STATEID permanently leaks a layout stateid slab object and IDR slot until client teardown; a remote NFS client can repeat this for every admin-revoked pNFS layout, causing unbounded kernel memory consumption and nfsd DoS."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:45:50.196Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/7ed62f7040ee182cf7dea5798f9e114235b31dae"
},
{
"url": "https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847"
},
{
"url": "https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19"
},
{
"url": "https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca"
}
],
"title": "NFSD: Handle layout stid in nfsd4_drop_revoked_stid()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74316",
"datePublished": "2026-08-15T05:58:14.165Z",
"dateReserved": "2026-08-15T05:44:03.883Z",
"dateUpdated": "2026-08-17T05:45:50.196Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…