CVE-2026-142951: sctp: fix skb_over_panic when adding addresses with a pending delete of another family
In the Linux kernel, the following vulnerability has been resolved:
sctp: fix skboverpanic when adding addresses with a pending delete of another family
sctpmakeasconfupdateip() accounts for a pending DELIP 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 sctpaddtochunk() writes past the end of the skb. E.g. on mainline (05441d697f7f):
skbuff: skboverpanic: 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: pocsctp Call Trace: skbpanic skbput sctpaddtochunk sctpmakeasconfupdateip sctpsendasconfaddip sctpsetsockoptbindx x64syssetsockopt
Requires addip enabled on the endpoint (net.sctp.addipenable=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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch 05441d697f7f
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Linux systems with SCTP endpoints that have ADD-IP enabled are exposed. The required setting is net.sctp.addip_enable=1.
What conditions are needed to trigger the fault?
An SCTP address update must add IPv4 addresses while an IPv6 address deletion is pending. This causes the ASCONF chunk allocation to be too small before the pending IPv6 deletion is serialized.
What can be done if the fix cannot be deployed immediately?
Disable SCTP ADD-IP on affected endpoints by setting net.sctp.addip_enable=0, where doing so is compatible with operational requirements. This removes the stated prerequisite for reaching the vulnerable path.
How might an affected system present at runtime?
The kernel may report an skbuff skb_over_panic followed by a kernel BUG in net/core/skbuff.c. The call trace can include sctp_addto_chunk, sctp_make_asconf_update_ip, sctp_send_asconf_add_ip, and sctp_setsockopt_bindx.