In the Linux kernel, the following vulnerability has been resolved: dm-pcache: fix use-after-free and invalid seg operations in kset_replay() In… (CVE-2026-80955)
A use-after-free vulnerability in the Linux kernel's dm-pcache subsystem was fixed in the kset_replay() function. The flaw occurs when a stale key's memory is freed but then accessed, leading to potential memory corruption. Additionally, invalid operations on expired keys were corrected to prevent accessing invalid segment data.
AI Analysis
Technical Summary
The Linux kernel's dm-pcache component contained a use-after-free vulnerability in the kset_replay() function. Specifically, when key->seg_gen was stale (less than key->cache_pos.cache_seg->gen), cache_key_put(key) freed the key memory, but subsequent code accessed key->cache_pos.cache_seg, causing a use-after-free. Although memory reuse was delayed in practice, the bug posed a potential risk. Furthermore, for expired invalid keys, the code incorrectly set cache->seg_map bits and called cache_seg_get() on invalid segment data. The fix involved reordering operations to ensure cache_seg_get() and __set_bit() only execute for valid keys and skipping invalid keys appropriately.
Potential Impact
This vulnerability could lead to use-after-free memory corruption within the dm-pcache kernel module. While no known exploits are reported, such memory corruption bugs can cause system instability or potentially be leveraged for privilege escalation or denial of service if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting the order of operations in kset_replay(). Users should apply the official kernel updates that include this patch once available. Patch status is not yet confirmed in this data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: fix use-after-free and invalid seg operations in kset_replay() In… (CVE-2026-80955)
Description
A use-after-free vulnerability in the Linux kernel's dm-pcache subsystem was fixed in the kset_replay() function. The flaw occurs when a stale key's memory is freed but then accessed, leading to potential memory corruption. Additionally, invalid operations on expired keys were corrected to prevent accessing invalid segment data.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's dm-pcache component contained a use-after-free vulnerability in the kset_replay() function. Specifically, when key->seg_gen was stale (less than key->cache_pos.cache_seg->gen), cache_key_put(key) freed the key memory, but subsequent code accessed key->cache_pos.cache_seg, causing a use-after-free. Although memory reuse was delayed in practice, the bug posed a potential risk. Furthermore, for expired invalid keys, the code incorrectly set cache->seg_map bits and called cache_seg_get() on invalid segment data. The fix involved reordering operations to ensure cache_seg_get() and __set_bit() only execute for valid keys and skipping invalid keys appropriately.
Potential Impact
This vulnerability could lead to use-after-free memory corruption within the dm-pcache kernel module. While no known exploits are reported, such memory corruption bugs can cause system instability or potentially be leveraged for privilege escalation or denial of service if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting the order of operations in kset_replay(). Users should apply the official kernel updates that include this patch once available. Patch status is not yet confirmed in this data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vjx8-9mvv-9939
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-80955"]
Threat ID: 6aa4a02d55bf5e2cf5a86b66
Added to database: 09/12/2026, 00:43:25 UTC
Last enriched: 09/12/2026, 01:24:29 UTC
Last updated: 09/12/2026, 02:41:31 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.