Skip to main content

In the Linux kernel, the following vulnerability has been resolved: net: ipv6: keep room for the mac header in dst_dev_overhead() The seg6, ioam6… (CVE-2026-98570)

0
High
Published: 10/18/2026 (10/18/2026, 18:31:54 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's IPv6 networking code related to handling MAC header space in dst_dev_overhead() has been resolved. The issue occurs when the MAC header length exceeds the reserved space, such as with VLAN devices with reorder_hdr off, causing a negative offset and out-of-bounds memory write during skb_mac_header_rebuild(). This affects seg6, ioam6, and rpl lightweight tunnels. The fix ensures the function returns the larger of the two header size values to prevent memory corruption.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:49:00 UTC

Technical Analysis

The vulnerability in the Linux kernel involves the dst_dev_overhead() function used in IPv6 networking code, specifically in seg6, ioam6, and rpl lightweight tunnels. These tunnels size their skb_cow_head() request based on the length of headers to be pushed plus dst_dev_overhead(), then rebuild the MAC header with skb_mac_header_rebuild(). The function dst_dev_overhead() previously reserved space assuming a 16-byte Ethernet MAC header, but when the MAC header is longer (e.g., ingress through a VLAN device with reorder_hdr off), the rebuild runs out of room. This causes skb_set_mac_header() to compute a negative offset, which is stored unchecked, leading to a memmove operation that writes approximately 64 KB past the skb->head buffer, resulting in memory corruption. The patch fixes this by returning the larger of the two header size values, ensuring sufficient headroom and preventing the overflow.

Potential Impact

The vulnerability can cause out-of-bounds memory writes in the kernel networking stack when forwarding IPv6 traffic through certain VLAN devices. This memory corruption could potentially lead to kernel crashes or other undefined behavior. However, no known exploits in the wild have been reported. The impact is limited to scenarios involving seg6, ioam6, and rpl lightweight tunnels with specific VLAN configurations.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this vulnerability by adjusting dst_dev_overhead() to return the larger required MAC header size, preventing the out-of-bounds write. Users should apply the official kernel update containing this fix. Since this is a kernel-level issue, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the vendor or kernel maintainers for the specific fixed versions and apply updates accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4prh-wfp5-28j7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98570"]

Threat ID: 6ad520af2cdf04f656993abb

Added to database: 10/18/2026, 19:40:31 UTC

Last enriched: 10/18/2026, 20:49:00 UTC

Last updated: 10/18/2026, 22:08:19 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses