In the Linux kernel, the following vulnerability has been resolved: dm-pcache: only hand out initialized cache segments get_cache_segment() scans… (CVE-2026-80956)
A vulnerability in the Linux kernel's dm-pcache subsystem was resolved where uninitialized cache segments could be handed out by the allocator. This occurs because get_cache_segment() scans up to the physical device segment count, but only a smaller number of segments are initialized, potentially leading to a NULL data pointer being used without checks. The fix bounds the allocator's search to only initialized segments, preventing use of uninitialized segments.
AI Analysis
Technical Summary
The Linux kernel's dm-pcache component had a flaw in get_cache_segment() where it scanned the segment map up to the physical device segment count (cache->n_segs), but cache_segs_init() only initialized the first cache_info->n_segs segments. If cache_info->n_segs was smaller than the device count, the remaining cache segment structures were zeroed with segment.data == NULL. The allocator could return one of these uninitialized segments to cache_kset_close(), which writes through the segment's data pointer without checking for NULL, leading to potential memory corruption. The patch restricts the allocator's search to cache_info->n_segs, ensuring only initialized segments are returned. Legitimate caches set n_segs equal to the device segment count, so this fix does not reject valid segments.
Potential Impact
This vulnerability could lead to memory corruption or kernel instability due to writes through NULL or uninitialized pointers in the dm-pcache subsystem. There is no information about active exploitation in the wild. The impact is limited to systems using dm-pcache with a crafted cache image that triggers the condition.
Mitigation Recommendations
A fix has been applied to the Linux kernel to bound the allocator's search to only initialized cache segments, preventing the use of uninitialized segments. Users should update their Linux kernel to a version including this fix once available. Patch status is not explicitly confirmed in the input; verify with the official Linux kernel advisories for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: only hand out initialized cache segments get_cache_segment() scans… (CVE-2026-80956)
Description
A vulnerability in the Linux kernel's dm-pcache subsystem was resolved where uninitialized cache segments could be handed out by the allocator. This occurs because get_cache_segment() scans up to the physical device segment count, but only a smaller number of segments are initialized, potentially leading to a NULL data pointer being used without checks. The fix bounds the allocator's search to only initialized segments, preventing use of uninitialized segments.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's dm-pcache component had a flaw in get_cache_segment() where it scanned the segment map up to the physical device segment count (cache->n_segs), but cache_segs_init() only initialized the first cache_info->n_segs segments. If cache_info->n_segs was smaller than the device count, the remaining cache segment structures were zeroed with segment.data == NULL. The allocator could return one of these uninitialized segments to cache_kset_close(), which writes through the segment's data pointer without checking for NULL, leading to potential memory corruption. The patch restricts the allocator's search to cache_info->n_segs, ensuring only initialized segments are returned. Legitimate caches set n_segs equal to the device segment count, so this fix does not reject valid segments.
Potential Impact
This vulnerability could lead to memory corruption or kernel instability due to writes through NULL or uninitialized pointers in the dm-pcache subsystem. There is no information about active exploitation in the wild. The impact is limited to systems using dm-pcache with a crafted cache image that triggers the condition.
Mitigation Recommendations
A fix has been applied to the Linux kernel to bound the allocator's search to only initialized cache segments, preventing the use of uninitialized segments. Users should update their Linux kernel to a version including this fix once available. Patch status is not explicitly confirmed in the input; verify with the official Linux kernel advisories for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2r45-hwhh-3hc3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-80956"]
Threat ID: 6aa4a03055bf5e2cf5a871ed
Added to database: 09/12/2026, 00:43:28 UTC
Last enriched: 09/12/2026, 01:25:39 UTC
Last updated: 09/12/2026, 02:21:33 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.