Skip to main content

In the Linux kernel, the following vulnerability has been resolved: dm-pcache: validate on-media seg_num against the cache device size seg_num is… (CVE-2026-80960)

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

Description

A vulnerability in the Linux kernel's dm-pcache component allows an out-of-bounds write into the kernel heap during cache device initialization. The flaw arises because the seg_num value, read from the superblock and controlled by an administrator supplying the cache device, is not properly validated against the actual device size. This can lead to a memory overwrite beyond the intended bounds when initializing cache segments. The vulnerability has been resolved by rejecting invalid seg_num values that are zero, exceed the device capacity, or surpass a defined maximum segment count.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The Linux kernel's dm-pcache module previously did not validate the on-media seg_num value against the actual cache device size. Since seg_num is read from a crc32c-only superblock controlled by the cache device supplier (with CAP_SYS_ADMIN privileges), an attacker with administrative rights could supply a seg_num larger than the device can hold. This causes the CACHE_DEV_SEGMENT() macro to resolve to kernel memory beyond the mapped device, leading to an out-of-bounds write of approximately 12 KiB into the kernel heap during cache segment initialization. The fix involves rejecting seg_num values that are zero, exceed the device size, or are larger than PCACHE_CACHE_SEGS_MAX before use.

Potential Impact

An attacker with CAP_SYS_ADMIN privileges who supplies a malicious cache device can trigger an out-of-bounds write in kernel memory during dm-pcache initialization. This memory corruption could potentially lead to system instability or privilege escalation, depending on exploitation context. However, exploitation requires administrative capability to supply the cache device, limiting the attack surface.

Mitigation Recommendations

The vulnerability has been resolved by adding validation checks to reject invalid seg_num values before they are used. Users should apply the official Linux kernel update that includes this fix. No additional mitigation is required once the patch is applied.

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-5phx-c495-rgx5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-80960"]

Threat ID: 6aa4a02f55bf5e2cf5a86b72

Added to database: 09/12/2026, 00:43:27 UTC

Last enriched: 09/12/2026, 01:25:30 UTC

Last updated: 09/12/2026, 02:21:35 UTC

Views: 4

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