CVE-2026-143202 (GCVE-0-2026-143202)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:20 – Updated: 2026-12-03 09:20
VLAI
Title
udp: do not use a cross-family sk_rx_dst in early demux
Summary
In the Linux kernel, the following vulnerability has been resolved: udp: do not use a cross-family sk_rx_dst in early demux A dual-stack UDP socket connected to a v4-mapped address can receive both IPv4 packets and IPv6 packets using v4-mapped addresses: ip6_rcv_core() no longer rejects a v4-mapped source since commit dcc32f4f183a ("ipv6: weaken the v4mapped source check"), which kept that check only in tcp_v6_conn_request(). ipv6_portaddr_hash() hashes v4-mapped addresses like IPv4 ones, so both early demux handlers find the socket, and both __udp4_lib_rcv() and __udp6_lib_rcv() store their input dst in the same sk->sk_rx_dst. udp_v6_early_demux() validates the cached dst with dst_check(), but ipv4_dst_check() ignores the cookie, so an IPv4 dst gets attached to an IPv6 skb. ip6_rcv_finish_core() then skips the route lookup and ip_local_deliver() parses the IPv6 header as an IPv4 one: the IPv6 next header and hop limit are read as a fragment offset, and the IPv4 protocol is taken from a source address byte. The reverse direction looks possible too: per-cpu dsts of IPv6 routes using nexthop objects have rt->sernum set, and ip6_dst_check() then ignores the cookie, so udp_v4_early_demux() can attach an IPv6 dst to an IPv4 skb. Kyle Zeng reported that such a packet can reach XFRM input still holding the prefetched, non refcounted, socket set by early demux, which can then outlive its RCU grace period. Only use the cached dst if its family matches the packet. Otherwise fall back to a regular route lookup. TCP does not have the same problem: sk_ehashfn() hashes a v4-mapped socket with inet_ehashfn(), while IPv6 lookups use inet6_ehashfn(), so IPv6 packets do not normally find a v4-mapped TCP socket.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 5425077d73e0c8e7e9267ca8397cc0e2293c1fb9 , < 5ff1407d5f901969e1f457c8ae066af880294864 (git)
Affected: 5425077d73e0c8e7e9267ca8397cc0e2293c1fb9 , < 5e8fc192a32a6efc32e671ba9ee7de47ee7e1f24 (git)
Affected: 5425077d73e0c8e7e9267ca8397cc0e2293c1fb9 , < 5f348bea3aade4b87133b297c5a0ba82fffaa218 (git)
Affected: 5425077d73e0c8e7e9267ca8397cc0e2293c1fb9 , < 62c831858402dca6db4da78e1afc6e507cfdcdcb (git)
Affected: 5425077d73e0c8e7e9267ca8397cc0e2293c1fb9 , < 5636e67320563be743d47706ef4914078c27edb2 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.12
Unaffected: 0 , < 4.12 (semver)
Unaffected: 5.15.227 , ≤ 5.15.* (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/udp.c",
            "net/ipv6/udp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5ff1407d5f901969e1f457c8ae066af880294864",
              "status": "affected",
              "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
              "versionType": "git"
            },
            {
              "lessThan": "5e8fc192a32a6efc32e671ba9ee7de47ee7e1f24",
              "status": "affected",
              "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
              "versionType": "git"
            },
            {
              "lessThan": "5f348bea3aade4b87133b297c5a0ba82fffaa218",
              "status": "affected",
              "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
              "versionType": "git"
            },
            {
              "lessThan": "62c831858402dca6db4da78e1afc6e507cfdcdcb",
              "status": "affected",
              "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
              "versionType": "git"
            },
            {
              "lessThan": "5636e67320563be743d47706ef4914078c27edb2",
              "status": "affected",
              "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/udp.c",
            "net/ipv6/udp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.227",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.227",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nudp: do not use a cross-family sk_rx_dst in early demux\n\nA dual-stack UDP socket connected to a v4-mapped address can receive\nboth IPv4 packets and IPv6 packets using v4-mapped addresses:\nip6_rcv_core() no longer rejects a v4-mapped source since commit\ndcc32f4f183a (\"ipv6: weaken the v4mapped source check\"), which kept\nthat check only in tcp_v6_conn_request(). ipv6_portaddr_hash() hashes\nv4-mapped addresses like IPv4 ones, so both early demux handlers find\nthe socket, and both __udp4_lib_rcv() and __udp6_lib_rcv() store their\ninput dst in the same sk-\u003esk_rx_dst.\n\nudp_v6_early_demux() validates the cached dst with dst_check(), but\nipv4_dst_check() ignores the cookie, so an IPv4 dst gets attached to\nan IPv6 skb. ip6_rcv_finish_core() then skips the route lookup and\nip_local_deliver() parses the IPv6 header as an IPv4 one: the IPv6\nnext header and hop limit are read as a fragment offset, and the IPv4\nprotocol is taken from a source address byte.\n\nThe reverse direction looks possible too: per-cpu dsts of IPv6 routes\nusing nexthop objects have rt-\u003esernum set, and ip6_dst_check() then\nignores the cookie, so udp_v4_early_demux() can attach an IPv6 dst to\nan IPv4 skb.\n\nKyle Zeng reported that such a packet can reach XFRM input still\nholding the prefetched, non refcounted, socket set by early demux,\nwhich can then outlive its RCU grace period.\n\nOnly use the cached dst if its family matches the packet. Otherwise\nfall back to a regular route lookup.\n\nTCP does not have the same problem: sk_ehashfn() hashes a v4-mapped\nsocket with inet_ehashfn(), while IPv6 lookups use inet6_ehashfn(),\nso IPv6 packets do not normally find a v4-mapped TCP socket."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-03T09:20:26.981Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5ff1407d5f901969e1f457c8ae066af880294864"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e8fc192a32a6efc32e671ba9ee7de47ee7e1f24"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f348bea3aade4b87133b297c5a0ba82fffaa218"
        },
        {
          "url": "https://git.kernel.org/stable/c/62c831858402dca6db4da78e1afc6e507cfdcdcb"
        },
        {
          "url": "https://git.kernel.org/stable/c/5636e67320563be743d47706ef4914078c27edb2"
        }
      ],
      "title": "udp: do not use a cross-family sk_rx_dst in early demux",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143202",
    "datePublished": "2026-12-03T09:20:26.981Z",
    "dateReserved": "2026-12-03T03:10:28.359Z",
    "dateUpdated": "2026-12-03T09:20:26.981Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143202",
      "date": "2026-12-04",
      "epss": "0.00201",
      "percentile": "0.10446"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:07:36.000Z",
      "cve": "CVE-2026-143202",
      "id": "msrc_CVE-2026-143202",
      "initial_release_date": "2026-12-03T18:47:24.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "udp: do not use a cross-family sk_rx_dst in early demux",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143202.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/udp.c",
                  "net/ipv6/udp.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "5ff1407d5f901969e1f457c8ae066af880294864",
                    "status": "affected",
                    "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5e8fc192a32a6efc32e671ba9ee7de47ee7e1f24",
                    "status": "affected",
                    "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5f348bea3aade4b87133b297c5a0ba82fffaa218",
                    "status": "affected",
                    "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "62c831858402dca6db4da78e1afc6e507cfdcdcb",
                    "status": "affected",
                    "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5636e67320563be743d47706ef4914078c27edb2",
                    "status": "affected",
                    "version": "5425077d73e0c8e7e9267ca8397cc0e2293c1fb9",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/udp.c",
                  "net/ipv6/udp.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.12"
                  },
                  {
                    "lessThan": "4.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.227",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.120",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.66",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc3",
                    "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\nudp: do not use a cross-family sk_rx_dst in early demux\n\nA dual-stack UDP socket connected to a v4-mapped address can receive\nboth IPv4 packets and IPv6 packets using v4-mapped addresses:\nip6_rcv_core() no longer rejects a v4-mapped source since commit\ndcc32f4f183a (\"ipv6: weaken the v4mapped source check\"), which kept\nthat check only in tcp_v6_conn_request(). ipv6_portaddr_hash() hashes\nv4-mapped addresses like IPv4 ones, so both early demux handlers find\nthe socket, and both __udp4_lib_rcv() and __udp6_lib_rcv() store their\ninput dst in the same sk-\u003esk_rx_dst.\n\nudp_v6_early_demux() validates the cached dst with dst_check(), but\nipv4_dst_check() ignores the cookie, so an IPv4 dst gets attached to\nan IPv6 skb. ip6_rcv_finish_core() then skips the route lookup and\nip_local_deliver() parses the IPv6 header as an IPv4 one: the IPv6\nnext header and hop limit are read as a fragment offset, and the IPv4\nprotocol is taken from a source address byte.\n\nThe reverse direction looks possible too: per-cpu dsts of IPv6 routes\nusing nexthop objects have rt-\u003esernum set, and ip6_dst_check() then\nignores the cookie, so udp_v4_early_demux() can attach an IPv6 dst to\nan IPv4 skb.\n\nKyle Zeng reported that such a packet can reach XFRM input still\nholding the prefetched, non refcounted, socket set by early demux,\nwhich can then outlive its RCU grace period.\n\nOnly use the cached dst if its family matches the packet. Otherwise\nfall back to a regular route lookup.\n\nTCP does not have the same problem: sk_ehashfn() hashes a v4-mapped\nsocket with inet_ehashfn(), while IPv6 lookups use inet6_ehashfn(),\nso IPv6 packets do not normally find a v4-mapped TCP socket."
          }
        ],
        "id": "CVE-2026-143202",
        "lastModified": "2026-12-03T10:17:57.680",
        "metrics": {},
        "published": "2026-12-03T10:17:57.680",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5636e67320563be743d47706ef4914078c27edb2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5e8fc192a32a6efc32e671ba9ee7de47ee7e1f24"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5f348bea3aade4b87133b297c5a0ba82fffaa218"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5ff1407d5f901969e1f457c8ae066af880294864"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/62c831858402dca6db4da78e1afc6e507cfdcdcb"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-03T19:05:16+00:00",
      "cve": "CVE-2026-143202",
      "id": "CVE-2026-143202",
      "initial_release_date": "2026-12-03T09:20:26.981000+00:00",
      "product_status:known_affected": "252",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via UDP cross-family route caching flaw",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143202.json",
      "version": "3"
    }
  }
}



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.