Bug 2532323 (CVE-2026-80962) - CVE-2026-80962 kernel: dm-pcache: validate geometry fields from on-disk cache_info
Summary: CVE-2026-80962 kernel: dm-pcache: validate geometry fields from on-disk cache...
Keywords:
Status: NEW
Alias: CVE-2026-80962
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-11 22:21 UTC by OSIDB Bzimport
Modified: 2026-09-14 16:48 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-11 22:21:39 UTC
In the Linux kernel, the following vulnerability has been resolved:

dm-pcache: validate geometry fields from on-disk cache_info

cache_segs_init() iterates cache_info->n_segs times indexing
cache->segments[], which is sized to the cache device geometry, and
get_seg_id() takes each segment id from the on-media cache_info and the
per-segment next_seg link. Both come from cache device metadata that is
only CRC-protected with a fixed public seed, so whoever supplies the
cache device on a table load (CAP_SYS_ADMIN) controls them: an oversized
n_segs or an out-of-range id drives an out-of-bounds access of
cache->segments[] and a wild CACHE_DEV_SEGMENT() pointer into the device
mapping -- an out-of-bounds read and write from on-disk data.

Reject an n_segs that exceeds the device segment count and a segment id
that is out of range before either is used. Valid metadata is unaffected.


Note You need to log in before you can comment on or make changes to this bug.