Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-52924— sctp: purge outqueue on stale COOKIE-ECHO handling

EPSS 0.17% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-52924

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
sctp: purge outqueue on stale COOKIE-ECHO handling
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 ~ 84b7a319105db2f917ccdcf502bdc866082b1285 -
LinuxLinux 4.15 -

II. Public POCs for CVE-2026-52924

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-52924

登录查看更多情报信息。

Patches & Fixes for CVE-2026-52924 (3)

Other References for CVE-2026-52924 (5)

Same Patch Batch · Linux · 2026-06-24 · 219 CVEs total

CVE-2026-52979net: psp: check for device unregister when creating assoc
CVE-2026-52992fs/adfs: validate nzones in adfs_validate_bblk()
CVE-2026-52993tipc: fix double-free in tipc_buf_append()
CVE-2026-52991sched/psi: fix race between file release and pressure write
CVE-2026-52990fsnotify: fix inode reference leak in fsnotify_recalc_mask()
CVE-2026-52988netfilter: nf_tables: join hook list via splice_list_rcu() in commit phase
CVE-2026-52989nvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers
CVE-2026-52987drm/amdgpu: avoid double drm_exec_fini() in userq validate
CVE-2026-52986netfilter: nf_conntrack_sip: don't use simple_strtoul
CVE-2026-52985netdevsim: zero initialize struct iphdr in dummy sk_buff
CVE-2026-52984net/sched: netem: fix queue limit check to include reordered packets
CVE-2026-52982net: usb: rtl8150: fix use-after-free in rtl8150_start_xmit()
CVE-2026-52983net: airoha: fix BQL imbalance in TX path
CVE-2026-52981neigh: let neigh_xmit take skb ownership
CVE-2026-52969KVM: Reject wrapped offset in kvm_reset_dirty_gfn()
CVE-2026-52971net: ena: PHC: Fix potential use-after-free in get_timestamp
CVE-2026-52972crypto: af_alg - Cap AEAD AD length to 0x80000000
CVE-2026-52970netfilter: nft_ct: fix missing expect put in obj eval
CVE-2026-52973futex: Drop CLONE_THREAD requirement for private default hash alloc
CVE-2026-52968KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic

Showing top 20 of 219 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-52924

No comments yet


Leave a comment