seg6: separate dst_cache for input and output paths in seg6 lwtunnel (Linux Linux)

CVE-2026-31668
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.44 % · percentile 38 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-459 — Incomplete Cleanup

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 1dec91d3b1cefb82635761b7812154af3ef46449 ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 750569d6987a0ff46317a4b86eb3907e296287bf ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 57d0374d14fa667dec6952173b93e7e84486d5c9 ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 84d458018b147176b259347103fccb7e93abd2b1 ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < 6305ad032b03d2ea4181b953a66e19a9a6ed053c ; affected 6c8702c60b88651072460f3f4026c7dfe2521d12 < fb56de5d99218de49d5d43ef3a99e062ecd0f9a1
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.169 ≤ 6.1.* ; unaffected 6.6.135 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD