{"id":"CVE-2026-142951","summary":"sctp: fix skb_over_panic when adding addresses with a pending delete of another family","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix skb_over_panic when adding addresses with a pending delete of another family\n\nsctp_make_asconf_update_ip() accounts for a pending DEL_IP\nparameter by reusing the length of the address being added. The\nwrite-back side instead serializes the pending address itself,\nwith its own address family. If the pending delete is IPv6\n(20-byte parameter) while the added addresses are IPv4 (8-byte),\nthe chunk is allocated 12 bytes short and sctp_addto_chunk()\nwrites past the end of the skb. E.g. on mainline (05441d697f7f):\n\n    skbuff: skb_over_panic: text:ffffffff84859c77 len:392 put:20\n        tail:0x188 end:0x180 dev:\u003cNULL\u003e\n    kernel BUG at net/core/skbuff.c:215!\n    CPU: 0 UID: 1000 PID: 379 Comm: poc_sctp\n    Call Trace:\n     skb_panic\n     skb_put\n     sctp_addto_chunk\n     sctp_make_asconf_update_ip\n     sctp_send_asconf_add_ip\n     sctp_setsockopt_bindx\n     __x64_sys_setsockopt\n\nRequires addip enabled on the endpoint (net.sctp.addip_enable=1).\n\nAccount for the pending delete with its own address family, as the\nwrite-back side already does.\n\nThis issue was discovered by an LLM code scanner.","modified":"2026-12-03T11:00:23.387086619Z","published":"2026-12-03T09:16:38.174Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142951.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26844a6d62018b4e567d6201e6da2199d85cc2ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/760f7504fc80f4ce2f19150042ce44fbf5beee3e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b664a0ce34c078ee834415c29b7f9da49b8a793"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc71e3e972b626720e85b98ca1011d39e6ded78b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c690f1e1e330e5f43506ce1cc16edba7bd5624e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce09d8c13a15fe881d0a04c91979dcdf45ed9543"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142951.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142951"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8a07eb0a50aebc8c95478d49c28c7f8419a26cef"},{"fixed":"bc71e3e972b626720e85b98ca1011d39e6ded78b"},{"fixed":"8b664a0ce34c078ee834415c29b7f9da49b8a793"},{"fixed":"760f7504fc80f4ce2f19150042ce44fbf5beee3e"},{"fixed":"c690f1e1e330e5f43506ce1cc16edba7bd5624e2"},{"fixed":"26844a6d62018b4e567d6201e6da2199d85cc2ac"},{"fixed":"ce09d8c13a15fe881d0a04c91979dcdf45ed9543"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142951.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142951.json"}}],"schema_version":"1.9.2"}