# CVE-2026-23125: sctp: move SCTP\_CMD\_ASSOC\_SHKEY right after SCTP\_CMD\_PEER\_INIT

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-02-14T15:09:54.756Z
- **Modified:** 2026-10-19T19:17:38.210Z

## Who should check

- Anyone running Linux \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 5a309bedf02ee08b0653215f06c94d61ec7a214a; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 784428ab1889eb185a1459e9d6bc52df33d572ef; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e94294798548e8cfbd80869e1d2f97efce92582c; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e7e81abbcc5620c9532080538f9709a6ea382855; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< bf2b543b3cc4ebb4ab5bca4f8dfa5612035d45b8; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< a80c9d945aef55b23b54838334345f20251dad83
- Anyone running Linux 2.6.24

## Description

In the Linux kernel, the following vulnerability has been resolved:

sctp: move SCTP\_CMD\_ASSOC\_SHKEY right after SCTP\_CMD\_PEER\_INIT

A null-ptr-deref was reported in the SCTP transmit path when SCTP-AUTH key
initialization fails:

  ==================================================================
  KASAN: null-ptr-deref in range \[0x0000000000000018-0x000000000000001f\]
  CPU: 0 PID: 16 Comm: ksoftirqd/0 Tainted: G W 6.6.0 \#2
  RIP: 0010:sctp\_packet\_bundle\_auth net/sctp/output.c:264 \[inline\]
  RIP: 0010:sctp\_packet\_append\_chunk+0xb36/0x1260 net/sctp/output.c:401
  Call Trace:

  sctp\_packet\_transmit\_chunk+0x31/0x250 net/sctp/output.c:189
  sctp\_outq\_flush\_data+0xa29/0x26d0 net/sctp/outqueue.c:1111
  sctp\_outq\_flush+0xc80/0x1240 net/sctp/outqueue.c:1217
  sctp\_cmd\_interpreter.isra.0+0x19a5/0x62c0 net/sctp/sm\_sideeffect.c:1787
  sctp\_side\_effects net/sctp/sm\_sideeffect.c:1198 \[inline\]
  sctp\_do\_sm+0x1a3/0x670 net/sctp/sm\_sideeffect.c:1169
  sctp\_assoc\_bh\_rcv+0x33e/0x640 net/sctp/associola.c:1052
  sctp\_inq\_push+0x1dd/0x280 net/sctp/inqueue.c:88
  sctp\_rcv+0x11ae/0x3100 net/sctp/input.c:243
  sctp6\_rcv+0x3d/0x60 net/sctp/ipv6.c:1127

The issue is triggered when sctp\_auth\_asoc\_init\_active\_key() fails in
sctp\_sf\_do\_5\_1C\_ack() while processing an INIT\_ACK. In this case, the
command sequence is currently:

- SCTP\_CMD\_PEER\_INIT
- SCTP\_CMD\_TIMER\_STOP (T1\_INIT)
- SCTP\_CMD\_TIMER\_START (T1\_COOKIE)
- SCTP\_CMD\_NEW\_STATE (COOKIE\_ECHOED)
- SCTP\_CMD\_ASSOC\_SHKEY
- SCTP\_CMD\_GEN\_COOKIE\_ECHO

If SCTP\_CMD\_ASSOC\_SHKEY fails, asoc-\>shkey remains NULL, while
asoc-\>peer.auth\_capable and asoc-\>peer.peer\_chunks have already been set by
SCTP\_CMD\_PEER\_INIT. This allows a DATA chunk with auth = 1 and shkey = NULL
to be queued by sctp\_datamsg\_from\_user().

Since command interpretation stops on failure, no COOKIE\_ECHO should been
sent via SCTP\_CMD\_GEN\_COOKIE\_ECHO. However, the T1\_COOKIE timer has already
been started, and it may enqueue a COOKIE\_ECHO into the outqueue later. As
a result, the DATA chunk can be transmitted together with the COOKIE\_ECHO
in sctp\_outq\_flush\_data(), leading to the observed issue.

Similar to the other places where it calls sctp\_auth\_asoc\_init\_active\_key()
right after sctp\_process\_init(), this patch moves the SCTP\_CMD\_ASSOC\_SHKEY
immediately after SCTP\_CMD\_PEER\_INIT, before stopping T1\_INIT and starting
T1\_COOKIE. This ensures that if shared key generation fails, authenticated
DATA cannot be sent. It also allows the T1\_INIT timer to retransmit INIT,
giving the client another chance to process INIT\_ACK and retry key setup.

## Affected and fixed versions

- Linux: \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 5a309bedf02ee08b0653215f06c94d61ec7a214a; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 784428ab1889eb185a1459e9d6bc52df33d572ef; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e94294798548e8cfbd80869e1d2f97efce92582c; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e7e81abbcc5620c9532080538f9709a6ea382855; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< bf2b543b3cc4ebb4ab5bca4f8dfa5612035d45b8; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< a80c9d945aef55b23b54838334345f20251dad83 (cvelist)
- Linux: 2.6.24 (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-23125. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23125.md
Affected: Linux >= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, < 5a309bedf02ee08b0653215f06c94d61ec7a214a; >= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, < 784428ab1889eb185a1459e9d6bc52df33d572ef; >= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, < e94294798548e8cfbd80869e1d2f97efce92582c; >= 730fc3d05cd4ba4c9ce2de9…
Fixed in: Linux 5a309bedf02ee08b0653215f06c94d61ec7a214a, Linux 784428ab1889eb185a1459e9d6bc52df33d572ef, Linux 0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65

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-23125 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 5a309bedf02ee08b0653215f06c94d61ec7a214a; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 784428ab1889eb185a1459e9d6bc52df33d572ef; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e94294798548e8cfbd80869e1d2f97efce92582c; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< e7e81abbcc5620c9532080538f9709a6ea382855; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< bf2b543b3cc4ebb4ab5bca4f8dfa5612035d45b8; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< 0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65; \>= 730fc3d05cd4ba4c9ce2de91f3d43349e95dbbf5, \< a80c9d945aef55b23b54838334345f20251dad83; Linux 2.6.24.

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

Yes. Fixed in Linux 5a309bedf02ee08b0653215f06c94d61ec7a214a, Linux 784428ab1889eb185a1459e9d6bc52df33d572ef, Linux 0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/5a309bedf02ee08b0653215f06c94d61ec7a214a>
- patch: <https://git.kernel.org/stable/c/784428ab1889eb185a1459e9d6bc52df33d572ef>
- patch: <https://git.kernel.org/stable/c/e94294798548e8cfbd80869e1d2f97efce92582c>
- patch: <https://git.kernel.org/stable/c/e7e81abbcc5620c9532080538f9709a6ea382855>
- patch: <https://git.kernel.org/stable/c/bf2b543b3cc4ebb4ab5bca4f8dfa5612035d45b8>
- patch: <https://git.kernel.org/stable/c/0c4adb1f391a7b92a0405e9d7c05624c0d9f8a65>
- patch: <https://git.kernel.org/stable/c/a80c9d945aef55b23b54838334345f20251dad83>

## 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-23125>

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