CVE-2026-98846

sctp: check RCV_SHUTDOWN after the sendmsg connect wait

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before 7f798168c54455559da0f7a377a23ab7019fec35Affected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before fe5a23c76fc48b711eb7d6f3462c994e34da36f9Affected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before 1e7cd89975fa3b11ebd7e1bbb4648a71c0e0e2d4Affected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before 1bef1944ef15a40797305bf916827b04df6307caAffected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before e8f972b1759d26bbefe4c524caae1ed7c8a593bdAffected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before e701345d886e831fb593a0870d69c8c5de6fc938Affected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before 222c41e0f50f1d5028be9baf0e1dcfc0bfa7f669Affected
  • 668c9beb9020d5834ee9e43c208190a07d2b1928 to before 4f1da630d13de0370e2f6361f961f1c8b384af1cAffected
LinuxLinux
  • 4.16Affected
  • before 4.16Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.