CVE-2025-68211
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 5.5
- Severity
- 5.5
- EPSS
- 0.2 %
- Percentile
- 5
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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.
- Vendor / product
- linux linux kernel
- Published
- 16.12.2025
- Modified
- 14.10.2026
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor updates
26- Red Hat: RHSA-2026:62568 – RHSA-2026:62568 kernel security update 02.09.2026 · Patch day
- Red Hat: RHSA-2026:59723 – RHSA-2026:59723 kernel security update 26.08.2026 · Patch day
- Red Hat: RHSA-2026:49211 – RHSA-2026:49211 kernel security update 31.07.2026 · Patch day
- Ubuntu: USN-8297-1 – Linux kernel (GCP) vulnerabilities 22.05.2026 · Critical · Patch day
- Ubuntu: USN-8275-1 – Linux kernel (Xilinx ZynqMP) vulnerabilities 19.05.2026 · Critical · Patch day
- Ubuntu: USN-8180-6 – Linux kernel (Raspberry Pi) vulnerabilities 11.05.2026 · HIGH · Patch day
- Ubuntu: USN-8243-1 – Linux kernel (Azure) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8180-5 – Linux kernel (IBM) vulnerabilities 24.04.2026 · HIGH · Patch day
- Ubuntu: USN-8180-4 – Linux kernel (Azure FIPS) vulnerabilities 23.04.2026 · HIGH · Patch day
- Ubuntu: USN-8180-3 – Linux kernel vulnerabilities 23.04.2026 · HIGH · Patch day
- Ubuntu: USN-8188-1 – Linux kernel (HWE) vulnerabilities 17.04.2026 · HIGH · Patch day
- Ubuntu: USN-8187-1 – Linux kernel (NVIDIA) vulnerabilities 17.04.2026 · HIGH · Patch day
- Ubuntu: USN-8186-1 – Linux kernel (Real-time) vulnerabilities 17.04.2026 · HIGH · Patch day
- Ubuntu: USN-8180-2 – Linux kernel (FIPS) vulnerabilities 17.04.2026 · HIGH · Patch day
- Ubuntu: USN-8180-1 – Linux kernel vulnerabilities 16.04.2026 · HIGH · Patch day
- Ubuntu: USN-8162-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 09.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20599-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20615-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20555-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20570-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- Ubuntu: USN-8029-3 – Linux kernel (Azure) vulnerabilities 24.02.2026 · Critical · Patch day
- Ubuntu: USN-8048-1 – Linux kernel (OEM) vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-2 – Linux kernel vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8030-1 – Linux kernel (GCP) vulnerabilities 12.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-1 – Linux kernel vulnerabilities 12.02.2026 · Critical · Patch day
- Microsoft: Mariner 08.01.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.