Skip to content
Heist/ feed
Unrated

net/smc: do not dereference an unset send buffer on the SMC-D teardown path

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net/smc: do not dereference an unset send buffer on the SMC-D teardown path smc_close_stream_wait() calls smc_tx_prepared_sends() from inside its sk_wait_event() condition, and sk_wait_event() evaluates that condition once with the socket lock released. smcd_buf_detach() clears conn->sndbuf_desc from smc_conn_kill() under lock_sock(), so a link group terminating while a socket waits there leaves the helper dereferencing NULL, faulting out of close(). SIOCOUTQ reads the field by hand, and smc_close_cancel_work() drops the lock across two cancel_*_sync() calls. Sample the pointer once in the helper, report nothing prepared while it is unset, and bound the ioctl the same way. The receive tasklet dereferences the field directly in smc_cdc_msg_recv_action(), not through this helper; 1/2 is what keeps it from running that late.

Announced Group revision 1
Original source ↗

CVE-2026-80984

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

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": "21f6f41e82e59740e26e06e77bdf58dc7f6f08dd",
        "lessThan": "ab26e12dd5d2f43d939fcf456933a816e81d2e51",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
        "lessThan": "e3fcff8d22a6c9540748846cd800443a643553a6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
        "lessThan": "f950e1b1f0aad334f9a9ee552c4dd5b794ebdd45",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
        "lessThan": "f517cf02033801a28f98d86ca613a3533cf066b3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
        "lessThan": "b395dd319cea422239cb45b998fb38d7e373af87",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.66",
        "lessThan": "6.6.157",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "net/smc/af_smc.c",
      "net/smc/smc_tx.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "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": [
      "net/smc/af_smc.c",
      "net/smc/smc_tx.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-80984

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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