NFSD: Handle layout stid in nfsd4_drop_revoked_stid()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.97, 6.18.40, 7.1.5
- CVEs
- CVE-2026-74316
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:29 UTC · Revision 1
Source evidence
NFSD: Handle layout stid in nfsd4_drop_revoked_stid()
core-osv · Original sourcePublished 15 Aug 2026, 05:58 UTC
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.
osv:CVE-2026-74316
Kernel
Fixed versions: 6.12.97, 6.18.40, 7.1.5
Complete source record
{
"id": "e3165924cf0f25f404fac2e75c49b5853b33d94f37e0b663752a3fecc3aed2f9",
"url": "https://osv.dev/vulnerability/CVE-2026-74316",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "NFSD: Handle layout stid in nfsd4_drop_revoked_stid()",
"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.",
"evidence": "osv:CVE-2026-74316",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-74316",
"aliases": [
"CVE-2026-74316"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1e33e1414bec54a4feafa9e67e2617031be0afe2"
},
{
"fixed": "7ed62f7040ee182cf7dea5798f9e114235b31dae"
},
{
"fixed": "da6f86ff4f2dd490bea52419a49e19680efd5847"
},
{
"fixed": "8024028ef91616cf91cc669f2446a0406bc0ba19"
},
{
"fixed": "86b9898920a6d02b4149f4fef9efd77b8aa3b9ca"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74316.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74316.json"
}
}
],
"modified": "2026-10-28T02:30:30.465730073Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/7ed62f7040ee182cf7dea5798f9e114235b31dae",
"https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19",
"https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca",
"https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74316.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74316",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74316.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74316",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497377,
"published_at": "2026-08-15T05:58:14.165+00:00"
}