net/smc: unregister the connection before draining the rx tasklet
In the Linux kernel, the following vulnerability has been resolved: net/smc: unregister the connection before draining the rx tasklet smc_conn_free() calls smc_ism_unset_conn() only while the link group is still on its device list, and never sets conn->killed. smc_lgr_terminate_sched() unlinks the group immediately and defers killing its connections to a work item, so a connection freed in that window keeps its smcd->conn[] slot with both gates in smcd_handle_irq() open, and the device can re-arm the receive tasklet after tasklet_kill() has returned. On the DMB-nocopy path the ghost send buffer is freed right after that drain, so the re-armed tasklet dereferences it. Unregister unconditionally and drain before the detach at both teardown sites, mirroring rmb_desc, which smc_buf_unuse() releases after the drain. Clear conn->sndbuf_desc before freeing it as well, so a reader that samples the pointer cannot get one that is already freed.
CVE-2026-80979
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-80979
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": "b6b6ac713ee82b340a8e3be30b101bd2840deec4",
"versionType": "git"
},
{
"status": "affected",
"version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
"lessThan": "b4d540ac95cd35c6ebab6afb7eae2bcac7b277a5",
"versionType": "git"
},
{
"status": "affected",
"version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
"lessThan": "5bd8b764a610b6b6bc0c4d3d01652747f6e0b5c3",
"versionType": "git"
},
{
"status": "affected",
"version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
"lessThan": "b74d313567dfc1b7e56629ddbad04e728686f235",
"versionType": "git"
},
{
"status": "affected",
"version": "ae2be35cbed2c8385e890147ea321a3fcc3ca5fa",
"lessThan": "36cdf5d48ca191dcd71c28cadbe0981b1d25318d",
"versionType": "git"
},
{
"status": "affected",
"version": "6.6.66",
"lessThan": "6.6.157",
"versionType": "semver"
}
],
"programFiles": [
"net/smc/smc_core.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.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/smc_core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80979
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #34937 · Revision 1
- Added to Heist Feed
- Publisher date