Skip to content
Heist/ feed
Critical

NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup nfs40_clean_admin_revoked() takes a stateid reference under clp->cl_lock, drops nn->client_lock, and calls nfsd4_drop_revoked_stid(), which dereferences the stateid's client through s->sc_client->cl_lock. The stateid reference does not pin the client, so a teardown racing the dropped lock can free the client while nfsd4_drop_revoked_stid() is still using it. This cleanup runs from the laundromat, so a periodic sweep can race force_expire_client() driven by a write to the clients//ctl file. Skip a client that is already expiring and otherwise pin it with cl_rpc_users under client_lock before dropping the lock, matching nfsd4_revoke_states().

Announced Group revision 1
Original source ↗

CVE-2026-89658

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89658

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d688d8585e6bea5e4e37f7497feea93b6b0a469c",
        "lessThan": "0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d688d8585e6bea5e4e37f7497feea93b6b0a469c",
        "lessThan": "b413ec5b23e3445dc9c4f273116078e2d4747626",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d688d8585e6bea5e4e37f7497feea93b6b0a469c",
        "lessThan": "81cf7f1413862f87b078920c838460a6a88aa030",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d688d8585e6bea5e4e37f7497feea93b6b0a469c",
        "lessThan": "7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55",
        "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.109",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.50",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/nfsd/nfs4state.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89658

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#35151 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement