CVE-2026-98570
net: ipv6: keep room for the mac header in dst_dev_overhead()
Check your servers for CVE-2026-98570
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98570 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.46% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dce525185bc92864e5a318040285ee070563fe34, before 494d9ebed3edf8842776ab98e96969155c280f2b affected from dce525185bc92864e5a318040285ee070563fe34, before 36c07127924f11fc5741a780abcaaf808fe9ef13 affected from dce525185bc92864e5a318040285ee070563fe34, before 87cd6b717e4069dca34e0866e57eaeb44d3b173e affected 8471e228448a818e4c27cab4b681b2e758e46cf5 affected c432cd18a07b623651ed15ea167bd303467004cc affected 634710a372ba65bee667c2f6e58a97658c639eab affected c447c5a9c47bb4858ab12bf90879fe595d2b7f46 affected ab9de9c48316d2622d3bf353916b99971570e2c9 affected 2fcc9f3798ef82399564d247458e69abd10e683b affected 371d8dc298b4f59e99b4564ac5d906fce0932c69 affected b26f015dfb07b6be12d005a0ed0c5c43b7bedbf3 affected c0b11dc50590e10590b39dcda79835cd32f49d00 affected 4c12c3c8abd8b888945d31e7bdbb0d8b73032fc5 affected 25d8e065c7972dc98fd7a4cac322d5367eaede88 affected 4a855c5aec41bf84922224ab7a74e088776e3ac4 affected a9f0407414e16176fdbbbd298c9e18d6dfdf96bc affected from 6.12.16, before 6.13 affected from 6.13.4, before 6.14 affected from 5.15.179, before 5.16 affected from 6.1.130, before 6.2 affected from 6.6.81, before 6.7 affected from 5.10.235, before 5.11
Other versions: unaffected
|
| Linux |
affected 6.14 unaffected before 6.14 unaffected from 6.18.66 up to and including 6.18.* unaffected from 7.2.9 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98570 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98570
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98570
trivy image --scanners vuln IMAGE | grep CVE-2026-98570
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/494d9ebed3edf8842776ab98e96969155c280f2b git.kernel.org
- https://git.kernel.org/stable/c/36c07127924f11fc5741a780abcaaf808fe9ef13 git.kernel.org
- https://git.kernel.org/stable/c/87cd6b717e4069dca34e0866e57eaeb44d3b173e git.kernel.org
Source: the record CVE-2026-98570 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse