FKIE_CVE-2026-139211

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: sctp: reject forged cookie peer_addr with unknown address family When cookie authentication is disabled, COOKIE-ECHO peer_addr is attacker-controlled. An invalid sa_family made sctp_get_af_specific() return NULL and crash in sctp_transport_init() on af_specific->sockaddr_len. Validate it with af->addr_valid() in sctp_unpack_cookie(), which also rejects a mismatched family, e.g. an AF_INET6 peer_addr on an IPv4 socket that would later crash in sctp_v6_get_dst() on inet6_sk(sk)->opt. Validate a copy of peer_addr, since addr_valid() rewrites a v4-mapped v6 address in place and the cookie still lives in the received skb, which is not guaranteed to be unshared. Store the validated copy in the new association and pass it to sctp_process_init() instead of the raw cookie, so a v4-mapped v6 address is normalised to AF_INET before the association and its primary transport are built from it. For that, sctp_v6_addr_valid() has to return 0 for a non-v4-mapped address when it is called with a socket that is not PF_INET6, so that IPv6 addresses are never used on IPv4 sockets. The check is done after the v4-mapped handling, so v4-mapped addresses passed to an IPv4 socket through the socket API keep being accepted. As addr_valid() now also checks sk_family and ipv6_only_sock, simplify the address handling in sctp_process_param() with it, as it additionally filters out non-unicast addresses. As a side effect, a v4-mapped address in an IPv6 address parameter is now normalised to AF_INET before the transport is created, matching what the socket API paths already do. Also add the missing !af check in sctp_process_init(), as sctp_get_af_specific(AF_INET6) returns NULL on CONFIG_IPV6=n builds. BUG: KASAN: null-ptr-deref in sctp_transport_new+0xa7/0x350 Read of size 4 at addr 00000000000000b4 by task poc/682 Call Trace: <IRQ> sctp_transport_new+0xa7/0x350 sctp_assoc_add_peer+0x153/0x850 sctp_process_init+0xf9/0x1180 sctp_sf_do_5_1D_ce+0x464/0xbc0 sctp_do_sm+0x114/0x2990 sctp_endpoint_bh_rcv+0x280/0x430 sctp_inq_push+0xdd/0x100 sctp_rcv+0x17f5/0x1ae0 sctp4_rcv+0x2b/0x40 ip_protocol_deliver_rcu+0x25b/0x270 ip_local_deliver+0xd1/0xe0 </IRQ> Kernel panic - not syncing: Fatal exception in interrupt
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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-\u003esockaddr_len. Validate it with af-\u003eaddr_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)-\u003eopt. 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   \u003cIRQ\u003e\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   \u003c/IRQ\u003e\n  Kernel panic - not syncing: Fatal exception in interrupt"
    }
  ],
  "id": "CVE-2026-139211",
  "lastModified": "2026-11-30T14:18:41.140",
  "metrics": {},
  "published": "2026-11-30T14:18:41.140",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6f5c3ae194f95e76570b1ddaab0730a5ddf5c5bd"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/7048e58181bbf4f0e2cc0d051a9fae43ffd3cf3b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/898e7e2da83e8e09cf87c7841f70d924cf6ec323"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/9802123ceca818aa69284c615114ca55b9cc94a1"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/abe7fd5461f148541b8c1c0dab29ad8dedc3bceb"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.