{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7a3f5b0de3647c854e34269c3332d7a1e902901a"
            },
            {
              "fixed": "7ebc44e15f7edd5fc9281811beee56dd7aca8fd3"
            },
            {
              "fixed": "83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1"
            },
            {
              "fixed": "509fce20f6a5e880fe576eaf23f4a49075d72dc9"
            },
            {
              "fixed": "8a85a717144087ecac0407b8459a78967e7ed4ea"
            },
            {
              "fixed": "549484dd3e80a721d51bd695f22a800d2e05bea1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143149.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: validate state in netfilter continuations\n\nWhen nf_hooks_lwtunnel is enabled, End.DX4 sends decapsulated packets\nthrough NF_INET_PRE_ROUTING. If DNAT changes the inner destination,\nnf_nat_ipv4_pre_routing() drops skb_dst(), and the continuation then\ndereferences the missing dst's lwtstate. This causes a KASAN NULL\npointer dereference and fatal exception panic.\n\nEnd.DX6 has the same issue with IPv6 DNAT. In seg6_iptunnel,\nPOST_ROUTING SNAT with an outbound XFRM policy can replace the dst before\nthe continuation resumes.\n\nValidate the current dst and expected lwtstate type in each NF_HOOK()\ncontinuation before calling the existing handler. Drop packets with\nmissing or incompatible state while preserving direct no-hook paths.\nThe helpers return bool because callers only need a validity check.\n\nTesting shows that the End.DX4 DNAT reproducer triggers a KASAN NULL\npointer dereference without this change and no longer does so with the\nfix. The SNAT+ESP/XFRM reproducer also completes without the reported\nfault. The in-tree End.DX4 netfilter forwarding selftest passes all four\nbidirectional checks with nf_hooks_lwtunnel disabled and enabled.",
  "id": "CVE-2026-143149",
  "modified": "2026-12-03T10:45:39.279296916Z",
  "published": "2026-12-03T09:19:52.596Z",
  "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/509fce20f6a5e880fe576eaf23f4a49075d72dc9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/549484dd3e80a721d51bd695f22a800d2e05bea1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7ebc44e15f7edd5fc9281811beee56dd7aca8fd3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8a85a717144087ecac0407b8459a78967e7ed4ea"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143149.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143149"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "seg6: validate state in netfilter continuations"
}