CVE-2026-68315

sctp: validate stream count in sctp_process_strreset_inreq()

State
Published
Severity
7.5 High
Published
Aug 10, 2026
Updated
Oct 19, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

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

sctp: validate stream count in sctp_process_strreset_inreq()

When processing a RESET_IN_REQUEST from a peer, sctp_process_strreset_inreq() derives the stream count from the parameter length but does not check whether the resulting RESET_OUT_REQUEST would exceed SCTP_MAX_CHUNK_LEN.

The OUT request header (sctp_strreset_outreq, 16 bytes) is 8 bytes larger than the IN request header (sctp_strreset_inreq, 8 bytes). Generally, the IP payload is bounded to 65535 bytes, so the stream list cannot be large enough to trigger the overflow. However, on interfaces with MTU > 65535 (e.g., loopback with IPv6 jumbograms), a stream list that fits within the incoming IN parameter can cause a __u16 overflow in sctp_make_strreset_req() when computing the OUT request size, leading to an undersized skb allocation and a kernel BUG:

net/core/skbuff.c:207 skb_panic net/core/skbuff.c:2625 skb_put net/sctp/sm_make_chunk.c:1535 sctp_addto_chunk net/sctp/sm_make_chunk.c:3695 sctp_make_strreset_req net/sctp/stream.c:655 sctp_process_strreset_inreq

The local setsockopt path validates the generated reset request size. However, for an incoming-only reset, it accounts for the smaller IN request even though the peer must generate an OUT request with the same stream list. Such a request cannot be completed successfully by the peer.

Reject peer IN requests whose corresponding OUT request would exceed SCTP_MAX_CHUNK_LEN. Also tighten the local check so it does not send an IN request that would require an oversized OUT request from the peer.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 61327d8e7cfb0259d527be17202630f556213249Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 7cf7439948e3bf639119119922c88ec190874ca3Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 60c47dea5d320d2fc706e9aad1db38a04df0a056Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before b255d8cd6cc68045ae9eecbac3b3c14e1f176c9bAffected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 6f0e39d180cd7cced647381b6fa14fd83d261047Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 1a10fe1aa9c01f41b389a31906a77d538637c9d9Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 00ae679cb21a035491fdad8d58dc6d79cc68b675Affected
  • 7f9d68ac944e24ee5f9ac8d059ca00b1c1d34137 to before 18ae07691d43183d270de8be9dc8e027906015d9Affected
LinuxLinux
  • 4.11Affected
  • before 4.11Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.