CVE-2026-68376

sctp: fix auth_hmacs array size in struct sctp_cookie

State
Published
Severity
8.1 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: fix auth_hmacs array size in struct sctp_cookie

The auth_hmacs array in struct sctp_cookie is supposed to store a complete SCTP_AUTH_HMAC_ALGO parameter, which consists of a struct sctp_paramhdr followed by N HMAC identifiers.

However, the array size was calculated using an extra 2 bytes instead of sizeof(struct sctp_paramhdr), which is 4 bytes. When four HMAC identifiers are configured, the HMAC-ALGO parameter stored in the endpoint is larger than the auth_hmacs buffer in the cookie.

As a result, sctp_association_init() copies beyond the end of auth_hmacs when initializing the association, corrupting the adjacent auth_chunks field. This can lead to an invalid HMAC identifier being accepted and later cause an out-of-bounds read in sctp_auth_get_hmac().

Fix the array size calculation by including the full SCTP parameter header size.

Scores

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

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1f485649f52929d9937b346a920a522a7363e202 to before 317731d01b03c529809df36d3a7d149677a8729dAffected
  • 1f485649f52929d9937b346a920a522a7363e202 to before 0528485f27016a42804abe01aa61b39d85fa803eAffected
  • 1f485649f52929d9937b346a920a522a7363e202 to before ee5e65964f456adfe14d526fba0bd055de98ecf3Affected
  • 1f485649f52929d9937b346a920a522a7363e202 to before 0b4414e43e0861d67276031cc21401d7e87de3daAffected
  • 1f485649f52929d9937b346a920a522a7363e202 to before d0a59ba58578e2b330fff80a44fe519f3ba7d8c7Affected
  • 1f485649f52929d9937b346a920a522a7363e202 to before a8d20ba0ab518c9ccbcde258f25fc1ee6e51d5dbAffected
  • 1f485649f52929d9937b346a920a522a7363e202 to before 3aa40c3bccac2312ea7cf97f329190637f972b5dAffected
  • 1f485649f52929d9937b346a920a522a7363e202 to before e0b5252a59383b77d1b8dbeda00b7184dd95f4d3Affected
LinuxLinux
  • 2.6.24Affected
  • before 2.6.24Not 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.