Impact
An out‑of‑bounds write occurs in the Linux kernel when it processes IPv6 lightweight tunnels such as seg6, ioam6, or rpl that are used on a VLAN interface with reorder_hdr turned off. The code sizes its skb headroom based on dst_dev_overhead(), assuming 16 bytes of reserved space for a plain Ethernet MAC header. If the rebuilt MAC header is longer, skb_set_mac_header receives a negative offset, which is stored unchecked in skb->mac_header. The subsequent memmove copies skb->mac_len bytes beyond the skb head, corrupting memory past the start of the packet buffer. This corruption can crash the kernel or, if the attacker can control the contents, may allow arbitrary code execution.
Affected Systems
All Linux kernel installations that support seg6, ioam6, or rpl lightweight tunnels and forward IPv6 traffic through a VLAN device with reorder_hdr disabled are potentially affected. No specific release is mentioned; the vulnerability applies to any kernel containing the described code path until the commit referenced in the advisory is applied.
Risk and Exploitability
The flaw results in kernel memory corruption that can lead to a crash or local privilege escalation. The advisory reports a CVSS score of 5.9. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. Attackers need to be able to send crafted IPv6 packets to the affected host; remote exploitation is possible where such traffic is accepted. The issue is considered moderate severity due to its potential to compromise kernel integrity.
OpenCVE Enrichment