CVE-2026-31668

seg6: separate dst_cache for input and output paths in seg6 lwtunnel

9.8 critical EPSS 0.46%

Published 24 Apr 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-31668

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-31668 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

seg6: separate dst_cache for input and output paths in seg6 lwtunnel

The seg6 lwtunnel uses a single dst_cache per encap route, shared between seg6_input_core() and seg6_output_core(). These two paths can perform the post-encap SID lookup in different routing contexts (e.g., ip rules matching on the ingress interface, or VRF table separation). Whichever path runs first populates the cache, and the other reuses it blindly, bypassing its own lookup.

Fix this by splitting the cache into cache_input and cache_output, so each path maintains its own cached dst independently.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 41.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 1dec91d3b1cefb82635761b7812154af3ef46449
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 750569d6987a0ff46317a4b86eb3907e296287bf
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 57d0374d14fa667dec6952173b93e7e84486d5c9
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 84d458018b147176b259347103fccb7e93abd2b1
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 6305ad032b03d2ea4181b953a66e19a9a6ed053c
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before fb56de5d99218de49d5d43ef3a99e062ecd0f9a1
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before 17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a
affected from 6c8702c60b88651072460f3f4026c7dfe2521d12, before c3812651b522fe8437ebb7063b75ddb95b571643
Other versions: unaffected
Linux
affected 4.10
unaffected before 4.10
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.169 up to and including 6.1.*
unaffected from 6.6.135 up to and including 6.6.*
unaffected from 6.12.82 up to and including 6.12.*
unaffected from 6.18.23 up to and including 6.18.*
unaffected from 6.19.13 up to and including 6.19.*
unaffected 7.0 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-31668 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31668

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-31668
trivy image --scanners vuln IMAGE | grep CVE-2026-31668

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

Source: the record CVE-2026-31668 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.