Skip to content
Heist/ feed
Critical

sctp: purge outqueue on stale COOKIE-ECHO handling

Type: advisorySource: Official CVE List1 source record

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

Announced Source revision 1
Original source ↗

CVE-2026-52924

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-52924

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "84b7a319105db2f917ccdcf502bdc866082b1285",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "f46e1d1a758878f0d22c4fbbd1bf42bb7165d1e8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "3c0741a441a7df7099d7ca6a64a6a0de09c677c8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "2afc9e684dc7fecf73db1edc937ebbc47b4b68dc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "1d4652f677906a64487c13f9ace54b0eb263b5d0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "a6207349e703cfc04756a4d16dec9176135813a5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "83ade59e5da365f4bf8bce72c5a38774202b442f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5bbbbe32a43199c2b9ea5ea66fab6241c64beb51",
        "lessThan": "e374b22e9b07b72a25909621464ff74096151bfb",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/sctp/sm_statefuns.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.15",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.259",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.210",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.176",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.143",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.94",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.36",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.13",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/sctp/sm_statefuns.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-52924

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#40695 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement