{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe94cc290f535709d3c5ebd1e472dfd0aec7ee79"
            },
            {
              "fixed": "add5f647f128182fcce2a515de25724031ea5cf4"
            },
            {
              "fixed": "c1ca06e48e8848743fd876a1dc6b0f57bc76d23e"
            }
          ],
          "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": "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-143358.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Set a dst for test runs of lwt_in progs\n\nWhen an lwt prog runs on a route, the skb always has a dst. To push an SRH,\nbpf_lwt_push_encap() reads the device from this dst. But\nbpf_prog_test_run_skb() sets a dst for lwt_xmit progs only. Thus the helper\ndereferences a NULL dst in a test run of an lwt_in prog.\n\nSet the same dst, ip6_null_entry, for lwt_in progs. When IPv6 is disabled\nor not built, their test run now fails with -EOPNOTSUPP too. An lwt_out\nprog cannot call this helper.",
  "id": "CVE-2026-143358",
  "modified": "2026-12-03T10:45:56.645199214Z",
  "published": "2026-12-03T09:22:12.895Z",
  "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/add5f647f128182fcce2a515de25724031ea5cf4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c1ca06e48e8848743fd876a1dc6b0f57bc76d23e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143358.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143358"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Set a dst for test runs of lwt_in progs"
}