{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe94cc290f535709d3c5ebd1e472dfd0aec7ee79"
            },
            {
              "fixed": "4a612ff71a094f2d77a4b07787ef45cfc2eb04a3"
            },
            {
              "fixed": "32f8d033044693f77f98da40ab206e38108cde6f"
            },
            {
              "fixed": "ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac"
            },
            {
              "fixed": "d29c91e8c031bc9b5a78dc199235893c040877db"
            },
            {
              "fixed": "d7106132b69e6916762bbbfd95fbcb60be4b8d9b"
            },
            {
              "fixed": "58e39f8d58b141b96c030008a20dde9d625ec997"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.18.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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143359.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6\n\nThe mode BPF_LWT_ENCAP_SEG6 of bpf_lwt_push_encap() pushes an IPv6 header\nand an SRH, and it replaces the dst. The SRH says that IPv6 follows, and\nskb-\u003eprotocol does not change. Thus the mode assumes an IPv6 packet, but an\nlwt_in prog also runs for IPv4 packets. After the prog, bpf_input() calls\norig_input() of the old dst. This IPv4 handler reads the pushed headers as\nIPv4. It can write after the packet data, and the kernel crashes.\n\n                 after the push         orig_input() expects\n                 ---------------------  --------------------\n  skb-\u003eprotocol  ETH_P_IP               ETH_P_IP\n  dst            rt6_info               rtable\n  packet         | IPv6 | SRH | IPv4 |  | IPv4 |\n\nThe mode BPF_LWT_ENCAP_SEG6_INLINE returns -EBADMSG for non-IPv6 packets.\nApply this check to both modes. End.BPF does not change, because\nseg6_local_input() drops non-IPv6 packets.",
  "id": "CVE-2026-143359",
  "modified": "2026-12-03T10:45:25.990380968Z",
  "published": "2026-12-03T09:22:13.623Z",
  "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/32f8d033044693f77f98da40ab206e38108cde6f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4a612ff71a094f2d77a4b07787ef45cfc2eb04a3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/58e39f8d58b141b96c030008a20dde9d625ec997"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d29c91e8c031bc9b5a78dc199235893c040877db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d7106132b69e6916762bbbfd95fbcb60be4b8d9b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143359.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143359"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6"
}