Description
In the Linux kernel, the following vulnerability has been resolved:

dm-pcache: reject a kset that overruns its segment

cache_replay(), the writeback worker and the GC worker read a kset of
get_kset_onmedia_size() bytes and advance the position by it. A forged
key_num makes that size exceed the segment's remaining space, so the
advance walks past the segment and trips the cache_pos_advance() BUG_ON.

Reject a kset whose on-media size exceeds cache_seg_remain() before use.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service via kernel panic
Action: Patch
AI Analysis

Impact

The dm‑pcache module in the Linux kernel contains a flaw that allows an attacker to forge a key identifier such that the calculated on‑media size exceeds the remaining space in a cache segment. When the kernel processes this forged key, it reads past the end of the segment, triggers an internal BUG_ON, and crashes the kernel. The resulting kernel panic leads to an immediate denial of service even though no data is corrupted, as only the operating system is disrupted.

Affected Systems

All Linux kernel releases prior to the commit that adds a check against overrunning the cache segment. The vulnerability applies to the generic dm‑pcache implementation and therefore affects every distribution that ships an unpatched kernel in which dm‑pcache is enabled.

Risk and Exploitability

The vulnerability is a classic out‑of‑bounds memory access that can be exploited to crash the system. Attackers must craft a kset with a forged key number that causes the segment overrun; this likely requires interaction with the dm‑pcache interface, which is normally available to privileged or userspace programs that manage device-mapper caches. The EPSS score is not available and the flaw is not listed in CISA’s KEV catalog, so the current exploitation probability is unclear, but the potential impact of a kernel panic is high. Defensive mitigation therefore involves ensuring the kernel is patched before the system is exposed to untrusted input that may reach the dm‑pcache subsystem.

Generated by OpenCVE AI on October 18, 2026 at 20:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a Linux kernel version that includes the dm‑pcache patch that rejects ksets whose on‑media size exceeds the remaining segment size.
  • Ensure the updated kernel is active and that no older kernel remains bootable from the system’s EFI or bootloader configuration.
  • If an immediate kernel upgrade is not possible, disable the dm‑pcache module or restrict access to device‑mapper cache interfaces for untrusted users or processes.

Generated by OpenCVE AI on October 18, 2026 at 20:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-129

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: dm-pcache: reject a kset that overruns its segment cache_replay(), the writeback worker and the GC worker read a kset of get_kset_onmedia_size() bytes and advance the position by it. A forged key_num makes that size exceed the segment's remaining space, so the advance walks past the segment and trips the cache_pos_advance() BUG_ON. Reject a kset whose on-media size exceeds cache_seg_remain() before use.
Title dm-pcache: reject a kset that overruns its segment
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:51:30.658Z

Reserved: 2026-09-25T10:25:14.377Z

Link: CVE-2026-98868

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:41.320

Modified: 2026-10-18T16:17:41.320

Link: CVE-2026-98868

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T21:00:10Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-129

    Improper Validation of Array Index