sctp: check RCV_SHUTDOWN after the sendmsg connect wait
In the Linux kernel, the following vulnerability has been resolved: sctp: check RCV_SHUTDOWN after the sendmsg connect wait sctp_wait_for_connect() drops the socket lock while it sleeps. An out-of-the-blue ABORT can then be processed from the socket backlog and unlink the association. If a concurrent shutdown(fd, SHUT_RD) sets RCV_SHUTDOWN, the waiter breaks with err == 0 before checking asoc->base.dead. Its final sctp_association_put() can then free the association, leaving sctp_sendmsg_to_asoc() to continue with a dangling pointer. Check RCV_SHUTDOWN along with the wait error in sctp_sendmsg_to_asoc() before using the association again. The check only accesses the socket, so it needs no additional association reference. Return the existing -ESRCH so that sctp_sendmsg() skips freeing a new association that may already have been destroyed. Keep sctp_wait_for_connect() unchanged to preserve its behavior for the connect() caller.
CVE-2026-98846
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-98846
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": "668c9beb9020d5834ee9e43c208190a07d2b1928",
"lessThan": "1bef1944ef15a40797305bf916827b04df6307ca",
"versionType": "git"
},
{
"status": "affected",
"version": "668c9beb9020d5834ee9e43c208190a07d2b1928",
"lessThan": "e8f972b1759d26bbefe4c524caae1ed7c8a593bd",
"versionType": "git"
},
{
"status": "affected",
"version": "668c9beb9020d5834ee9e43c208190a07d2b1928",
"lessThan": "e701345d886e831fb593a0870d69c8c5de6fc938",
"versionType": "git"
},
{
"status": "affected",
"version": "668c9beb9020d5834ee9e43c208190a07d2b1928",
"lessThan": "222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669",
"versionType": "git"
},
{
"status": "affected",
"version": "668c9beb9020d5834ee9e43c208190a07d2b1928",
"lessThan": "4f1da630d13de0370e2f6361f961f1c8b384af1c",
"versionType": "git"
}
],
"programFiles": [
"net/sctp/socket.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/sctp/socket.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98846
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #49002 · Revision 1
- Added to Heist Feed
- Publisher date