CVE-2026-31668

Source
https://cve.org/CVERecord?id=CVE-2026-31668
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31668.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31668
Downstream
Published
2026-04-24T14:45:16.630Z
Modified
2026-05-18T05:59:54.203832672Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
seg6: separate dst_cache for input and output paths in seg6 lwtunnel
Details

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 dstcache per encap route, shared between seg6inputcore() and seg6output_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 cacheinput and cacheoutput, so each path maintains its own cached dst independently.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31668.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6c8702c60b88651072460f3f4026c7dfe2521d12
Fixed
1dec91d3b1cefb82635761b7812154af3ef46449
Fixed
750569d6987a0ff46317a4b86eb3907e296287bf
Fixed
57d0374d14fa667dec6952173b93e7e84486d5c9
Fixed
84d458018b147176b259347103fccb7e93abd2b1
Fixed
6305ad032b03d2ea4181b953a66e19a9a6ed053c
Fixed
fb56de5d99218de49d5d43ef3a99e062ecd0f9a1
Fixed
17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a
Fixed
c3812651b522fe8437ebb7063b75ddb95b571643

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31668.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.253
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.169
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.135
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.82
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.23
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.13

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31668.json"