CVE-2026-99822: sctp: hold transport reference across connect wait
In the Linux kernel, the following vulnerability has been resolved:
sctp: hold transport reference across connect wait
sctpsendmsgtoasoc() selects a transport before waiting for a new interleaved association to become established. sctpwaitforconnect() 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. sctpassocrmpeer() 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 sctpoutqselecttransport().
Hold a reference to the selected transport across sctpwaitforconnect(). 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the SCTP send path, hold a reference to the selected transport across sctp_wait_for_connect(); after reacquiring the socket lock, abort the send if the transport was marked dead.