CVE-2026-143146
Received Received - Intake

Spectre v1 Mitigation in Linux Kernel IPv4 Routing

Vulnerability report for CVE-2026-143146, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: fib_trie: prevent speculative out-of-bounds child access fib_table_lookup() checks the child index against the bounds before passing it to get_child_rcu(). The index is derived from the lookup key, which in turn is derived from flp->daddr. A userspace process can therefore influence the index by triggering lookups for chosen destination IPv4 addresses. If this bounds check is mispredicted as in-bounds, an out-of-bounds index can be transiently passed to get_child_rcu(). The value loaded beyond the child array is then treated as a node pointer. A later transient dereference of that pointer can cause a data-dependent cache footprint. This was found during Spectre-v1 research. Leakage was demonstrated with instrumentation that delays branch resolution with a CLFLUSH before the mispredicted branch and makes the leaked location deterministic for reproducible measurement. In that setup, a userspace-controlled IPv4 lookup key was able to trigger a transient out-of-bounds child access. The transient use of the loaded value as a pointer caused a data-dependent cache footprint that was recoverable from userspace using Prime+Probe. A real-world attacker would likely need to delay branch resolution, which was not demonstrated end-to-end without the added CLFLUSH. Sanitize the index with array_index_nospec() before accessing the child array. This removed the observed leakage in the described setup. Apply the hardening before setting cindex in fib_table_lookup(), because cindex can later be used by the backtrace path to load another child pointer. fib_find_node() has the same pattern, with the checked index derived from a user-provided key in fib_table_insert() and fib_table_delete(). leaf_walk_rcu() has a similar checked cindex before get_child_rcu(), and the traversed state can be influenced by userspace actions. fib_find_node() runs under RTNL and leaf_walk_rcu() is not on the packet lookup hot path, so harden those analogous accesses in the same way. Also harden fib_trie_get_next(), where a mispredicted loop condition could transiently read one child past the array. I see a slowdown of roughly 10% in a microbenchmark where we call fib_table_lookup() with 64 routes directly from inside the kernel. I observed no slowdown in a loopback UDP sendto() microbenchmark.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Spectre-v1 style vulnerability in the Linux kernel's IPv4 routing table lookup. A userspace process can trigger lookups for chosen destination IPv4 addresses, influencing an index used to access child nodes in the routing table. If a CPU mispredicts bounds checks, it may transiently access memory outside the expected array, causing a data-dependent cache footprint that could leak information.

Detection Guidance

This vulnerability is a speculative execution side-channel issue in the Linux kernel's IPv4 routing table lookup. Detection requires kernel source code analysis or specialized Spectre-v1 testing tools. No direct network commands can detect it as it involves CPU speculative execution behavior.

Impact Analysis

An attacker with local access could potentially leak sensitive kernel memory contents through cache side channels. This could expose data like passwords, encryption keys, or other secrets processed by the system. However, real-world exploitation would require precise timing and branch prediction manipulation.

Compliance Impact

This vulnerability could potentially lead to unauthorized data access, violating confidentiality requirements in GDPR (Article 32) and HIPAA (Security Rule). Organizations must ensure systems are patched to prevent such information leaks that could result in compliance violations and data breach notifications.

Mitigation Strategies

Apply kernel patches that add array_index_nospec() hardening to fib_table_lookup(), fib_find_node(), leaf_walk_rcu(), and fib_trie_get_next(). Update to a Linux kernel version containing the fix. Monitor vendor advisories for backported fixes to your distribution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143146. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...