CVE-2026-31668
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6c8702c60b88651072460f3f4026c7dfe2521d12 before 1dec91d3b1cefb82635761b7812154af3ef46449, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 750569d6987a0ff46317a4b86eb3907e296287bf, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 57d0374d14fa667dec6952173b93e7e84486d5c9, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 84d458018b147176b259347103fccb7e93abd2b1, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 6305ad032b03d2ea4181b953a66e19a9a6ed053c, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before fb56de5d99218de49d5d43ef3a99e062ecd0f9a1, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before 17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a, from 6c8702c60b88651072460f3f4026c7dfe2521d12 before c3812651b522fe8437ebb7063b75ddb95b571643 and 1 more
Not affected: before 4.10, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.169 up to 6.1.*, from 6.6.135 up to 6.6.*, from 6.12.82 up to 6.12.*
CVE List
linux linux_kernelfrom 4.10.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.169, from 6.2 before 6.6.135, from 6.7 before 6.12.82, from 6.13 before 6.18.23, from 6.19 before 6.19.13, 4.10 and 1 moreNVD

Classification

CWE-459

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: seg6: separar dst_cache para las rutas de entrada y salida en el lwtunnel seg6 El lwtunnel seg6 utiliza una única dst_cache por ruta de encapsulación, compartida entre seg6_input_core() y seg6_output_core(). Estas dos rutas pueden realizar la búsqueda de SID post-encapsulación en diferentes contextos de enrutamiento (por ejemplo, reglas IP que coinciden en la interfaz de entrada, o separación de tablas VRF). Cualquiera de las rutas que se ejecute primero rellena la caché, y la otra la reutiliza ciegamente, omitiendo su propia búsqueda. Esto se soluciona dividiendo la caché en cache_input y cache_output, para que cada ruta mantenga su propia dst en caché de forma independiente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31668 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-31668 changed 2026-11-11Public domain