Description
In the Linux kernel, the following vulnerability has been resolved: sctp: hold transport reference across connect wait sctp_sendmsg_to_asoc() selects a transport before waiting for a new interleaved association to become established. sctp_wait_for_connect() drops the socket lock while sleeping. While the lock is dropped, backlog processing can handle a COOKIE ACK and an ASCONF DEL-IP that removes the selected transport. sctp_assoc_rm_peer() then marks the transport dead and drops its association-owned reference. The transport can be freed through RCU before the send path resumes. After the wait, the stale pointer is assigned to newly created DATA or I-DATA chunks and later dereferenced by sctp_outq_select_transport(). Hold a reference to the selected transport across sctp_wait_for_connect(). After the socket lock is reacquired, abort the send if the transport was marked dead. Callers without a selected transport pass NULL and retain their existing behavior.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
References
- git.kernel.org/stable/c/dddfe44a72d00a13e02f8aabbb0120cba6999d4f
- git.kernel.org/stable/c/09f35bc63904a5cbe5d9a3131597ece0b90c213b
- git.kernel.org/stable/c/b875b9ac6c2c162da19c867f85676e34d0fd350d
- git.kernel.org/stable/c/089f24da5e5b58f77e5e893c90fa1c1bd477b59c
- git.kernel.org/stable/c/166ae81eddb346ed7864e4c3265cd047ff66f5f5
- git.kernel.org/stable/c/a3203fbd9bf6e9201cae0f846df3e8badbceb814
- git.kernel.org/stable/c/98cafb9310ee0e8ad2c72f34f2484dbcb6f5e423
- git.kernel.org/stable/c/5bef8649bb9ac4b2a014bcc227202ebd2df824be
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.