VDB

CVE-2026-80956

CVE-2026-80956 PUBLISHED

dm-pcache: only hand out initialized cache segments

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: dm-pcache: only hand out initialized cache segments get_cache_segment() scans the segment map up to cache->n_segs, the physical device segment count, but cache_segs_init() only initializes the first cache_info->n_segs segments. A crafted image with cache_info->n_segs smaller than the device count leaves the remaining pcache_cache_segment structs zeroed (segment.data == NULL), and the allocator can hand one to cache_kset_close(), which writes through the returned segment's data pointer with no NULL check. Bound the allocator's search to cache_info->n_segs so only initialized segments are ever returned. A conforming cache sets n_segs equal to the device segment count, so this rejects nothing legitimate.

EPSS 0.21% · 10.7th percentile

Fixed versions

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

PackageEcosystemFixed in
LinuxLinux83e3116283ed2c6a6a1fa662862a4b4d7d2701a2, 692037ae1a7cfacc2f0c22c6e034c1dfee0e553f, 6.18, 2df0fc042e299bae3c0f60ea5cd2af9285658e9f

Risk scores

EPSS Score
0.21%
10.7th percentile

Affected products

VendorProductVersions
LinuxLinux1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0
LinuxLinux6.18, 0, 6.18.50
LinuxLinux7.3, 0, 6.18.50
linuxlinux_kernel6.18, 6.18, 6.18

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (12 in total, the first dated here)
  • Sep 12, 2026 Coalition ESS Score
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80956
vulnetix vdb fixes CVE-2026-80956

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-80956/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 ›