Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6783F384245 for ; Thu, 25 Jun 2026 08:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377251; cv=none; b=aXPcgJIjosJNanyRpqA6eKhashd++Un9x9ktigKP6hl4zHmDR87c+Brbiu3QOU+1GJ/3aJUUy0OqgyFkhr7NQlbzviEB9AWfenM0y5AowD/Jt90NUvMlmOxUyS3CXKMl0e1ZlfntD+ZKNYc+CCoxGmz3bY/p4h9mDuBR43RVF3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377251; c=relaxed/simple; bh=DVxBfP2L+869P4sXMxqUEkEwpXW5y71CgqW6EXDIKAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pE2wU2N3IuVDtdsND79E9F0dVRXgb1j1alOUkMK1P3P0L1no8y8MvkL1WDUJrT928geazWKMHFtMVYgk0LEGcNyxz2ZWsSzza0gkYEFOdb6OtFljuq74vs+1DsxZ4PbNHnLtVLxw0FH4+WWIGniobj4nxLsZXUMLwzoMa8OWx9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AIctH/Fi; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AIctH/Fi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 803D01F00A3A; Thu, 25 Jun 2026 08:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377250; bh=MIWSqXKwvPakiJmUCIAMqYF3wu2c7SHA+83ooABDBQ8=; h=From:To:Cc:Subject:Date:Reply-To; b=AIctH/FiwB+mkEQKVHHi0nYDR9ZVjyCcTkm0QjSH46KRa86OsEl9FpsZI4Dh1bcyq EQIGTcrMc1tTX33aNQHfYDjQEKaL49jAWmrk20tSmZbyWi4m8a4QjteUL6G5jq2/Jp CHGYyJ8Vripe21xOQVOiEKsgyL499s7m4nNHUKo4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53224: sctp: validate embedded INIT chunk and address list lengths in cookie Date: Thu, 25 Jun 2026 09:41:12 +0100 Message-ID: <2026062506-CVE-2026-53224-4b04@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3422; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zBC/6aS9hfENyewT733vlkrmIxl49PvUY3NRg6SEtoI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L9OWmun4xIYfel0RkvVqidZE3vx5k3puvL9SoPUt7 vDHs1+ud8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEzq1mmKcjmjHFN0eVIWnd +xOz9U/0G/S3RTDM4bKPl5082U7Kqm+3usNlCU3R2z+lAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: sctp: validate embedded INIT chunk and address list lengths in cookie sctp_unpack_cookie() only checked that the embedded INIT chunk length did not exceed the remaining cookie payload, but did not ensure that the INIT chunk is large enough to contain a complete INIT header. A malformed COOKIE_ECHO can therefore carry a truncated INIT chunk whose length field is smaller than sizeof(struct sctp_init_chunk). Later, sctp_process_init() accesses INIT parameters unconditionally, which may lead to out-of-bounds reads. In addition, raw_addr_list_len is not fully validated against the remaining cookie payload. When cookie authentication is disabled, an attacker can supply an oversized raw_addr_list_len and cause sctp_raw_to_bind_addrs() to read beyond the end of the cookie. The address parser also lacks sufficient bounds checks for parameter headers and lengths, allowing malformed address parameters to trigger out-of-bounds reads. Fix this by: - requiring the embedded INIT chunk length to be at least sizeof(struct sctp_init_chunk); - validating that the INIT chunk and raw address list together fit within the cookie payload; - verifying sufficient data exists for each address parameter header and payload before parsing it. Note that sctp_verify_init() must be called after sctp_unpack_cookie() and before sctp_process_init() when cookie authentication is disabled. This will be addressed in a separate patch. The Linux kernel CVE team has assigned CVE-2026-53224 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.36 with commit 7560afb8cddafd829e709d7ea09230e45a825557 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0.13 with commit 512a9bb77c04ac9927648ea58af617e472be96e6 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1 with commit 6f4c80a2a7e6d06753b89a578b710a2499a5e62b 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-53224 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: net/sctp/bind_addr.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/7560afb8cddafd829e709d7ea09230e45a825557 https://git.kernel.org/stable/c/512a9bb77c04ac9927648ea58af617e472be96e6 https://git.kernel.org/stable/c/6f4c80a2a7e6d06753b89a578b710a2499a5e62b