# CVE-2026-46227: sctp: revalidate list cursor after sctp\_sendmsg\_to\_asoc() in SCTP\_SENDALL

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-416, CWE-362, CWE-367
- **Published:** 2026-05-28T09:40:47.518Z
- **Modified:** 2026-10-19T20:18:38.597Z

## Who should check

- Anyone running Linux \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< f3a3f0b406b4b7eb3cea35a23fa2bf170848b104; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0dbc8cde64280fc37cdd678cced34eaf96cfb197; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0c7b55974f97b78d1109025eadf084e74cbf330f; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 6187a172d6ed57d6b2c327836e4407c6456e639d; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< c9dadb31f36045a8cb65df4bd75e7237ef21a4b5; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< bf0f40d8107e2ce827521968dc6926f3e13728ae; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< abb5f36771cc4c05899b34000829a787572a8817
- Anyone running Linux 4.17

## Description

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 that list\_del an association from ep-\>asocs are
sctp\_association\_free() (which sets asoc-\>base.dead) and
sctp\_assoc\_migrate() (which changes asoc-\>base.sk), and
sctp\_wait\_for\_sndbuf() checks both under the lock before any
successful return; a tripped check propagates as err \< 0 and the loop
bails before the re-derive.

The SCTP\_ABORT path in sctp\_sendmsg\_check\_sflags() returns 0 and the
loop hits 'continue' before sctp\_sendmsg\_to\_asoc() is ever called, so
the @tmp cached by list\_for\_each\_entry\_safe() still covers the
lock-held free that ba59fb027307 ("sctp: walk the list of asoc
safely") was added for.

## Affected and fixed versions

- Linux: \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< f3a3f0b406b4b7eb3cea35a23fa2bf170848b104; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0dbc8cde64280fc37cdd678cced34eaf96cfb197; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0c7b55974f97b78d1109025eadf084e74cbf330f; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 6187a172d6ed57d6b2c327836e4407c6456e639d; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< c9dadb31f36045a8cb65df4bd75e7237ef21a4b5; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< bf0f40d8107e2ce827521968dc6926f3e13728ae; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< abb5f36771cc4c05899b34000829a787572a8817 (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46227. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46227.md
Affected: Linux >= 4910280503f3af2857d5aa77e35b22d93a8960a8, < f3a3f0b406b4b7eb3cea35a23fa2bf170848b104; >= 4910280503f3af2857d5aa77e35b22d93a8960a8, < 0dbc8cde64280fc37cdd678cced34eaf96cfb197; >= 4910280503f3af2857d5aa77e35b22d93a8960a8, < 0c7b55974f97b78d1109025eadf084e74cbf330f; >= 4910280503f3af2857d5aa7…
Fixed in: Linux 0dbc8cde64280fc37cdd678cced34eaf96cfb197, Linux 0c7b55974f97b78d1109025eadf084e74cbf330f, Linux 1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078, Linux 6187a172d6ed57d6b2c327836e4407c6456e639d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46227 being exploited?

There is no confirmed exploitation: CVE-2026-46227 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46227?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46227?

Linux \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< f3a3f0b406b4b7eb3cea35a23fa2bf170848b104; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0dbc8cde64280fc37cdd678cced34eaf96cfb197; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 0c7b55974f97b78d1109025eadf084e74cbf330f; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< 6187a172d6ed57d6b2c327836e4407c6456e639d; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< c9dadb31f36045a8cb65df4bd75e7237ef21a4b5; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< bf0f40d8107e2ce827521968dc6926f3e13728ae; \>= 4910280503f3af2857d5aa77e35b22d93a8960a8, \< abb5f36771cc4c05899b34000829a787572a8817; Linux 4.17.

### Is there a fix for CVE-2026-46227?

Yes. Fixed in Linux 0dbc8cde64280fc37cdd678cced34eaf96cfb197, Linux 0c7b55974f97b78d1109025eadf084e74cbf330f, Linux 1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078, Linux 6187a172d6ed57d6b2c327836e4407c6456e639d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-46227?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:27731>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36956>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26515>
- vendor: <https://access.redhat.com/errata/RHSA-2026:27735>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34094>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36018>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59143>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36349>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59146>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26535>
- vendor: <https://access.redhat.com/errata/RHSA-2026:33899>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26563>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59142>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59147>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59145>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59148>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59149>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36348>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26462>
- patch: <https://git.kernel.org/stable/c/f3a3f0b406b4b7eb3cea35a23fa2bf170848b104>
- patch: <https://git.kernel.org/stable/c/0dbc8cde64280fc37cdd678cced34eaf96cfb197>
- patch: <https://git.kernel.org/stable/c/0c7b55974f97b78d1109025eadf084e74cbf330f>
- patch: <https://git.kernel.org/stable/c/1bfb06ecb00f7fdf35dba8e8f2877346cbe5e078>
- patch: <https://git.kernel.org/stable/c/6187a172d6ed57d6b2c327836e4407c6456e639d>
- patch: <https://git.kernel.org/stable/c/c9dadb31f36045a8cb65df4bd75e7237ef21a4b5>
- patch: <https://git.kernel.org/stable/c/bf0f40d8107e2ce827521968dc6926f3e13728ae>
- patch: <https://git.kernel.org/stable/c/abb5f36771cc4c05899b34000829a787572a8817>
- other: <https://access.redhat.com/security/cve/CVE-2026-46227>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2482564>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46227.json>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46227>

HTML: <https://flawdb.com/CVE-2026-46227> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46227>
