Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-52924

sctp: purge outqueue on stale COOKIE-ECHO handling
Back to all
CVE

CVE-2026-52924

sctp: purge outqueue on stale COOKIE-ECHO handling

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

sctp: purge outqueue on stale COOKIE-ECHO handling

sctpstreamupdate() 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 sctpsfdo526stale(): when a

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

COOKIEECHOED to COOKIEWAIT. In this scenario, user data may already

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

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

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

As a result, outcurr may still point to a freed sctpstream_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 sctpstreamfree().

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

  BUG: KASAN: slab-use-after-free in sctpschedfcfs_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)

   sctpschedfcfs_dequeue+0x13a/0x140

   sctpoutqflush+0x1603/0x33e0

   sctpdosm+0x31c9/0x5d30

   sctpassocbh_rcv+0x392/0x6f0

   sctpinqpush+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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/1d4652f677906a64487c13f9ace54b0eb263b5d0, https://git.kernel.org/stable/c/2afc9e684dc7fecf73db1edc937ebbc47b4b68dc, https://git.kernel.org/stable/c/3c0741a441a7df7099d7ca6a64a6a0de09c677c8, https://git.kernel.org/stable/c/83ade59e5da365f4bf8bce72c5a38774202b442f, https://git.kernel.org/stable/c/84b7a319105db2f917ccdcf502bdc866082b1285, https://git.kernel.org/stable/c/a6207349e703cfc04756a4d16dec9176135813a5, https://git.kernel.org/stable/c/e374b22e9b07b72a25909621464ff74096151bfb, https://git.kernel.org/stable/c/f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8, https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52924.json, https://access.redhat.com/security/cve/CVE-2026-52924, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52924.json, https://nvd.nist.gov/vuln/detail/CVE-2026-52924, https://bugzilla.redhat.com/show_bug.cgi?id=2492095, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00331%
EPSS Percentile
0.26202%
Introduced Version
5bbbbe32a43199c2b9ea5ea66fab6241c64beb51,4.15.0,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
e374b22e9b07b72a25909621464ff74096151bfb,5.10.259,5.15.210,6.1.176,6.6.143,6.12.94,6.18.36,7.0.13,6.1.176-1,5.10.259-1,6.1.176-1~deb11u1,6.12.94-1,4.15.0-254.266,4.15.0-1195.208,5.4.0-1162.173~18.04.1,4.15.0-1205.220,4.15.0-1188.205,5.4.0-1165.174~18.04.1,5.4.0-234.254~18.04.1,5.4.0-1108.113~18.04.1,4.15.0-1177.182,4.15.0-1158.169,5.4.0-1145.158~18.04.1,5.4.0-234.254,5.4.0-1162.173,5.4.0-1167.173,5.15.0-1119.128~20.04.1,5.15.0-1118.127~20.04.1,5.4.0-1121.128,5.4.0-1165.174,5.15.0-190.200~20.04.1,5.4.0-1108.113,5.15.0-1107.111~20.04.1,5.15.0-1108.114~20.04.1,5.4.0-1066.69,5.15.0-1065.67~20.04.1,5.4.0-1160.170,5.15.0-1110.116~20.04.1,5.4.0-1145.158,5.4.0-1080.84,6.8.0-137.137,6.8.0-1062.65,7.0.0-1010.10~24.04.1,6.8.0-1064.72,6.17.0-1022.22,6.8.0-1063.70,6.8.0-1065.73,6.17.0-1022.25,6.8.0-1060.68,6.8.0-1047.51,6.17.0-42.42,7.0.0-29.29~24.04.2,6.8.0-1062.63,6.8.0-137.137.1,6.8.0-1060.63,7.0.0-1016.16~24.04.1,6.8.0-1060.63.1,6.8.0-1031.32,6.17.0-1032.32,6.8.0-1059.62,6.17.0-1020.20,6.8.0-1034.35,5.15.0-187.197,5.15.0-1113.120,6.8.0-1062.65~22.04.2,5.15.0-1118.127,6.8.0-1064.72~22.04.1,6.8.0-1063.70~22.04.1,5.15.0-1114.124,6.8.0-1065.73~22.04.1,5.15.0-1096.104,6.8.0-138.138~22.04.1,5.15.0-1107.111,6.8.0-1062.63~22.04.1,5.15.0-1108.114,5.15.0-1105.110,6.8.0-137.137.1~22.04.1,5.15.0-1108.109,6.8.0-1060.63~22.04.1,5.15.0-1065.67,5.15.0-1054.54,5.15.0-1110.116,6.8.0-1059.62~22.04.1,6.8.0-137.137~22.04.1,5.15.0-1076.80,0:5.10.259-258.1043.amzn2,0:1.0-0.amzn2,0:5.15.210-148.245.amzn2,1:6.1.176-220.358.amzn2023,1:1.0-0.amzn2023,1:6.18.36-69.134.amzn2023,1:6.12.94-123.174.amzn2023,6.18.38-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading