{
  "id": "CVE-2026-31668",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31668",
  "published_at": "2026-04-24T14:45:16.63Z",
  "title": "seg6: separate dst_cache for input and output paths in seg6 lwtunnel",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-459",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.10:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 1dec91d3b1cefb82635761b7812154af3ef46449",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 750569d6987a0ff46317a4b86eb3907e296287bf",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 57d0374d14fa667dec6952173b93e7e84486d5c9",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 84d458018b147176b259347103fccb7e93abd2b1",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 6305ad032b03d2ea4181b953a66e19a9a6ed053c",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c fb56de5d99218de49d5d43ef3a99e062ecd0f9a1",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c 17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a",
          "\u003e= 6c8702c60b88651072460f3f4026c7dfe2521d12, \u003c c3812651b522fe8437ebb7063b75ddb95b571643"
        ],
        "fixed_in": [
          "1dec91d3b1cefb82635761b7812154af3ef46449",
          "750569d6987a0ff46317a4b86eb3907e296287bf",
          "57d0374d14fa667dec6952173b93e7e84486d5c9",
          "84d458018b147176b259347103fccb7e93abd2b1",
          "6305ad032b03d2ea4181b953a66e19a9a6ed053c",
          "fb56de5d99218de49d5d43ef3a99e062ecd0f9a1",
          "17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a",
          "c3812651b522fe8437ebb7063b75ddb95b571643"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.10"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.169",
          "6.6.135",
          "6.12.82",
          "6.18.23",
          "6.19.13",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1dec91d3b1cefb82635761b7812154af3ef46449 or 750569d6987a0ff46317a4b86eb3907e296287bf or 57d0374d14fa667dec6952173b93e7e84486d5c9 or 84d458018b147176b259347103fccb7e93abd2b1 or 6305ad032b03d2ea4181b953a66e19a9a6ed053c or fb56de5d99218de49d5d43ef3a99e062ecd0f9a1 or 17d87d42874f5d6c1a0ccc6d9190dfe82a9a7a6a or c3812651b522fe8437ebb7063b75ddb95b571643 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.169 or 6.6.135 or 6.12.82 or 6.18.23 or 6.19.13 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
