Skip to content
Heist/ feed
High

sunrpc: defer rq_argp and rq_resp free until after RCU grace period

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: sunrpc: defer rq_argp and rq_resp free until after RCU grace period svc_rqst_free() frees rqstp->rq_argp and rqstp->rq_resp synchronously via kfree(), but defers the rqstp struct free via kfree_rcu(). After svc_exit_thread() calls list_del_rcu() and svc_rqst_free(), there is a window where RCU readers that started before list_del_rcu() can still traverse the thread list and find the rqstp. These readers (e.g. nfsd_nl_rpc_status_get_dumpit()) dereference rqstp->rq_argp, which has already been freed — a use-after-free. Fix this by moving the kfree of rq_argp and rq_resp into an explicit call_rcu() callback alongside the struct free. Resources not accessed by RCU readers (bvec, buffer pages, scratch folio, auth_data) remain synchronously freed.

Announced Group revision 1
Original source ↗

CVE-2026-89545

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-89545

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": "812443865c5fc255363d4a684a62c086af1addca",
        "lessThan": "0ea49d69aa806008b2424c8cf21cf746b9963967",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "812443865c5fc255363d4a684a62c086af1addca",
        "lessThan": "08bc49e0541260bf294962cf889a32a2d2713ad6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "812443865c5fc255363d4a684a62c086af1addca",
        "lessThan": "e0c5693d3f9a5d4911735ab0e0eba4eecb1f1090",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "812443865c5fc255363d4a684a62c086af1addca",
        "lessThan": "c479bde671cbe2f9e152834a8b0eb7c3c295bbaf",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/sunrpc/svc.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "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": [
      "net/sunrpc/svc.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89545

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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