{"api_version":"1","generated_at":"2026-11-30T17:17:47+00:00","cve":"CVE-2026-139211","urls":{"html":"https://cve.report/CVE-2026-139211","api":"https://cve.report/api/cve/CVE-2026-139211.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139211","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139211"},"summary":{"title":"sctp: reject forged cookie peer_addr with unknown address family","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: reject forged cookie peer_addr with unknown address family\n\nWhen cookie authentication is disabled, COOKIE-ECHO peer_addr is\nattacker-controlled. An invalid sa_family made sctp_get_af_specific()\nreturn NULL and crash in sctp_transport_init() on\naf_specific->sockaddr_len. Validate it with af->addr_valid() in\nsctp_unpack_cookie(), which also rejects a mismatched family, e.g.\nan AF_INET6 peer_addr on an IPv4 socket that would later crash in\nsctp_v6_get_dst() on inet6_sk(sk)->opt. Validate a copy of peer_addr,\nsince addr_valid() rewrites a v4-mapped v6 address in place and the\ncookie still lives in the received skb, which is not guaranteed to\nbe unshared. Store the validated copy in the new association and\npass it to sctp_process_init() instead of the raw cookie, so a\nv4-mapped v6 address is normalised to AF_INET before the association\nand its primary transport are built from it.\n\nFor that, sctp_v6_addr_valid() has to return 0 for a non-v4-mapped\naddress when it is called with a socket that is not PF_INET6, so that\nIPv6 addresses are never used on IPv4 sockets. The check is done after\nthe v4-mapped handling, so v4-mapped addresses passed to an IPv4\nsocket through the socket API keep being accepted. As addr_valid()\nnow also checks sk_family and ipv6_only_sock, simplify the address\nhandling in sctp_process_param() with it, as it additionally filters\nout non-unicast addresses. As a side effect, a v4-mapped address in\nan IPv6 address parameter is now normalised to AF_INET before the\ntransport is created, matching what the socket API paths already do.\n\nAlso add the missing !af check in sctp_process_init(), as\nsctp_get_af_specific(AF_INET6) returns NULL on CONFIG_IPV6=n builds.\n\n  BUG: KASAN: null-ptr-deref in sctp_transport_new+0xa7/0x350\n  Read of size 4 at addr 00000000000000b4 by task poc/682\n  Call Trace:\n   <IRQ>\n   sctp_transport_new+0xa7/0x350\n   sctp_assoc_add_peer+0x153/0x850\n   sctp_process_init+0xf9/0x1180\n   sctp_sf_do_5_1D_ce+0x464/0xbc0\n   sctp_do_sm+0x114/0x2990\n   sctp_endpoint_bh_rcv+0x280/0x430\n   sctp_inq_push+0xdd/0x100\n   sctp_rcv+0x17f5/0x1ae0\n   sctp4_rcv+0x2b/0x40\n   ip_protocol_deliver_rcu+0x25b/0x270\n   ip_local_deliver+0xd1/0xe0\n   </IRQ>\n  Kernel panic - not syncing: Fatal exception in interrupt","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:41","updated_at":"2026-11-30 14:18:41"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/898e7e2da83e8e09cf87c7841f70d924cf6ec323","name":"https://git.kernel.org/stable/c/898e7e2da83e8e09cf87c7841f70d924cf6ec323","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b","name":"https://git.kernel.org/stable/c/7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/abe7fd5461f148541b8c1c0dab29ad8dedc3bceb","name":"https://git.kernel.org/stable/c/abe7fd5461f148541b8c1c0dab29ad8dedc3bceb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd","name":"https://git.kernel.org/stable/c/6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9802123ceca818aa69284c615114ca55b9cc94a1","name":"https://git.kernel.org/stable/c/9802123ceca818aa69284c615114ca55b9cc94a1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139211","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139211","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 abe7fd5461f148541b8c1c0dab29ad8dedc3bceb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 898e7e2da83e8e09cf87c7841f70d924cf6ec323 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9802123ceca818aa69284c615114ca55b9cc94a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sctp/ipv6.c","net/sctp/sm_make_chunk.c","net/sctp/sm_statefuns.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"abe7fd5461f148541b8c1c0dab29ad8dedc3bceb","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"898e7e2da83e8e09cf87c7841f70d924cf6ec323","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9802123ceca818aa69284c615114ca55b9cc94a1","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sctp/ipv6.c","net/sctp/sm_make_chunk.c","net/sctp/sm_statefuns.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: reject forged cookie peer_addr with unknown address family\n\nWhen cookie authentication is disabled, COOKIE-ECHO peer_addr is\nattacker-controlled. An invalid sa_family made sctp_get_af_specific()\nreturn NULL and crash in sctp_transport_init() on\naf_specific->sockaddr_len. Validate it with af->addr_valid() in\nsctp_unpack_cookie(), which also rejects a mismatched family, e.g.\nan AF_INET6 peer_addr on an IPv4 socket that would later crash in\nsctp_v6_get_dst() on inet6_sk(sk)->opt. Validate a copy of peer_addr,\nsince addr_valid() rewrites a v4-mapped v6 address in place and the\ncookie still lives in the received skb, which is not guaranteed to\nbe unshared. Store the validated copy in the new association and\npass it to sctp_process_init() instead of the raw cookie, so a\nv4-mapped v6 address is normalised to AF_INET before the association\nand its primary transport are built from it.\n\nFor that, sctp_v6_addr_valid() has to return 0 for a non-v4-mapped\naddress when it is called with a socket that is not PF_INET6, so that\nIPv6 addresses are never used on IPv4 sockets. The check is done after\nthe v4-mapped handling, so v4-mapped addresses passed to an IPv4\nsocket through the socket API keep being accepted. As addr_valid()\nnow also checks sk_family and ipv6_only_sock, simplify the address\nhandling in sctp_process_param() with it, as it additionally filters\nout non-unicast addresses. As a side effect, a v4-mapped address in\nan IPv6 address parameter is now normalised to AF_INET before the\ntransport is created, matching what the socket API paths already do.\n\nAlso add the missing !af check in sctp_process_init(), as\nsctp_get_af_specific(AF_INET6) returns NULL on CONFIG_IPV6=n builds.\n\n  BUG: KASAN: null-ptr-deref in sctp_transport_new+0xa7/0x350\n  Read of size 4 at addr 00000000000000b4 by task poc/682\n  Call Trace:\n   <IRQ>\n   sctp_transport_new+0xa7/0x350\n   sctp_assoc_add_peer+0x153/0x850\n   sctp_process_init+0xf9/0x1180\n   sctp_sf_do_5_1D_ce+0x464/0xbc0\n   sctp_do_sm+0x114/0x2990\n   sctp_endpoint_bh_rcv+0x280/0x430\n   sctp_inq_push+0xdd/0x100\n   sctp_rcv+0x17f5/0x1ae0\n   sctp4_rcv+0x2b/0x40\n   ip_protocol_deliver_rcu+0x25b/0x270\n   ip_local_deliver+0xd1/0xe0\n   </IRQ>\n  Kernel panic - not syncing: Fatal exception in interrupt"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:36.488Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/abe7fd5461f148541b8c1c0dab29ad8dedc3bceb"},{"url":"https://git.kernel.org/stable/c/7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b"},{"url":"https://git.kernel.org/stable/c/898e7e2da83e8e09cf87c7841f70d924cf6ec323"},{"url":"https://git.kernel.org/stable/c/6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd"},{"url":"https://git.kernel.org/stable/c/9802123ceca818aa69284c615114ca55b9cc94a1"}],"title":"sctp: reject forged cookie peer_addr with unknown address family","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139211","datePublished":"2026-11-30T13:32:36.488Z","dateReserved":"2026-11-30T13:22:15.920Z","dateUpdated":"2026-11-30T13:32:36.488Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:41","lastModifiedDate":"2026-11-30 14:18:41","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139211","Ordinal":"1","Title":"sctp: reject forged cookie peer_addr with unknown address family","CVE":"CVE-2026-139211","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139211","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: reject forged cookie peer_addr with unknown address family\n\nWhen cookie authentication is disabled, COOKIE-ECHO peer_addr is\nattacker-controlled. An invalid sa_family made sctp_get_af_specific()\nreturn NULL and crash in sctp_transport_init() on\naf_specific->sockaddr_len. Validate it with af->addr_valid() in\nsctp_unpack_cookie(), which also rejects a mismatched family, e.g.\nan AF_INET6 peer_addr on an IPv4 socket that would later crash in\nsctp_v6_get_dst() on inet6_sk(sk)->opt. Validate a copy of peer_addr,\nsince addr_valid() rewrites a v4-mapped v6 address in place and the\ncookie still lives in the received skb, which is not guaranteed to\nbe unshared. Store the validated copy in the new association and\npass it to sctp_process_init() instead of the raw cookie, so a\nv4-mapped v6 address is normalised to AF_INET before the association\nand its primary transport are built from it.\n\nFor that, sctp_v6_addr_valid() has to return 0 for a non-v4-mapped\naddress when it is called with a socket that is not PF_INET6, so that\nIPv6 addresses are never used on IPv4 sockets. The check is done after\nthe v4-mapped handling, so v4-mapped addresses passed to an IPv4\nsocket through the socket API keep being accepted. As addr_valid()\nnow also checks sk_family and ipv6_only_sock, simplify the address\nhandling in sctp_process_param() with it, as it additionally filters\nout non-unicast addresses. As a side effect, a v4-mapped address in\nan IPv6 address parameter is now normalised to AF_INET before the\ntransport is created, matching what the socket API paths already do.\n\nAlso add the missing !af check in sctp_process_init(), as\nsctp_get_af_specific(AF_INET6) returns NULL on CONFIG_IPV6=n builds.\n\n  BUG: KASAN: null-ptr-deref in sctp_transport_new+0xa7/0x350\n  Read of size 4 at addr 00000000000000b4 by task poc/682\n  Call Trace:\n   <IRQ>\n   sctp_transport_new+0xa7/0x350\n   sctp_assoc_add_peer+0x153/0x850\n   sctp_process_init+0xf9/0x1180\n   sctp_sf_do_5_1D_ce+0x464/0xbc0\n   sctp_do_sm+0x114/0x2990\n   sctp_endpoint_bh_rcv+0x280/0x430\n   sctp_inq_push+0xdd/0x100\n   sctp_rcv+0x17f5/0x1ae0\n   sctp4_rcv+0x2b/0x40\n   ip_protocol_deliver_rcu+0x25b/0x270\n   ip_local_deliver+0xd1/0xe0\n   </IRQ>\n  Kernel panic - not syncing: Fatal exception in interrupt","Type":"Description","Title":"sctp: reject forged cookie peer_addr with unknown address family"}]}}}