Impact
The Linux kernel’s fib6_add_rt2node() routine performs an out‑of‑bounds read when an IPv6 route that includes the RTA_NH_ID attribute is added. The function attempts to dereference a missing trailing struct fib6_nh, resulting in a read beyond the allocated memory bounds. This flaw is a classic out‑of‑bounds read (CWE‑125) and may cause a kernel panic or expose sensitive kernel contents, as reported by KASAN diagnostics.
Affected Systems
All Linux kernel versions that predate the stabilization commit 03b5051e02f5a3772eee57493ad697d4b505b0c2, including every distribution kernel that has not yet incorporated this change. Any kernel build without the patch that corrects fib6_add_rt2node() remains vulnerable.
Risk and Exploitability
The CVSS score is 7.8, indicating moderate severity. The EPSS score is <1% (approximately 0.00018), and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker would need to add an IPv6 route with the RTA_NH_ID attribute, typically via a netlink route add operation. This action requires privileged access to the kernel’s routing tables, so a local privileged user can exercise the flaw directly; a remote attacker would first need to attain such privileges or manipulate an application that performs the route addition. If triggered, the out‑of‑bounds read may lead to a kernel crash, resulting in loss of service for the affected host.
OpenCVE Enrichment