Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-68211

published

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

Published
16 Dec 2025, 13:48:37 UTC
Updated
11 Jun 2026, 18:44:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 220cb3e425e17587f560335924cba9f16a842c64 · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 10644e8839544dd5699c03c8fb1aeeefc41602fd · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 67137b715b7db28d82e4ed07a7092c2fa6ba7adb · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 9c2f8a9b68024e5ebb4813665845ec0a95f2eac3 · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 74f78421c925b6d17695566f0c5941de57fd44b3 · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < f62973e0767e4fcd6799087787fca08ca2a85b8c · 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < f5548c318d6520d4fa3c5ed6003eeb710763cbc5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.32 (affected) · 0 to < 2.6.32 (unaffected · semver) · 5.10.249 through 5.10.* (unaffected · semver) · 5.15.199 through 5.15.* (unaffected · semver) · 6.1.161 through 6.1.* (unaffected · semver) · 6.6.121 through 6.6.* (unaffected · semver) · 6.12.59 through 6.12.* (unaffected · semver) · 6.17.9 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-114 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.42.1.el10_2 ALSA-2026:49211
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.42.1.el10_2 ALSA-2026:49211
AlmaLinux 9 kernel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 libperf Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 perf Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 python3-perf Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 rtla Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 rv Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-211.42.1.el10_2 ELSA-2026-49211

Package entries are limited to the first 100 builds and 100 linked advisories.

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_WRITE, MAP_NORESERVE | MAP_PRIVATE | MAP_ANON, -1, 0); if (area == MAP_FAILED) { perror("mmap() failed\n"); return -1; } /* Populate a single page such that we get an anon_vma. */ *area = 0; /* Enable KSM. */ madvise(area, size, MADV_MERGEABLE); pause(); return 0; } $ ./ksm-sparse & $ echo 1 > /sys/kernel/mm/ksm/run Without this patch ksmd uses 100% of the cpu for a long time (more then 1 hour in my test machine) scanning all the 32 TiB virtual address space that contain only one mapped page. This makes ksmd essentially deadlocked not able to deduplicate anything of value. With this patch ksmd walks only the one mapped page and skips the rest of the 32 TiB virtual address space, making the scan fast using little cpu.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

41

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 220cb3e425e17587f560335924cba9f16a842c64 (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 10644e8839544dd5699c03c8fb1aeeefc41602fd (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 67137b715b7db28d82e4ed07a7092c2fa6ba7adb (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 9c2f8a9b68024e5ebb4813665845ec0a95f2eac3 (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < 74f78421c925b6d17695566f0c5941de57fd44b3 (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < f62973e0767e4fcd6799087787fca08ca2a85b8c (affected · git)31dbd01f314364b70c2e026a5793a29a4da8a9dc to < f5548c318d6520d4fa3c5ed6003eeb710763cbc5 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.32 (affected)0 to < 2.6.32 (unaffected · semver)5.10.249 through 5.10.* (unaffected · semver)5.15.199 through 5.15.* (unaffected · semver)6.1.161 through 6.1.* (unaffected · semver)6.6.121 through 6.6.* (unaffected · semver)6.12.59 through 6.12.* (unaffected · semver)6.17.9 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

2

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ada43c828a4d99d55d979f8787225ea7534383ae1dae2ea294e46588b520deb4
Ingested
23 Sep 2026, 08:57:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected