* CVE-2026-142951: sctp: fix skb_over_panic when adding addresses with a pending delete of another family
@ 2026-12-03 9:16 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-12-03 9:16 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
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:<NULL>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-03 9:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 9:16 CVE-2026-142951: sctp: fix skb_over_panic when adding addresses with a pending delete of another family Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.