PT-2025-51624
CVE-2025-68211
·
Published
2025-10-22
·
Updated
2026-10-18
Description by
CVSS 4.0
6.8
MediumMetricsAV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel’s KSM (Kernel Samepage Merging) functionality experienced performance issues when scanning large virtual memory areas with mostly unmapped regions. The
scan get next rmap item() function inefficiently walked every page address within a VMA to locate mergeable pages, leading to high CPU usage without significant deduplication. The issue was addressed by replacing the per-address lookup with a range walk using walk page range(). This allows KSM to skip unmapped holes in a VMA, avoiding unnecessary lookups and improving performance. A test program was provided that demonstrated the issue by creating a 32 TiB mapping with only one populated page, causing ksmd to use 100% CPU for an extended period without deduplicating.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾