Skip to content
Heist/ feed
High

sctp: revalidate list cursor after sctp_sendmsg_to_asoc() in SCTP_SENDALL

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: sctp: revalidate list cursor after sctp_sendmsg_to_asoc() in SCTP_SENDALL The SCTP_SENDALL path in sctp_sendmsg() iterates ep->asocs with list_for_each_entry_safe(), which caches the next entry in @tmp before the loop body runs. The body calls sctp_sendmsg_to_asoc(), which may drop the socket lock inside sctp_wait_for_sndbuf(). While the lock is dropped, another thread can SCTP_SOCKOPT_PEELOFF the association cached in @tmp, migrating it to a new endpoint via sctp_sock_migrate() (list_del_init() + list_add_tail() to newep->asocs), and optionally close the new socket which frees the association via kfree_rcu(). The cached @tmp can also be freed by a network ABORT for that association, processed in softirq while the lock is dropped. sctp_wait_for_sndbuf() revalidates @asoc (the current entry) on re-lock via the "sk != asoc->base.sk" and "asoc->base.dead" checks, but nothing revalidates @tmp. After a successful return, the iterator advances to the stale @tmp, yielding either a use-after-free (if the peeled socket was closed) or a list-walk onto the new endpoint's list head (type confusion of &newep->asocs as a struct sctp_association *). Both are reachable from CapEff=0; the type-confusion path gives controlled indirect call via the outqueue.sched->init_sid pointer. Fix by re-deriving @tmp from @asoc after sctp_sendmsg_to_asoc() returns. @asoc is known to still be on ep->asocs at that point: the only callers tha

Announced Group revision 1
Original source ↗

CVE-2026-46227

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-46227

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": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "f3a3f0b406b4b7eb3cea35a23fa2bf170848b104",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "0dbc8cde64280fc37cdd678cced34eaf96cfb197",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "0c7b55974f97b78d1109025eadf084e74cbf330f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "6187a172d6ed57d6b2c327836e4407c6456e639d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "c9dadb31f36045a8cb65df4bd75e7237ef21a4b5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "bf0f40d8107e2ce827521968dc6926f3e13728ae",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4910280503f3af2857d5aa77e35b22d93a8960a8",
        "lessThan": "abb5f36771cc4c05899b34000829a787572a8817",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/sctp/socket.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.17"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.17",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.258",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.209",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.175",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.140",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.90",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.32",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/sctp/socket.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-46227

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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