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

Summary

CVECVE-2026-31668
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-24 15:16:46 UTC
Updated2026-04-24 17:51:40 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 1dec91d3b1cefb82635761b7812154af3ef46449 git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 750569d6987a0ff46317a4b86eb3907e296287bf git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 57d0374d14fa667dec6952173b93e7e84486d5c9 git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 84d458018b147176b259347103fccb7e93abd2b1 git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 6305ad032b03d2ea4181b953a66e19a9a6ed053c git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 fb56de5d99218de49d5d43ef3a99e062ecd0f9a1 git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a git Not specified
CNA Linux Linux affected 6c8702c60b88651072460f3f4026c7dfe2521d12 c3812651b522fe8437ebb7063b75ddb95b571643 git Not specified
CNA Linux Linux affected 4.10 Not specified
CNA Linux Linux unaffected 4.10 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.203 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.169 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.135 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.82 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.23 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.13 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/57d0374d14fa667dec6952173b93e7e84486d5c9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c3812651b522fe8437ebb7063b75ddb95b571643 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/750569d6987a0ff46317a4b86eb3907e296287bf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1dec91d3b1cefb82635761b7812154af3ef46449 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fb56de5d99218de49d5d43ef3a99e062ecd0f9a1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6305ad032b03d2ea4181b953a66e19a9a6ed053c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/84d458018b147176b259347103fccb7e93abd2b1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report