Skip to contentSkip to conversation

CVE-2026-74752: sctp: validate cookie AUTH state before use

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

sctp: validate cookie AUTH state before use

When cookie authentication is disabled, COOKIE_ECHO restores fixed-size AUTH fields directly from peer-controlled cookie bytes. A forged RANDOM length, HMAC list, or CHUNKS list can then reach association consumers with lengths or identifiers that were never validated against the local backing arrays.

A forged RANDOM length can cause out-of-bounds reads during key-vector construction. A forged HMAC identifier also caused a 32-byte write past a zero-length AUTH chunk, providing a primitive for a local privilege escalation chain.

Validate the cookie's RANDOM, HMACS, and CHUNKS parameters at the cookie trust boundary before copying them into the association. Reject invalid types, malformed lengths, unsupported HMAC identifiers, HMAC lists without SHA1, and forbidden chunk ids.

The Linux kernel CVE team has assigned CVE-2026-74752 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.24 with commit 1f485649f52929d9937b346a920a522a7363e202 and fixed in 7.1.10 with commit 88619b117be1daf633ce32210570ce35a0bd1c98
	Issue introduced in 2.6.24 with commit 1f485649f52929d9937b346a920a522a7363e202 and fixed in 7.2 with commit 3dbb44d88b1e94dd31fe43588af7437b34b44d56

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-74752

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
include/net/sctp/auth.h
net/sctp/auth.c
net/sctp/sm_make_chunk.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/88619b117be1daf633ce32210570ce35a0bd1c98
	https://git.kernel.org/stable/c/3dbb44d88b1e94dd31fe43588af7437b34b44d56