Menu

Star on GitHub · 3.3k

CVE-2025-68211

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ksm: use range-walk function to jump over holes in scan_get_next_rmap_item Currently, scan_get_next_rmap_item() walks every pag…

Published Dec 16, 2025EPSS 0.15%

Overview

CVE-2025-68211 is a medium-severity vulnerability. It was published on December 16, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

ksm: use range-walk function to jump over holes in scan_get_next_rmap_item

Currently, scan_get_next_rmap_item() walks every page address in a VMA to

locate mergeable pages. This becomes highly inefficient when scanning

large virtual memory areas that contain mostly unmapped regions, causing

ksmd to use large amount of cpu without deduplicating much pages.

This patch replaces the per-address lookup with a range walk using

walk_page_range(). The range walker allows KSM to skip over entire

unmapped holes in a VMA, avoiding unnecessary lookups. This problem was

previously discussed in [1].

Consider the following test program which creates a 32 TiB mapping in the

virtual address space but only populates a single page:

#include <unistd.h>

#include <stdio.h>

#include <sys/mman.h>

/* 32 TiB */

const size_t size = 32ul * 1024 * 1024 * 1024 * 1024;

int main() {

char *area = mmap(NULL, size, PROT_READ | PROT_WRI

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-68211?

CVE-2025-68211 is a medium-severity vulnerability. It was published on December 16, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-68211?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-68211?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-68211?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-68211 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all
LiveWatch live →