VDB

CVE-2026-98570

CVE-2026-98570 PUBLISHED

net: ipv6: keep room for the mac header in dst_dev_overhead()

Reported by linux · Published October 18, 2026

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 and rpl lwtunnels size their skb_cow_head() request as the length they are about to push plus dst_dev_overhead(), then push the new headers and rebuild the mac header below them with skb_mac_header_rebuild(). That rebuild needs skb->mac_len of headroom, but dst_dev_overhead() leaves LL_RESERVED_SPACE() of the egress device, 16 bytes for plain Ethernet. Where the mac header is longer than that, as it is on ingress through a VLAN device with reorder_hdr off, the rebuild runs out of room: skb_set_mac_header(skb, -skb->mac_len) computes a negative offset, stores it unchecked in the u16 skb->mac_header, and the memmove that follows writes skb->mac_len bytes about 64 KB past skb->head. Forwarding plain ping6 traffic through such a device reproduces it on all five seg6 encapsulation modes and on the rpl and ioam6 inline paths; skb->mac_header comes back as 65534 on a 704-byte head. Return the larger of the two. The helper already returns skb->mac_len when it has no dst, so this only makes the other branch agree, and it covers every caller rather than each call site in turn.

EPSS 0.19% · 8.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux87cd6b717e4069dca34e0866e57eaeb44d3b173e, 6.14, 6.13, 6.7, 6.2, 5.16, 5.11, 36c07127924f11fc5741a780abcaaf808fe9ef13

Risk scores

EPSS Score
0.19%
8.6th percentile

Affected products

VendorProductVersions
LinuxLinuxdce525185bc92864e5a318040285ee070563fe34, dce525185bc92864e5a318040285ee070563fe34, 8471e228448a818e4c27cab4b681b2e758e46cf5
LinuxLinux6.14, 0, 7.2.9
LinuxLinux7.2.9, 6.12.16, 6.13.4
linuxlinux_kernel6.14, 6.12.16, 6.13.4

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98570
vulnetix vdb fixes CVE-2026-98570

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98570/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›