# CVE-2026-98846: sctp: check RCV_SHUTDOWN after the sendmsg connect wait

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:50:34.714Z
- Modified: 2026-10-30T13:21:30.343Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 7f798168c54455559da0f7a377a23ab7019fec35; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before fe5a23c76fc48b711eb7d6f3462c994e34da36f9; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 1bef1944ef15a40797305bf916827b04df6307ca; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before e8f972b1759d26bbefe4c524caae1ed7c8a593bd; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before e701345d886e831fb593a0870d69c8c5de6fc938; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669; from 668c9beb9020d5834ee9e43c208190a07d2b1928 before 4f1da630d13de0370e2f6361f961f1c8b384af1c; 4.16 (not affected: before 4.16; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/7f798168c54455559da0f7a377a23ab7019fec35>
- <https://git.kernel.org/stable/c/fe5a23c76fc48b711eb7d6f3462c994e34da36f9>
- <https://git.kernel.org/stable/c/1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4>
- <https://git.kernel.org/stable/c/1bef1944ef15a40797305bf916827b04df6307ca>
- <https://git.kernel.org/stable/c/e8f972b1759d26bbefe4c524caae1ed7c8a593bd>
- <https://git.kernel.org/stable/c/e701345d886e831fb593a0870d69c8c5de6fc938>
- <https://git.kernel.org/stable/c/222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669>
- <https://git.kernel.org/stable/c/4f1da630d13de0370e2f6361f961f1c8b384af1c>

## Sources

- CVE List: [CVE-2026-98846](https://www.cve.org/CVERecord?id=CVE-2026-98846), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98846](https://nvd.nist.gov/vuln/detail/CVE-2026-98846), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98846 · Whole record: https://cve.day/CVE-2026-98846.json · Rebuilt by cve.day 2026-11-25T22:59:45.324Z
