VDB

CVE-2026-93201

CVE-2026-93201 PUBLISHED CVSS 7.8 HIGH

dm-pcache: validate seg_id fields from persistent memory

Reported by linux · Published September 17, 2026

In the Linux kernel, the following vulnerability has been resolved: dm-pcache: validate seg_id fields from persistent memory cache_pos_decode(), cache_key_decode() and the last-kset branches of cache_replay(), the writeback worker and the GC worker take a cache segment id from the cache device metadata and index cache->segments[] with it without checking it against cache->n_segs. That metadata is only CRC-protected with a fixed public seed, so whoever supplies the cache device on a table load (CAP_SYS_ADMIN) controls the id; an out-of-range value forms a wild pcache_cache_segment pointer that is dereferenced and written through -- an out-of-bounds read and write driven by on-disk data. Add cache_seg_id_valid() and reject an out-of-range id at each decode site, failing the operation with -EIO instead of indexing past the array. Bound the id against the initialized-segment count (cache_info.n_segs) rather than the physical device total. A forged cache_info.n_segs below seg_num otherwise leaves segments[cache_info.n_segs..seg_num) as zeroed structs whose data pointer is NULL, so a forged id in that window would still be dereferenced. A later patch guarantees cache_info.n_segs <= seg_num, and a driver-created cache sets the two equal, so valid images are unaffected.

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxb4bf8af5e7d7db4c5e179e15017da55857761ac4, 90c990a68460d7b5720e5634cf650eccdf0f4098

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinux1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0
LinuxLinux6.18, 0, 6.18.57
LinuxLinux kernel
LinuxLinux0, 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, 6.18.57
linuxlinux_kernel6.18, 6.18, 6.18

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-93201
vulnetix vdb fixes CVE-2026-93201

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-93201/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›