Bug 2513253 (CVE-2026-68376)

Summary: CVE-2026-68376 kernel: sctp: fix auth_hmacs array size in struct sctp_cookie
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, akito5623, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's Stream Control Transmission Protocol (SCTP) implementation. An incorrect array size calculation for the `auth_hmacs` field within the `sctp_cookie` structure could lead to a buffer overflow. During the initialization of an SCTP association, if four HMAC identifiers are configured, the system attempts to copy data beyond the allocated buffer. This results in the corruption of an adjacent memory field (`auth_chunks`) and can subsequently cause an out-of-bounds read when processing HMAC identifiers.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-08-10 12:27:13 UTC
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.

Comment 6 Mauro Matteo Cascella 2026-08-21 20:52:01 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081043-CVE-2026-68376-5dfa@gregkh/T

Comment 7 Akiyoshi Kurita 2026-09-08 03:32:38 UTC
Public PoC/exploit code for CVE-2026-68376 has been released.

Red Hat CVE:
https://access.redhat.com/security/cve/cve-2026-68376

Public exploit:

Ubuntu 7.0.0-30:
https://github.com/NebuSec/CyberMeowfia/tree/main/security-research/Linux-CVE-2026-68376-Ubuntu-7.0.0-30

Impact summary:

CVE-2026-68376 affects the Linux SCTP subsystem and may allow an attacker to trigger a kernel memory-safety condition through crafted SCTP traffic. Depending on the exact execution path and system configuration, successful exploitation could result in a kernel crash or other security impact. Systems with SCTP enabled and exposed to untrusted network traffic should be considered at higher risk.

Possible backport patches:

RHEL 6 through RHEL 9:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0b4414e43e0861d67276031cc21401d7e87de3da

RHEL 10:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d0a59ba58578e2b330fff80a44fe519f3ba7d8c7

Possible mitigation for systems that do not require SCTP:

echo "install sctp /bin/true" > /etc/modprobe.d/disable-sctp.conf

This mitigation should only be used on systems where SCTP functionality is not required.

Please review the affected RHEL releases, the current impact assessment, and whether disabling the SCTP kernel module can be documented as a mitigation now that public exploit code is available.

Comment 8 errata-xmlrpc 2026-09-10 05:18:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:66324 https://access.redhat.com/errata/RHSA-2026:66324

Comment 9 errata-xmlrpc 2026-09-10 05:40:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:66325 https://access.redhat.com/errata/RHSA-2026:66325

Comment 10 Jon Orris 2026-09-14 13:36:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:67150 https://access.redhat.com/errata/RHSA-2026:67150

Comment 16 Jon Orris 2026-11-06 18:09:10 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:95346 https://access.redhat.com/errata/RHSA-2026:95346

Comment 17 errata-xmlrpc 2026-11-09 14:39:15 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 5.0

Via RHSA-2026:94537 https://access.redhat.com/errata/RHSA-2026:94537