CVE-2025-68211

Description

A resource exhaustion vulnerability was found in the Kernel Same-page Merging (KSM) subsystem of the Linux kernel. When scanning processes with large sparse virtual memory mappings (e.g., 32 TiB with one mapped page), ksmd inefficiently walks every address rather than skipping unmapped holes. This causes ksmd to consume 100% CPU for extended periods.

Statement

Any process can create large sparse mappings with MADV_MERGEABLE, causing ksmd to waste CPU cycles. This is a denial of service against the KSM deduplication daemon rather than a memory corruption issue.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.55.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU)

Frequently Asked Questions

Want to get errata notifications? Sign up here.