{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52924: sctp: purge outqueue on stale COOKIE-ECHO handling","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52924","status":"final","version":"1","initial_release_date":"2026-06-24T07:14:18.646Z","current_release_date":"2026-06-28T06:36:46.646Z","revision_history":[{"date":"2026-06-24T07:14:18.646Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: purge outqueue on stale COOKIE-ECHO handling\n\nsctp_stream_update() is only invoked when the association is moved into\nCOOKIE_WAIT during association setup/reconfiguration. In this path, the\noutbound stream scheduler state (stream->out_curr) is expected to be\nclean, since no user data should have been transmitted yet unless the\nstate machine has already partially progressed.\n\nHowever, a corner case exists in sctp_sf_do_5_2_6_stale(): when a\nStale Cookie ERROR is received, the association is rolled back from\nCOOKIE_ECHOED to COOKIE_WAIT. In this scenario, user data may already\nhave been queued and even bundled with the COOKIE-ECHO chunk.\n\nDuring the rollback, sctp_stream_update() frees the old stream table\nand installs a new one, but it does not invalidate stream->out_curr.\nAs a result, out_curr may still point to a freed sctp_stream_out\nentry from the previous stream state.\n\nLater, SCTP scheduler dequeue paths (FCFS, RR, PRIO, etc.) rely on\nstream->out_curr->ext, which can lead to use-after-free once the old\nstream state has been released via sctp_stream_free().\n\nThis results in crashes such as (reported by Yuqi):\n\n  BUG: KASAN: slab-use-after-free in sctp_sched_fcfs_dequeue+0x13a/0x140\n  Read of size 8 at addr ff1100004d4d3208 by task mini_poc/9312\n  CPU: 1 UID: 1001 PID: 9312 Comm: mini_poc Not tainted\n     7.1.0-rc1-00305-gbd3a4795d574 #5 PREEMPT(full)\n   sctp_sched_fcfs_dequeue+0x13a/0x140\n   sctp_outq_flush+0x1603/0x33e0\n   sctp_do_sm+0x31c9/0x5d30\n   sctp_assoc_bh_rcv+0x392/0x6f0\n   sctp_inq_push+0x1db/0x270\n   sctp_rcv+0x138d/0x3c10\n\nFix this by fully purging the association outqueue when handling the\nStale Cookie case. This ensures all pending transmit and retransmit\nstate is dropped, and any scheduler cached pointers are invalidated,\nmaking it safe to rebuild stream state during COOKIE_WAIT restart.\n\nUpdating only stream->out_curr would be insufficient, since queued\nand retransmittable data would still reference the old stream state and\ntrigger later use-after-free in dequeue paths.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52924 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52924"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52924"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/84b7a319105db2f917ccdcf502bdc866082b1285"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/3c0741a441a7df7099d7ca6a64a6a0de09c677c8"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/2afc9e684dc7fecf73db1edc937ebbc47b4b68dc"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/1d4652f677906a64487c13f9ace54b0eb263b5d0"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/a6207349e703cfc04756a4d16dec9176135813a5"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/83ade59e5da365f4bf8bce72c5a38774202b442f"},{"category":"external","summary":"git.kernel.org","url":"https://git.kernel.org/stable/c/e374b22e9b07b72a25909621464ff74096151bfb"}]},"product_tree":{"branches":[{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <84b7a319105db2f917ccdcf502bdc866082b1285","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <84b7a319105db2f917ccdcf502bdc866082b1285","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <3c0741a441a7df7099d7ca6a64a6a0de09c677c8","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <3c0741a441a7df7099d7ca6a64a6a0de09c677c8","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <2afc9e684dc7fecf73db1edc937ebbc47b4b68dc","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <2afc9e684dc7fecf73db1edc937ebbc47b4b68dc","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <1d4652f677906a64487c13f9ace54b0eb263b5d0","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <1d4652f677906a64487c13f9ace54b0eb263b5d0","product_id":"CSAFPID-5","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <a6207349e703cfc04756a4d16dec9176135813a5","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <a6207349e703cfc04756a4d16dec9176135813a5","product_id":"CSAFPID-6","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <83ade59e5da365f4bf8bce72c5a38774202b442f","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <83ade59e5da365f4bf8bce72c5a38774202b442f","product_id":"CSAFPID-7","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <e374b22e9b07b72a25909621464ff74096151bfb","product":{"name":"Linux Linux >=5bbbbe32a43199c2b9ea5ea66fab6241c64beb51 <e374b22e9b07b72a25909621464ff74096151bfb","product_id":"CSAFPID-8","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*"}}}]}]},{"category":"vendor","name":"Linux","branches":[{"category":"product_name","name":"Linux","branches":[{"category":"product_version","name":"4.15","product":{"name":"Linux Linux 4.15","product_id":"CSAFPID-9","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0","product":{"name":"Linux Linux 0","product_id":"CSAFPID-10","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.10.259","product":{"name":"Linux Linux 5.10.259","product_id":"CSAFPID-11","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"5.15.210","product":{"name":"Linux Linux 5.15.210","product_id":"CSAFPID-12","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.1.176","product":{"name":"Linux Linux 6.1.176","product_id":"CSAFPID-13","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.6.143","product":{"name":"Linux Linux 6.6.143","product_id":"CSAFPID-14","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.12.94","product":{"name":"Linux Linux 6.12.94","product_id":"CSAFPID-15","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"6.18.36","product":{"name":"Linux Linux 6.18.36","product_id":"CSAFPID-16","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.13","product":{"name":"Linux Linux 7.0.13","product_id":"CSAFPID-17","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.1","product":{"name":"Linux Linux 7.1","product_id":"CSAFPID-18","product_identification_helper":{"cpe":"cpe:2.3:a:linux:linux:4.15:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52924","title":"sctp: purge outqueue on stale COOKIE-ECHO handling","notes":[{"category":"description","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: purge outqueue on stale COOKIE-ECHO handling\n\nsctp_stream_update() is only invoked when the association is moved into\nCOOKIE_WAIT during association setup/reconfiguration. In this path, the\noutbound stream scheduler state (stream->out_curr) is expected to be\nclean, since no user data should have been transmitted yet unless the\nstate machine has already partially progressed.\n\nHowever, a corner case exists in sctp_sf_do_5_2_6_stale(): when a\nStale Cookie ERROR is received, the association is rolled back from\nCOOKIE_ECHOED to COOKIE_WAIT. In this scenario, user data may already\nhave been queued and even bundled with the COOKIE-ECHO chunk.\n\nDuring the rollback, sctp_stream_update() frees the old stream table\nand installs a new one, but it does not invalidate stream->out_curr.\nAs a result, out_curr may still point to a freed sctp_stream_out\nentry from the previous stream state.\n\nLater, SCTP scheduler dequeue paths (FCFS, RR, PRIO, etc.) rely on\nstream->out_curr->ext, which can lead to use-after-free once the old\nstream state has been released via sctp_stream_free().\n\nThis results in crashes such as (reported by Yuqi):\n\n  BUG: KASAN: slab-use-after-free in sctp_sched_fcfs_dequeue+0x13a/0x140\n  Read of size 8 at addr ff1100004d4d3208 by task mini_poc/9312\n  CPU: 1 UID: 1001 PID: 9312 Comm: mini_poc Not tainted\n     7.1.0-rc1-00305-gbd3a4795d574 #5 PREEMPT(full)\n   sctp_sched_fcfs_dequeue+0x13a/0x140\n   sctp_outq_flush+0x1603/0x33e0\n   sctp_do_sm+0x31c9/0x5d30\n   sctp_assoc_bh_rcv+0x392/0x6f0\n   sctp_inq_push+0x1db/0x270\n   sctp_rcv+0x138d/0x3c10\n\nFix this by fully purging the association outqueue when handling the\nStale Cookie case. This ensures all pending transmit and retransmit\nstate is dropped, and any scheduler cached pointers are invalidated,\nmaking it safe to rebuild stream state during COOKIE_WAIT restart.\n\nUpdating only stream->out_curr would be insufficient, since queued\nand retransmittable data would still reference the old stream state and\ntrigger later use-after-free in dequeue paths.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"],"fixed":["CSAFPID-10","CSAFPID-11","CSAFPID-12","CSAFPID-13","CSAFPID-14","CSAFPID-15","CSAFPID-16","CSAFPID-17","CSAFPID-18"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0, 1d4652f677906a64487c13f9ace54b0eb263b5d0, 2afc9e684dc7fecf73db1edc937ebbc47b4b68dc, 3c0741a441a7df7099d7ca6a64a6a0de09c677c8, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1, 83ade59e5da365f4bf8bce72c5a38774202b442f, 84b7a319105db2f917ccdcf502bdc866082b1285, a6207349e703cfc04756a4d16dec9176135813a5, e374b22e9b07b72a25909621464ff74096151bfb, f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8.","product_ids":["CSAFPID-1","CSAFPID-2","CSAFPID-3","CSAFPID-4","CSAFPID-5","CSAFPID-6","CSAFPID-7","CSAFPID-8","CSAFPID-9"]}]}]}