CVE-2026-99822
published high CVSS 3.1 · 7.8sctp: hold transport reference across connect wait
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux668c9beb9020d5834ee9e43c208190a07d2b1928 to < dddfe44a72d00a13e02f8aabbb0120cba6999d4f · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < 09f35bc63904a5cbe5d9a3131597ece0b90c213b · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < b875b9ac6c2c162da19c867f85676e34d0fd350d · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < 089f24da5e5b58f77e5e893c90fa1c1bd477b59c · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < 166ae81eddb346ed7864e4c3265cd047ff66f5f5 · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < a3203fbd9bf6e9201cae0f846df3e8badbceb814 · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < 98cafb9310ee0e8ad2c72f34f2484dbcb6f5e423 · 668c9beb9020d5834ee9e43c208190a07d2b1928 to < 5bef8649bb9ac4b2a014bcc227202ebd2df824be · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The freed transport is the one sctp_sendmsg() picked for a new association (TCP-style msg_name or SCTP_ADDR_OVER) before sctp_sendmsg_to_asoc() sleeps in sctp_wait_for_connect(). Only the sendmsg() caller creates that state, and only with interleaving on (net.sctp.intl_enable, default 0). A remote ASCONF DEL-IP alone can't reach it unless the victim client associates to the attacker, so the vector is the local socket. AC:L - In its own netns the attacker plays the peer with a raw socket and bundles COOKIE-ACK, AUTH and ASCONF DEL-IP in one packet. These are processed under bh_lock_sock before the woken sender can retake the lock, so the removal always beats the resume. The stale pointer then lands on ->transmitted and the T3 timer, giving a UAF with no race outside the attacker's control. PR:L - SCTP sockets and the SCTP_FRAGMENT_INTERLEAVE, SCTP_INTERLEAVING_SUPPORTED, SCTP_ASCONF_SUPPORTED and SCTP_AUTH_SUPPORTED options need no capability. net.sctp.intl_enable is a per-netns sysctl that net_ctl_permissions() opens to userns CAP_NET_ADMIN, and the raw peer socket needs only userns CAP_NET_RAW, so unshare -Urn is enough. UI:N - The attacker's own process makes the blocking sendmsg() and supplies the peer's COOKIE-ACK/ASCONF packets; no other user or admin action is needed. S:U - The use-after-free is in the host kernel's sctp_transport slab object and stays within one security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - sctp_assoc_rm_peer() drops the last reference and sctp_transport_destroy() frees the transport with call_rcu(kfree). The stale chunk->transport is then read by sctp_outq_select_transport() and the T3-rtx handler (->state, ->asoc, ->dst), so a reclaimed object hands the attacker kernel pointers: a UAF read. I:H - After the wait, sctp_outq_select_transport() does list_add_tail(&transport->send_ready) and sctp_packet_config() writes into the freed object. sctp_outq_flush_data() then links the chunk onto transport->transmitted and arms T3_rtx_timer with no reference (the hold fails at refcnt 0). The timer later fires from freed memory, which is a control-flow hijack primitive. A:H - A pending T3 timer in kfree'd memory, plus dangling transmitted/send_ready list links, corrupts the timer wheel and slab and leads to an oops or panic. Any local user can repeat it in a fresh namespace.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 668c9beb9020d5834ee9e43c208190a07d2b1928 to < dddfe44a72d00a13e02f8aabbb0120cba6999d4f (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < 09f35bc63904a5cbe5d9a3131597ece0b90c213b (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < b875b9ac6c2c162da19c867f85676e34d0fd350d (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < 089f24da5e5b58f77e5e893c90fa1c1bd477b59c (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < 166ae81eddb346ed7864e4c3265cd047ff66f5f5 (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < a3203fbd9bf6e9201cae0f846df3e8badbceb814 (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < 98cafb9310ee0e8ad2c72f34f2484dbcb6f5e423 (affected · git)668c9beb9020d5834ee9e43c208190a07d2b1928 to < 5bef8649bb9ac4b2a014bcc227202ebd2df824be (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/089f24da5e5b58f77e5e893c90fa1c1bd477b59c
- https://git.kernel.org/stable/c/09f35bc63904a5cbe5d9a3131597ece0b90c213b
- https://git.kernel.org/stable/c/166ae81eddb346ed7864e4c3265cd047ff66f5f5
- https://git.kernel.org/stable/c/5bef8649bb9ac4b2a014bcc227202ebd2df824be
- https://git.kernel.org/stable/c/98cafb9310ee0e8ad2c72f34f2484dbcb6f5e423
- https://git.kernel.org/stable/c/a3203fbd9bf6e9201cae0f846df3e8badbceb814
- https://git.kernel.org/stable/c/b875b9ac6c2c162da19c867f85676e34d0fd350d
- https://git.kernel.org/stable/c/dddfe44a72d00a13e02f8aabbb0120cba6999d4f
Provider assertions
1Linux · cna
sctp: hold transport reference across connect wait
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1701b220b2eeab86ccb07206f9e9806ef05d2e51f3b95ca1bcd679709ce789fb
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record