{"api_version":"1","generated_at":"2026-12-04T01:43:48+00:00","cve":"CVE-2026-143146","urls":{"html":"https://cve.report/CVE-2026-143146","api":"https://cve.report/api/cve/CVE-2026-143146.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143146","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143146"},"summary":{"title":"ipv4: fib_trie: prevent speculative out-of-bounds child access","description":"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->daddr. 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:48","updated_at":"2026-12-03 10:17:48"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fd3d73286662950656f54616d0b3fea29e2dc99a","name":"https://git.kernel.org/stable/c/fd3d73286662950656f54616d0b3fea29e2dc99a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e3606983e3b9c9f7652b9690311c77c8cc114a54","name":"https://git.kernel.org/stable/c/e3606983e3b9c9f7652b9690311c77c8cc114a54","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/142723bd3ac8c757a9564c42615433c7e76c6616","name":"https://git.kernel.org/stable/c/142723bd3ac8c757a9564c42615433c7e76c6616","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/056d0beca16b93a54f533f51bfd3190652e3d7a1","name":"https://git.kernel.org/stable/c/056d0beca16b93a54f533f51bfd3190652e3d7a1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/92fb9437303f76d71f01a2c45c05c9f13a319c0c","name":"https://git.kernel.org/stable/c/92fb9437303f76d71f01a2c45c05c9f13a319c0c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/83f0f87588afb9bf7ef92b8bc7d37131639d0c74","name":"https://git.kernel.org/stable/c/83f0f87588afb9bf7ef92b8bc7d37131639d0c74","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143146","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143146","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb 92fb9437303f76d71f01a2c45c05c9f13a319c0c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb e3606983e3b9c9f7652b9690311c77c8cc114a54 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb 83f0f87588afb9bf7ef92b8bc7d37131639d0c74 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb 142723bd3ac8c757a9564c42615433c7e76c6616 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb 056d0beca16b93a54f533f51bfd3190652e3d7a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f9e636d4f89f788c5cf9c6a5357501c0d405fcb fd3d73286662950656f54616d0b3fea29e2dc99a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143146","cve":"CVE-2026-143146","epss":"0.002150000","percentile":"0.126130000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/fib_trie.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"92fb9437303f76d71f01a2c45c05c9f13a319c0c","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"},{"lessThan":"e3606983e3b9c9f7652b9690311c77c8cc114a54","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"},{"lessThan":"83f0f87588afb9bf7ef92b8bc7d37131639d0c74","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"},{"lessThan":"142723bd3ac8c757a9564c42615433c7e76c6616","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"},{"lessThan":"056d0beca16b93a54f533f51bfd3190652e3d7a1","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"},{"lessThan":"fd3d73286662950656f54616d0b3fea29e2dc99a","status":"affected","version":"9f9e636d4f89f788c5cf9c6a5357501c0d405fcb","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/fib_trie.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.0"},{"lessThan":"4.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","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.10.276","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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->daddr. 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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:19:50.666Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/92fb9437303f76d71f01a2c45c05c9f13a319c0c"},{"url":"https://git.kernel.org/stable/c/e3606983e3b9c9f7652b9690311c77c8cc114a54"},{"url":"https://git.kernel.org/stable/c/83f0f87588afb9bf7ef92b8bc7d37131639d0c74"},{"url":"https://git.kernel.org/stable/c/142723bd3ac8c757a9564c42615433c7e76c6616"},{"url":"https://git.kernel.org/stable/c/056d0beca16b93a54f533f51bfd3190652e3d7a1"},{"url":"https://git.kernel.org/stable/c/fd3d73286662950656f54616d0b3fea29e2dc99a"}],"title":"ipv4: fib_trie: prevent speculative out-of-bounds child access","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143146","datePublished":"2026-12-03T09:19:50.666Z","dateReserved":"2026-12-03T03:10:28.354Z","dateUpdated":"2026-12-03T09:19:50.666Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:48","lastModifiedDate":"2026-12-03 10:17:48","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143146","Ordinal":"1","Title":"ipv4: fib_trie: prevent speculative out-of-bounds child access","CVE":"CVE-2026-143146","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143146","Ordinal":"1","NoteData":"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->daddr. 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.","Type":"Description","Title":"ipv4: fib_trie: prevent speculative out-of-bounds child access"}]}}}