From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796289555; b=IO3iFz0TUXUSm0Vrip5nE59BgrlhydVYU53VdKeaJX2sIMZ2Njl/XDPL0V5cZ959cVqU 5U5v68qNQA8zMHW1/aA1xPpmmsBmJxJCmw2EFUyNlKBm2T7db6bSXpnNBksMiMqogp/1+ hR4Asgjfw4ZLfwAukyPJ/IwP6hgthlGSsgAoRJJ42CIWFfiL2y9ljQh+sKaY8bwWcwjkW IXIIHeqGTPLyFQoG8Z8b9hXHzjEy6onPaCKBj4kywuAo9AJGQUKSHcPomnYBKEHMQWxvV PLEsv3eQd3KVsIIWjzx65pp1DcCoc9PTESN9hk2B8Ar47QE8FDFp7rKbnYIuxrn8Iaw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796289555; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=josgSKh2lpS3GUByCDJaoEOf35HEDNXtHfwuYomBF3Y=; b=jjIOUK2kW8il8ozAbKrinJK8zA4rQtbrRf4YLRiCVrvl9r/NCptZ9OaORcE+VNnk09eU QUR8lMq0UyefnLFn/BW8zjUSnbp4MfbIh8E/meVyIJOENCqmgGvmCdBBiVNItOGViBQrL C3xWans6IEQUQ0B1MhlD6rYKawv2qX6YkfsHKbmE4NCWdI6se2ZaGsKtpzgxoH/DBLi0Y Pmr5ddtp74Rwd8ok5gTe5If6rOpYuW0xmsBmhnITYTFIogiImGBIVqpbsvaaFe7NlBJcj JIIG2X2Z57ipKCp+Kg7VzLdyiqQXtJuvcmhM/ro/BQXifV+nhq8w6H01NFtTQ9k+sPw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=vosNQpBj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F2F2606A686 for ; Thu, 3 Dec 2026 09:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=vosNQpBj Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCF561F00898; Thu, 3 Dec 2026 09:19:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796289555; bh=josgSKh2lpS3GUByCDJaoEOf35HEDNXtHfwuYomBF3Y=; h=From:To:Cc:Subject:Date:Reply-To; b=vosNQpBjYf1YvuzzjCz6I4H0ro6V0+NSyH7Os1oIyY6asVeSqapYIn9aNd3TWHKlD DR9A7NCvXPAki8cp2JXViMdmOECLl+276qsyyufaGrjOT9V1SOOMsNSBcFyhQ83ni6 yAhDMnFecY9EwmeGYSfIJKnmk1DprTxalu8wpPko= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-142951: sctp: fix skb_over_panic when adding addresses with a pending delete of another family Date: Thu, 3 Dec 2026 10:16:27 +0100 Message-ID: <2026120328-CVE-2026-142951-e7e1@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3760; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WC2LqVARi0aLp1mlY5ymCiSlgaD0C+FSewE4zMWFEsQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxjmXFin2yUTnbq1w9D9s8czz7i8/xpNOS2aUVJ/Tj JnVP31jRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk9CDDfI+Ew0c8RU18uxet ClmasWjfUdU7MgzzXZIez9vx8MW63fdPLQwqcUzhmWE0AQA= 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: fix skb_over_panic when adding addresses with a pending delete of another family sctp_make_asconf_update_ip() accounts for a pending DEL_IP parameter by reusing the length of the address being added. The write-back side instead serializes the pending address itself, with its own address family. If the pending delete is IPv6 (20-byte parameter) while the added addresses are IPv4 (8-byte), the chunk is allocated 12 bytes short and sctp_addto_chunk() writes past the end of the skb. E.g. on mainline (05441d697f7f): skbuff: skb_over_panic: text:ffffffff84859c77 len:392 put:20 tail:0x188 end:0x180 dev: kernel BUG at net/core/skbuff.c:215! CPU: 0 UID: 1000 PID: 379 Comm: poc_sctp Call Trace: skb_panic skb_put sctp_addto_chunk sctp_make_asconf_update_ip sctp_send_asconf_add_ip sctp_setsockopt_bindx __x64_sys_setsockopt Requires addip enabled on the endpoint (net.sctp.addip_enable=1). Account for the pending delete with its own address family, as the write-back side already does. This issue was discovered by an LLM code scanner. The Linux kernel CVE team has assigned CVE-2026-142951 to this issue. Affected and fixed versions =========================== Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 5.10.276 with commit bc71e3e972b626720e85b98ca1011d39e6ded78b Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 5.15.227 with commit 8b664a0ce34c078ee834415c29b7f9da49b8a793 Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 6.12.120 with commit 760f7504fc80f4ce2f19150042ce44fbf5beee3e Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 6.18.66 with commit c690f1e1e330e5f43506ce1cc16edba7bd5624e2 Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 7.3.7 with commit 26844a6d62018b4e567d6201e6da2199d85cc2ac Issue introduced in 3.1 with commit 8a07eb0a50aebc8c95478d49c28c7f8419a26cef and fixed in 7.4-rc4 with commit ce09d8c13a15fe881d0a04c91979dcdf45ed9543 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-142951 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/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/bc71e3e972b626720e85b98ca1011d39e6ded78b https://git.kernel.org/stable/c/8b664a0ce34c078ee834415c29b7f9da49b8a793 https://git.kernel.org/stable/c/760f7504fc80f4ce2f19150042ce44fbf5beee3e https://git.kernel.org/stable/c/c690f1e1e330e5f43506ce1cc16edba7bd5624e2 https://git.kernel.org/stable/c/26844a6d62018b4e567d6201e6da2199d85cc2ac https://git.kernel.org/stable/c/ce09d8c13a15fe881d0a04c91979dcdf45ed9543