CVE-2026-52924CWE-416CWE-825

CVE-2026-52924

Critical · published June 24, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
43.8
In the wild
Unconfirmed
What it is

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

sctp: purge outqueue on stale COOKIE-ECHO handling

sctp_stream_update() is only invoked when the association is moved into

COOKIE_WAIT during association setup/reconfiguration. In this path, the

outbound stream scheduler state (stream->out_curr) is expected to be

clean, since no user data should have been transmitted yet unless the

state machine has already partially progressed.

However, a corner case exists in sctp_sf_do_5_2_6_stale(): when a

Stale Cookie ERROR is received, the association is rolled back from

COOKIE_ECHOED to COOKIE_WAIT. In this scenario, user data may already

have been queued and even bundled with the COOKIE-ECHO chunk.

During the rollback, sctp_stream_update() frees the old stream table

and installs a new one, but it does not invalidate stream->out_curr.

As a result, out_curr may still point to a freed sctp_stream_out

entry from the previous stream state.

Later, SCTP scheduler dequeue paths (FCFS, RR, PRIO, etc.) rely on

stream->out_curr->ext, which can lead to use-after-free once the old

stream state has been released via sctp_stream_free().

This results in crashes such as (reported by Yuqi):

BUG: KASAN: slab-use-after-free in sctp_sched_fcfs_dequeue+0x13a/0x140

Read of size 8 at addr ff1100004d4d3208 by task mini_poc/9312

CPU: 1 UID: 1001 PID: 9312 Comm: mini_poc Not tainted

7.1.0-rc1-00305-gbd3a4795d574 #5 PREEMPT(full)

sctp_sched_fcfs_dequeue+0x13a/0x140

sctp_outq_flush+0x1603/0x33e0

sctp_do_sm+0x31c9/0x5d30

sctp_assoc_bh_rcv+0x392/0x6f0

sctp_inq_push+0x1db/0x270

sctp_rcv+0x138d/0x3c10

Fix this by fully purging the association outqueue when handling the

Stale Cookie case. This ensures all pending transmit and retransmit

state is dropped, and any scheduler cached pointers are invalidated,

making it safe to rebuild stream state during COOKIE_WAIT restart.

Updating only stream->out_curr would be insufficient, since queued

and retransmittable data would still reference the old stream state and

trigger later use-after-free in dequeue paths.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00526 · 43.8th percentile
Weaknesses
CWE-416 · Use After Free; CWE-825 · Expired Pointer Dereference
Published
2026-06-24T12:16Z
Affected products (13)
ProductVersionsFixed in
linux/linux_kernel≥ 4.15, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1766.1.176
linux/linux_kernel≥ 6.2, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.12.946.12.94
linux/linux_kernel≥ 6.13, < 6.18.366.18.36
linux/linux_kernel≥ 6.19, < 7.0.137.0.13
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (15)
https://git.kernel.org/stable/c/1d4652f677906a64487c13f9ace54b0eb263b5d0 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2afc9e684dc7fecf73db1edc937ebbc47b4b68dc · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3c0741a441a7df7099d7ca6a64a6a0de09c677c8 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/83ade59e5da365f4bf8bce72c5a38774202b442f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/84b7a319105db2f917ccdcf502bdc866082b1285 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a6207349e703cfc04756a4d16dec9176135813a5 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e374b22e9b07b72a25909621464ff74096151bfb · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://access.redhat.com/errata/RHSA-2026:59723 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:59737 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:59821 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:67471 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/security/cve/CVE-2026-52924 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://bugzilla.redhat.com/show_bug.cgi?id=2492095 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52924.json · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
EPSS history
Timeline
  • 24 JUN 07:14Z
    sctp: purge outqueue on stale COOKIE-ECHO handling
    cvelistv5