Exploit database

Vulnerability

CVE-2026-64564

sctp: don't free the ASCONF's own transport in DEL-IP processing

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · Linux

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: don't free the ASCONF's own transport in DEL-IP processing sctp_process_asconf() caches the transport the ASCONF chunk is processed against in asconf->transport (== chunk->transport, set once in sctp_rcv()). For an ASCONF located through its Address Parameter by __sctp_rcv_asconf_lookup(), that cached transport corresponds to the Address Parameter, which need not be the packet's source address. sctp_process_asconf_param() rejects a DEL-IP for the packet source address (ADDIP D8, SCTP_ERROR_DEL_SRC_IP), but nothing protects asconf->transport. A single ASCONF can therefore carry, in order: [Address Parameter L] [DEL-IP L] [DEL-IP 0.0.0.0] where L differs from the source. The DEL-IP for L passes the D8 check and calls sctp_assoc_rm_peer() on the transport that asconf->transport still points at, freeing it (RCU-deferred). The following wildcard DEL-IP then reuses the now-dangling asconf->transport in sctp_assoc_set_primary() and sctp_assoc_del_nonprimary_peers(): set_primary() dereferences the freed transport (->ipaddr, ->state) and plants the dangling pointer into asoc->peer.primary_path / active_path, and del_nonprimary_peers(), keeping only the pointer that is no longer on the list, removes every real transport, leaving the association with a transport_count of 0 and primary_path/active_path pointing at freed memory. Reject a DEL-IP that targets the transport the ASCONF is being processed against, mirroring the existing source-address guard, so the wildcard branch can never reuse a freed transport.

CVE Program

Exploit source choices

4 sources
ethanolgolf/cve-2026-64564
GH-12888df18c5884d8b362d5bd03725559GitHubUnofficial GitHub sourcePreferred

LPE on Deb

2026-08-074 files · 7 stars
hackspeak/cve-2026-64564
GH-67a8acf921c797678ba7542a53678ca3GitHubUnofficial GitHub source

SCTPhantom (CVE-2026-64564) SCTP ASCONF DEL-IP UAF LPE PoC (Debian 13 6.12.95) — community PoC mirror, MIT; for authorized security testing

2026-08-073 files · 7 stars
0xdeadroot/sctphantom-cve-2026-64564
GH-e07759c8d93da880db85b217756eb02dGitHubUnofficial GitHub source

0xdeadroot/sctphantom-cve-2026-64564 source repository

2026-08-194 files · 2 stars
suominen/sctphantom
GH-2eadd8a9c4002628ad0faa70e2803fefGitHubUnofficial GitHub source

Tracking SCTPhantom (CVE-2026-64564), the Linux kernel SCTP ASCONF transport use-after-free

2026-08-1028 files · 1 stars