9.8

CVE-2026-89479

sctp: stop processing a packet once its association is deleted

In the Linux kernel, the following vulnerability has been resolved:

sctp: stop processing a packet once its association is deleted

sctp_endpoint_bh_rcv() looks the association up only when chunk->asoc is
NULL, and caches the result in chunk->asoc and chunk->transport without
taking a reference.

A packet that matches no association is handed to the endpoint, so a peer
can bundle COOKIE ECHO, SHUTDOWN and SHUTDOWN ACK in one packet. The
COOKIE ECHO creates the association, the SHUTDOWN chunk caches it, and
with the outqueue empty the SHUTDOWN ACK reaches sctp_sf_do_9_2_final(),
so the association and its transports are freed.

The endpoint loop has no counterpart to the asoc->base.dead check in
sctp_assoc_bh_rcv(). The next chunk writes to last_time_heard in the freed
transport and is then passed to sctp_do_sm() with the freed association.
The transport is freed through RCU, so this needs the packet to come off
the socket backlog, where the loop runs in task context.

The endpoint loop cannot do the same check: it holds no reference on the
association, so reading asoc->base.dead would itself be a use-after-free.
Mark the packet for discard in the command interpreter, just before it
deletes the association. That is also before sctp_inq_free() releases the
chunk on the association receive path.

sctp_sf_do_5_2_4_dupcook() issues SCTP_CMD_DELETE_TCB for the temporary
association, while the one the packet belongs to stays alive. A restarting
peer can bundle DATA behind its COOKIE ECHO, so compare against
chunk->asoc and leave that case alone.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 7d970353eeb98f46a3b9dc602850e4f6336a9889
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 09c3b193a3e8fe53e1f416e2f8e3283d2a785405
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < ed85fe91a61bc0e0da6b585c07102b20f4cc65a0
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 5c0b2dbbdafc9eeeb11fffe1e46551fc3b55d8ee
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < ee3f04cf566f6041aa9a0360494fd8db5ade383a
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < fa306a40e716c5abcd967475459ce1ebd56e5115
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < a713e1b3a265f180ad25a08e17be15d67a2f7149
Status affected
Version 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Version < 47e15a8d12e366d0d261bcbc394394f44418938d
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 2.6.12
Status affected
Version 0
Version < 2.6.12
Status unaffected
Version <= 5.10.*
Version 5.10.270
Status unaffected
Version <= 5.15.*
Version 5.15.221
Status unaffected
Version <= 6.1.*
Version 6.1.188
Status unaffected
Version <= 6.6.*
Version 6.6.157
Status unaffected
Version <= 6.12.*
Version 6.12.109
Status unaffected
Version <= 6.18.*
Version 6.18.50
Status unaffected
Version <= 7.2.*
Version 7.2.4
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.45% 0.38
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/ee3f04cf566f6041aa9a0360494fd8db5ade383a
https://git.kernel.org/stable/c/fa306a40e716c5abcd967475459ce1ebd56e5115
https://git.kernel.org/stable/c/a713e1b3a265f180ad25a08e17be15d67a2f7149
https://git.kernel.org/stable/c/47e15a8d12e366d0d261bcbc394394f44418938d
https://git.kernel.org/stable/c/09c3b193a3e8fe53e1f416e2f8e3283d2a785405
https://git.kernel.org/stable/c/5c0b2dbbdafc9eeeb11fffe1e46551fc3b55d8ee
https://git.kernel.org/stable/c/7d970353eeb98f46a3b9dc602850e4f6336a9889
https://git.kernel.org/stable/c/ed85fe91a61bc0e0da6b585c07102b20f4cc65a0