{
  "id": "CVE-2026-93201",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-93201",
  "published_at": "2026-09-17T16:12:22.392Z",
  "title": "dm-pcache: validate seg_id fields from persistent memory",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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\ndm-pcache: validate seg_id fields from persistent memory\n\ncache_pos_decode(), cache_key_decode() and the last-kset branches of\ncache_replay(), the writeback worker and the GC worker take a cache\nsegment id from the cache device metadata and index cache-\u003esegments[]\nwith it without checking it against cache-\u003en_segs. That metadata is only\nCRC-protected with a fixed public seed, so whoever supplies the cache\ndevice on a table load (CAP_SYS_ADMIN) controls the id; an out-of-range\nvalue forms a wild pcache_cache_segment pointer that is dereferenced and\nwritten through -- an out-of-bounds read and write driven by on-disk data.\n\nAdd cache_seg_id_valid() and reject an out-of-range id at each decode\nsite, failing the operation with -EIO instead of indexing past the array.\nBound the id against the initialized-segment count (cache_info.n_segs)\nrather than the physical device total. A forged cache_info.n_segs below\nseg_num otherwise leaves segments[cache_info.n_segs..seg_num) as zeroed\nstructs whose data pointer is NULL, so a forged id in that window would\nstill be dereferenced. A later patch guarantees cache_info.n_segs \u003c=\nseg_num, and a driver-created cache sets the two equal, so valid images\nare unaffected.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \u003c 96d4b275281b45aacd0f0510fa8bec85d9f7dc5a",
          "\u003e= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \u003c b4bf8af5e7d7db4c5e179e15017da55857761ac4",
          "\u003e= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, \u003c 90c990a68460d7b5720e5634cf650eccdf0f4098"
        ],
        "fixed_in": [
          "96d4b275281b45aacd0f0510fa8bec85d9f7dc5a",
          "b4bf8af5e7d7db4c5e179e15017da55857761ac4",
          "90c990a68460d7b5720e5634cf650eccdf0f4098"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.57",
          "7.2.6",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 96d4b275281b45aacd0f0510fa8bec85d9f7dc5a or b4bf8af5e7d7db4c5e179e15017da55857761ac4 or 90c990a68460d7b5720e5634cf650eccdf0f4098 or later.",
      "Upgrade Linux to 0 or 6.18.57 or 7.2.6 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
