sctp: check RCV_SHUTDOWN after the sendmsg connect wait
Summary
| CVE | CVE-2026-98846 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:38 UTC |
| Updated | 2026-10-21 13:21:49 UTC |
| Description | 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. |
Risk And Classification
EPSS: 0.001560000 probability, percentile 0.043910000 (date 2026-10-21)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 1bef1944ef15a40797305bf916827b04df6307ca git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 e8f972b1759d26bbefe4c524caae1ed7c8a593bd git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 e701345d886e831fb593a0870d69c8c5de6fc938 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669 git | Not specified |
| CNA | Linux | Linux | affected 668c9beb9020d5834ee9e43c208190a07d2b1928 4f1da630d13de0370e2f6361f961f1c8b384af1c git | Not specified |
| CNA | Linux | Linux | affected 4.16 | Not specified |
| CNA | Linux | Linux | unaffected 4.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.160 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.113 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.56 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.10 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.