Impact
The vulnerability in the Linux kernel occurs when ip6_tnl_xmit() expands headroom for IPv6 tunnel headers using skb_realloc_headroom(). If that helper fails after expansion, subsequent error handling can free an original socket buffer that has already been consumed, leading to a stale pointer and potential double‑free or memory corruption. This flaw is a classic instance of improper error handling on kernel data structures (CWE‑1341) and can compromise system integrity by corrupting kernel memory. The developer mitigation replaces skb_realloc_headroom() with skb_cow_head(), making the headroom allocation safe even after failures, and aligns the tunnel path with other IP tunnel implementations.
Affected Systems
The issue affects the Linux kernel itself, as specified by the kernel vendor entries and the corresponding CPE string. All kernel versions prior to the patch that include the vulnerable ip6_tnl_xmit() implementation are impacted. Exact vulnerable version ranges are not listed, so any fix should be regarded as at risk.
Risk and Exploitability
The CVSS score of 4.4 classifies this as Low severity. EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, indicating a low likely attack vector is inferred to be delivery of malformed IPv6 tunnel packets from an external or internal attacker, which could trigger the faulty path during packet transmission. However, since the flaw requires specific failure conditions in the reallocation helper, it is considered non‑easily exploitable without further research.
OpenCVE Enrichment