Skip to main content

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)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:21 UTC)
Source: GCVE Database

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

AILast updated: 09/12/2026, 01:25:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses