VDB

CVE-2026-80983

CVE-2026-80983 PUBLISHED

net/smc: fix socket refcount leak in smc_switch_conns()

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: net/smc: fix socket refcount leak in smc_switch_conns() smc_switch_conns() takes a reference on the SMC socket before dropping lgr->conns_lock, so the connection stays alive while the CDC slot is fetched: sock_hold(&smc->sk); read_unlock_bh(&lgr->conns_lock); /* pre-fetch buffer outside of send_lock, might sleep */ rc = smc_cdc_get_free_slot(conn, to_lnk, &wr_buf, NULL, &pend); if (rc) goto err_out; The err_out label only drops the wr_tx link reference, so this early exit returns without the matching sock_put(). The second error exit is not affected, because sock_put() has already run by then. A leaked sk_refcnt means the smc_sock is never destroyed. Its send and receive buffers stay allocated, and for a user socket the reference held on the network namespace is never released, so the netns can no longer be torn down. smc_cdc_get_free_slot() fails when the target link goes down or when the connection has been killed while the switch is in progress. Both are reachable during the link failover this function implements, so the leak is triggered by the same hardware events that make smc_switch_conns() run in the first place. Restructure so there is a single sock_put() covering both outcomes, instead of adding a second one to the error path.

EPSS 0.18% · 7.3th percentile

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux99f19566b1c4d3dc4d934ee2ef43faadebb56d70, 95f7f3e7dc6bd2e735cb5de11734ea2222b1e05a, 95f7f3e7dc6bd2e735cb5de11734ea2222b1e05a
LinuxLinux5.15, 0, 5.10.273
linuxlinux_kernel5.10.90, 5.15, 5.15
LinuxLinux99f19566b1c4d3dc4d934ee2ef43faadebb56d70, 95f7f3e7dc6bd2e735cb5de11734ea2222b1e05a, 95f7f3e7dc6bd2e735cb5de11734ea2222b1e05a

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 12, 2026 Coalition ESS Score
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80983
vulnetix vdb fixes CVE-2026-80983

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80983/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›