9.8critical
sctp: clear control chunk transport if it is being removed
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: clear control chunk transport if it is being removed sctp_make_heartbeat_ack() caches the destination transport in chunk->transport without taking a reference. When src_out_of_asoc_ok is enabled, the HEARTBEAT ACK may remain queued on control_chunk_list instead of being transmitted immediately. If the peer transport is removed while the chunk is still queued, sctp_assoc_rm_peer() drops the transport and schedules it for RCU freeing, but only clears cached transport pointers in out_chunk_list. The queued control chunk therefore retains a dangling transport pointer. Once an ASCONF_ACK clears the suppression and the queued control chunk is transmitted, SCTP dereferences the stale transport pointer, leading to a use-after-free. Fix this by also clearing chunk->transport for queued control chunks in control_chunk_list when removing the transport.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before dbb3f418a8665ffb0514e1a9520ab6a1c5d4d886, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before fad4766a74220fe579c6fcaa10ba01c23529814f, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before 936658ec41c28c397ef390140e02d4c91ade92f0, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before 8de65194a04d2552cd39b6c67d942d490f22d174, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before 6160e756db81d6cb63e3e2952efcf6c5134be385, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before 18d704bdd809377dfd81a3c2f42426763b5da227, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before 4d6b9cac6df5e0cfef1a66b3edd7aebdb9e4b7e7, from 8a07eb0a50aebc8c95478d49c28c7f8419a26cef before c9158ceaf27780ef64534ad72f44ffde3f8ccc49 and 1 more Not affected: before 3.1, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: sctp: clear control chunk transport if it is being removed sctp_make_heartbeat_ack() caches the destination transport in chunk->transport without taking a reference. When src_out_of_asoc_ok is enabled, the HEARTBEAT ACK may remain queued on control_chunk_list instead of being transmitted immediately. If the peer transport is removed while the chunk is still queued, sctp_assoc_rm_peer() drops the transport and schedules it for RCU freeing, but only clears cached transport pointers in out_chunk_list. The queued control chunk therefore retains a dangling transport pointer. Once an ASCONF_ACK clears the suppression and the queued control chunk is transmitted, SCTP dereferences the stale transport pointer, leading to a use-after-free. Fix this by also clearing chunk->transport for queued control chunks in control_chunk_list when removing the transport.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: sctp: borrar el transporte del fragmento de control si está siendo eliminado sctp_make_heartbeat_ack() almacena en caché el transporte de destino en chunk -> transport sin tomar una referencia. Cuando src_out_of_asoc_ok está habilitado, el ACK de HEARTBEAT puede permanecer en cola en control_chunk_list en lugar de ser transmitido inmediatamente. Si el transporte del par es eliminado mientras el fragmento todavía está en cola, sctp_assoc_rm_peer() descarta el transporte y lo programa para liberación RCU, pero solo borra los punteros de transporte almacenados en caché en out_chunk_list. El fragmento de control en cola, por lo tanto, retiene un puntero de transporte colgante. Una vez que un ASCONF_ACK borra la supresión y el fragmento de control en cola es transmitido, SCTP desreferencia el puntero de transporte obsoleto, lo que lleva a un uso después de liberación. Solucione esto borrando también chunk -> transport para los fragmentos de control en cola en control_chunk_list al eliminar el transporte.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74688 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-74688 changed 2026-10-16 | Public domain |