{"id":"CVE-2026-31668","aliases":["CVE-2026-31668"],"related":[],"kind":"vulnerability","state":"published","title":"seg6: separate dst_cache for input and output paths in seg6 lwtunnel","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: separate dst_cache for input and output paths in seg6 lwtunnel\n\nThe seg6 lwtunnel uses a single dst_cache per encap route, shared\nbetween seg6_input_core() and seg6_output_core(). These two paths\ncan perform the post-encap SID lookup in different routing contexts\n(e.g., ip rules matching on the ingress interface, or VRF table\nseparation). Whichever path runs first populates the cache, and the\nother reuses it blindly, bypassing its own lookup.\n\nFix this by splitting the cache into cache_input and cache_output,\nso each path maintains its own cached dst independently.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: separate dst_cache for input and output paths in seg6 lwtunnel\n\nThe seg6 lwtunnel uses a single dst_cache per encap route, shared\nbetween seg6_input_core() and seg6_output_core(). These two paths\ncan perform the post-encap SID lookup in different routing contexts\n(e.g., ip rules matching on the ingress interface, or VRF table\nseparation). Whichever path runs first populates the cache, and the\nother reuses it blindly, bypassing its own lookup.\n\nFix this by splitting the cache into cache_input and cache_output,\nso each path maintains its own cached dst independently.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nseg6: separar dst_cache para las rutas de entrada y salida en el lwtunnel seg6\n\nEl 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.\n\nEsto se soluciona dividiendo la caché en cache_input y cache_output, para que cada ruta mantenga su propia dst en caché de forma independiente.","source":"nvd"}],"published":"2026-04-24T14:45:16.630Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"1dec91d3b1cefb82635761b7812154af3ef46449","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"750569d6987a0ff46317a4b86eb3907e296287bf","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"57d0374d14fa667dec6952173b93e7e84486d5c9","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"84d458018b147176b259347103fccb7e93abd2b1","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"6305ad032b03d2ea4181b953a66e19a9a6ed053c","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"fb56de5d99218de49d5d43ef3a99e062ecd0f9a1","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a","status":"affected"},{"type":"git","introduced":"6c8702c60b88651072460f3f4026c7dfe2521d12","fixed":"c3812651b522fe8437ebb7063b75ddb95b571643","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.10","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.169","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.135","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.82","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.23","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.13","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.10.1","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.169"},{"status":"affected","introduced":"6.2","fixed":"6.6.135"},{"status":"affected","introduced":"6.7","fixed":"6.12.82"},{"status":"affected","introduced":"6.13","fixed":"6.18.23"},{"status":"affected","introduced":"6.19","fixed":"6.19.13"},{"status":"affected","version":"4.10"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1dec91d3b1cefb82635761b7812154af3ef46449","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/750569d6987a0ff46317a4b86eb3907e296287bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57d0374d14fa667dec6952173b93e7e84486d5c9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84d458018b147176b259347103fccb7e93abd2b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6305ad032b03d2ea4181b953a66e19a9a6ed053c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb56de5d99218de49d5d43ef3a99e062ecd0f9a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3812651b522fe8437ebb7063b75ddb95b571643","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:11:58.632Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31668","url":"https://www.cve.org/CVERecord?id=CVE-2026-31668","licence":"CVE Terms of Use","modified":"2026-10-19T18:56:03.191Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31668","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31668","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.543Z","epss":{"score":0.0046,"percentile":0.41566,"date":"2026-12-01T12:00:22.000Z"}}