Skip to content
Heist/ feed
Unrated

net/smc: free stashed qentry before overwrite in REQ_ADD_LINK to ADD_LINK transition

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net/smc: free stashed qentry before overwrite in REQ_ADD_LINK to ADD_LINK transition When smc_llc_event_handler() transitions the local LLC flow from SMC_LLC_FLOW_REQ_ADD_LINK to SMC_LLC_FLOW_ADD_LINK on arrival of an ADD_LINK request, it calls smc_llc_flow_qentry_set() unconditionally: if (lgr->llc_flow_lcl.type == SMC_LLC_FLOW_REQ_ADD_LINK) { lgr->llc_flow_lcl.type = SMC_LLC_FLOW_ADD_LINK; smc_llc_flow_qentry_set(&lgr->llc_flow_lcl, qentry); ... } A CONFIRM_LINK or ADD_LINK_CONT arriving while flow->type is SMC_LLC_FLOW_REQ_ADD_LINK is stashed into flow->qentry via the SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT handler (which stores into flow->qentry for any non-NONE flow type). When the subsequent ADD_LINK arrives, the REQ_ADD_LINK branch overwrites flow->qentry with the new pointer without first freeing the stashed allocation, leaking one kmalloc object. The stashed entry has no consumer: smc_llc_wait() is only called from llc_add_link_work, which is not yet scheduled while the flow type remains REQ_ADD_LINK. No waiter is sleeping on llc_msg_waiter at this point. It is safe to unconditionally free any stashed qentry before the overwrite. Call smc_llc_flow_qentry_del() before smc_llc_flow_qentry_set() in the REQ_ADD_LINK branch. smc_llc_flow_qentry_del() already checks flow->qentry before freeing, so the normal path where no entry is stashed is a no-op.

Announced Group revision 1
Original source ↗

CVE-2026-90108

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

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": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "7dd55348c0d9399a9448847819e9f3904ae507ad",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "056395acb7041b3a1f2baa08d89a1938a8b8776a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "b08aacfb226a840628151643b6a34eecf545d311",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "0fb9a513766071ea9d5f3bf988e39241b8e9ee3b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "e25a602c45c76a7130878db72bcf6f76df04bf85",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196",
        "lessThan": "036322025d6e440cb75fc6fecbba9a16b271a2ae",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/smc/smc_llc.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/smc/smc_llc.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90108

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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