← Back to CVE Explorer

CVE-2026-80957

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: dm-pcache: detect a cycle in the last-kset chain during replay cache_replay() follows the on-media last-kset chain by next_cache_seg_id with no cond_resched(). A forged chain that points back into a segment it has already visited makes the replay loop follow it forever. Cap the last-kset hops at cache->n_segs; a valid chain visits each segment at most once.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-11 20:19:01.520000
Last modified
2026-10-19 09:17:27.167000
View original CVE JSON
{
  "id": "CVE-2026-80957",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-11T20:19:01.520",
  "lastModified": "2026-10-19T09:17:27.167",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm-pcache: detect a cycle in the last-kset chain during replay\n\ncache_replay() follows the on-media last-kset chain by next_cache_seg_id\nwith no cond_resched(). A forged chain that points back into a segment it\nhas already visited makes the replay loop follow it forever.\n\nCap the last-kset hops at cache->n_segs; a valid chain visits each segment\nat most once."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/md/dm-pcache/cache_key.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
              "lessThan": "663ee2f3824a505b983162de44134e789f8230da",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
              "lessThan": "5311dfc5cd70edccd110257e3f30b2c1dcd3768d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1d57628ff95b32d5cfa8d8f50e07690c161e9cf0",
              "lessThan": "16c3b3a326e70f246a605b3dc27b7f83ba4743e3",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/md/dm-pcache/cache_key.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.50",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.4",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/16c3b3a326e70f246a605b3dc27b7f83ba4743e3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5311dfc5cd70edccd110257e3f30b2c1dcd3768d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/663ee2f3824a505b983162de44134e789f8230da",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}