{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9f9e636d4f89f788c5cf9c6a5357501c0d405fcb"
            },
            {
              "fixed": "92fb9437303f76d71f01a2c45c05c9f13a319c0c"
            },
            {
              "fixed": "e3606983e3b9c9f7652b9690311c77c8cc114a54"
            },
            {
              "fixed": "83f0f87588afb9bf7ef92b8bc7d37131639d0c74"
            },
            {
              "fixed": "142723bd3ac8c757a9564c42615433c7e76c6616"
            },
            {
              "fixed": "056d0beca16b93a54f533f51bfd3190652e3d7a1"
            },
            {
              "fixed": "fd3d73286662950656f54616d0b3fea29e2dc99a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.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-143146.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: fib_trie: prevent speculative out-of-bounds child access\n\nfib_table_lookup() checks the child index against the bounds before\npassing it to get_child_rcu().\n\nThe index is derived from the lookup key, which in turn is derived from\nflp-\u003edaddr. A userspace process can therefore influence the index by\ntriggering lookups for chosen destination IPv4 addresses.\n\nIf this bounds check is mispredicted as in-bounds, an out-of-bounds index\ncan be transiently passed to get_child_rcu(). The value loaded beyond the\nchild array is then treated as a node pointer. A later transient\ndereference of that pointer can cause a data-dependent cache footprint.\n\nThis was found during Spectre-v1 research. Leakage was demonstrated with\ninstrumentation that delays branch resolution with a CLFLUSH before the\nmispredicted branch and makes the leaked location deterministic for\nreproducible measurement. In that setup, a userspace-controlled IPv4\nlookup key was able to trigger a transient out-of-bounds child access.\nThe transient use of the loaded value as a pointer caused a\ndata-dependent cache footprint that was recoverable from userspace using\nPrime+Probe. A real-world attacker would likely need to delay branch\nresolution, which was not demonstrated end-to-end without the added\nCLFLUSH.\n\nSanitize the index with array_index_nospec() before accessing the child\narray. This removed the observed leakage in the described setup.\n\nApply the hardening before setting cindex in fib_table_lookup(), because\ncindex can later be used by the backtrace path to load another child\npointer. fib_find_node() has the same pattern, with the checked index\nderived from a user-provided key in fib_table_insert() and\nfib_table_delete(). leaf_walk_rcu() has a similar checked cindex before\nget_child_rcu(), and the traversed state can be influenced by userspace\nactions. fib_find_node() runs under RTNL and leaf_walk_rcu() is not on\nthe packet lookup hot path, so harden those analogous accesses in the\nsame way. Also harden fib_trie_get_next(), where a mispredicted loop\ncondition could transiently read one child past the array.\n\nI see a slowdown of roughly 10% in a microbenchmark where we call\nfib_table_lookup() with 64 routes directly from inside the kernel. I\nobserved no slowdown in a loopback UDP sendto() microbenchmark.",
  "id": "CVE-2026-143146",
  "modified": "2026-12-03T10:45:20.623440024Z",
  "published": "2026-12-03T09:19:50.666Z",
  "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/056d0beca16b93a54f533f51bfd3190652e3d7a1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/142723bd3ac8c757a9564c42615433c7e76c6616"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83f0f87588afb9bf7ef92b8bc7d37131639d0c74"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92fb9437303f76d71f01a2c45c05c9f13a319c0c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3606983e3b9c9f7652b9690311c77c8cc114a54"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd3d73286662950656f54616d0b3fea29e2dc99a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143146.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143146"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ipv4: fib_trie: prevent speculative out-of-bounds child access"
}