# CVE-2023-53296: sctp: check send stream number after wait\_for\_sndbuf

> 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, CNA) `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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-16T08:11:28.519Z
- **Modified:** 2026-06-17T06:44:46.340Z

## Who should check

- Anyone running Linux \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 9346a1a21142357972a6f466ba6275ddc54b04ac; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 0443fff49d6352160c200064156c25898bd9f58c; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< b4b6dfad41aaae9e36e44327b18d5cf4b20dd2ce; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< d2128636b303aa9cf065055402ee6697409a8837; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< a615e7270318fa0b98bf1ff38daf6cf52d840312; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 2584024b23552c00d95b50255e47bd18d306d31a
- Anyone running Linux 4.15

## Description

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

sctp: check send stream number after wait\_for\_sndbuf

This patch fixes a corner case where the asoc out stream count may change
after wait\_for\_sndbuf.

When the main thread in the client starts a connection, if its out stream
count is set to N while the in stream count in the server is set to N - 2,
another thread in the client keeps sending the msgs with stream number
N - 1, and waits for sndbuf before processing INIT\_ACK.

However, after processing INIT\_ACK, the out stream count in the client is
shrunk to N - 2, the same to the in stream count in the server. The crash
occurs when the thread waiting for sndbuf is awake and sends the msg in a
non-existing stream(N - 1), the call trace is as below:

  KASAN: null-ptr-deref in range \[0x0000000000000038-0x000000000000003f\]
  Call Trace:
   \<TASK\>
   sctp\_cmd\_send\_msg net/sctp/sm\_sideeffect.c:1114 \[inline\]
   sctp\_cmd\_interpreter net/sctp/sm\_sideeffect.c:1777 \[inline\]
   sctp\_side\_effects net/sctp/sm\_sideeffect.c:1199 \[inline\]
   sctp\_do\_sm+0x197d/0x5310 net/sctp/sm\_sideeffect.c:1170
   sctp\_primitive\_SEND+0x9f/0xc0 net/sctp/primitive.c:163
   sctp\_sendmsg\_to\_asoc+0x10eb/0x1a30 net/sctp/socket.c:1868
   sctp\_sendmsg+0x8d4/0x1d90 net/sctp/socket.c:2026
   inet\_sendmsg+0x9d/0xe0 net/ipv4/af\_inet.c:825
   sock\_sendmsg\_nosec net/socket.c:722 \[inline\]
   sock\_sendmsg+0xde/0x190 net/socket.c:745

The fix is to add an unlikely check for the send stream number after the
thread wakes up from the wait\_for\_sndbuf.

## Affected and fixed versions

- Linux: \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 9346a1a21142357972a6f466ba6275ddc54b04ac; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 0443fff49d6352160c200064156c25898bd9f58c; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< b4b6dfad41aaae9e36e44327b18d5cf4b20dd2ce; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< d2128636b303aa9cf065055402ee6697409a8837; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< a615e7270318fa0b98bf1ff38daf6cf52d840312; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 2584024b23552c00d95b50255e47bd18d306d31a (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 2584024b23552c00d95b50255e47bd18d306d31a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53296.md
Affected: Linux >= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, < 9346a1a21142357972a6f466ba6275ddc54b04ac; >= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, < 0443fff49d6352160c200064156c25898bd9f58c; >= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, < b4b6dfad41aaae9e36e44327b18d5cf4b20dd2ce; >= 5bbbbe32a43199c2b9ea5ea…
Fixed in: Linux 9346a1a21142357972a6f466ba6275ddc54b04ac, Linux 0443fff49d6352160c200064156c25898bd9f58c, Linux 667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f, Linux 2584024b23552c00d95b50255e47bd18d306d31a

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-2023-53296 being exploited?

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

### How serious is CVE-2023-53296?

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

### Which versions are affected by CVE-2023-53296?

Linux \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 9346a1a21142357972a6f466ba6275ddc54b04ac; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 0443fff49d6352160c200064156c25898bd9f58c; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< b4b6dfad41aaae9e36e44327b18d5cf4b20dd2ce; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< d2128636b303aa9cf065055402ee6697409a8837; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< a615e7270318fa0b98bf1ff38daf6cf52d840312; \>= 5bbbbe32a43199c2b9ea5ea66fab6241c64beb51, \< 2584024b23552c00d95b50255e47bd18d306d31a; Linux 4.15.

### Is there a fix for CVE-2023-53296?

Yes. Fixed in Linux 9346a1a21142357972a6f466ba6275ddc54b04ac, Linux 0443fff49d6352160c200064156c25898bd9f58c, Linux 667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f, Linux 2584024b23552c00d95b50255e47bd18d306d31a. Upgrade Linux to 2584024b23552c00d95b50255e47bd18d306d31a or later.

### How do I check if I'm affected by CVE-2023-53296?

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/9346a1a21142357972a6f466ba6275ddc54b04ac>
- patch: <https://git.kernel.org/stable/c/0443fff49d6352160c200064156c25898bd9f58c>
- patch: <https://git.kernel.org/stable/c/b4b6dfad41aaae9e36e44327b18d5cf4b20dd2ce>
- patch: <https://git.kernel.org/stable/c/667eb99cf7c15fe5b0ecefe75cf658e20ef20c9f>
- patch: <https://git.kernel.org/stable/c/d2128636b303aa9cf065055402ee6697409a8837>
- patch: <https://git.kernel.org/stable/c/a615e7270318fa0b98bf1ff38daf6cf52d840312>
- patch: <https://git.kernel.org/stable/c/2584024b23552c00d95b50255e47bd18d306d31a>

## 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-2023-53296>

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