CVE-2026-74316 (GCVE-0-2026-74316)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:58 – Updated: 2026-08-17 05:45
VLAI
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1e33e1414bec54a4feafa9e67e2617031be0afe2 , < 7ed62f7040ee182cf7dea5798f9e114235b31dae (git)
Affected: 1e33e1414bec54a4feafa9e67e2617031be0afe2 , < da6f86ff4f2dd490bea52419a49e19680efd5847 (git)
Affected: 1e33e1414bec54a4feafa9e67e2617031be0afe2 , < 8024028ef91616cf91cc669f2446a0406bc0ba19 (git)
Affected: 1e33e1414bec54a4feafa9e67e2617031be0afe2 , < 86b9898920a6d02b4149f4fef9efd77b8aa3b9ca (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74316",
      "date": "2026-09-20",
      "epss": "0.00441",
      "percentile": "0.37706"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-74316",
        "lastModified": "2026-08-17T06:19:25.973",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-08-15T06:22:31.890",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7ed62f7040ee182cf7dea5798f9e114235b31dae"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-20T17:18:40+00:00",
      "cve": "CVE-2026-74316",
      "id": "CVE-2026-74316",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: NFSD: Handle layout stid in nfsd4_drop_revoked_stid()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74316.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-15T01:23:00Z",
      "cve": "CVE-2026-74316",
      "id": "CVE-2026-74316",
      "initial_release_date": "2026-08-27T00:22:41Z",
      "product_status:known_affected": "29",
      "product_status:known_not_affected": "333",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-74316",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-74316.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…