{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-74316",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-15T05:44:03.883Z",
        "datePublished": "2026-08-15T05:58:14.165Z",
        "dateUpdated": "2026-08-17T05:45:50.196Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:45:50.196Z"
            },
            "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": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The flaw is reached through nfsd's 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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfsd/nfs4state.c"
                    ],
                    "versions": [
                        {
                            "version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
                            "lessThan": "7ed62f7040ee182cf7dea5798f9e114235b31dae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
                            "lessThan": "da6f86ff4f2dd490bea52419a49e19680efd5847",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
                            "lessThan": "8024028ef91616cf91cc669f2446a0406bc0ba19",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1e33e1414bec54a4feafa9e67e2617031be0afe2",
                            "lessThan": "86b9898920a6d02b4149f4fef9efd77b8aa3b9ca",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfsd/nfs4state.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}