CVE-2026-74316 (GCVE-0-2026-74316)
Vulnerability from cvelistv5
Published
2026-08-15 05:58
Modified
2026-10-16 18:55
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.
Impacted products
Vendor Product Version
Linux Linux Version: 1e33e1414bec54a4feafa9e67e2617031be0afe2
Version: 1e33e1414bec54a4feafa9e67e2617031be0afe2
Version: 1e33e1414bec54a4feafa9e67e2617031be0afe2
Version: 1e33e1414bec54a4feafa9e67e2617031be0afe2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-74316",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T18:53:13.510703Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T18:55:32.624Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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-10-16T18:55:32.624Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-74316\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T18:53:13.510703Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T18:53:14.583Z\"}}], \"cna\": {\"title\": \"NFSD: Handle layout stid in nfsd4_drop_revoked_stid()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.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\"}, \"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.\"}]}], \"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\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.97\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.40\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.1.5\", \"versionStartIncluding\": \"6.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.2\", \"versionStartIncluding\": \"6.9\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-17T05:45:50.196Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-74316\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-16T18:55:32.624Z\", \"dateReserved\": \"2026-08-15T05:44:03.883Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-08-15T05:58:14.165Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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…