cbcvebase.
CVE-2025-40218
published 2025-12-04

CVE-2025-40218: In the Linux kernel, the following vulnerability has been resolved: mm/damon/vaddr: do not repeat pte_offset_map_lock() until success DAMON's virtual address…

PriorityP422high7.8
EPSS
0.18%
8.1th percentile
In the Linux kernel, the following vulnerability has been resolved: mm/damon/vaddr: do not repeat pte_offset_map_lock() until success DAMON's virtual address space operation set implementation (vaddr) calls pte_offset_map_lock() inside the page table walk callback function. This is for reading and writing page table accessed bits. If pte_offset_map_lock() fails, it retries by returning the page table walk callback function with ACTION_AGAIN. pte_offset_map_lock() can continuously fail if the target is a pmd migration entry, though. Hence it could cause an infinite page table walk if the migration cannot be done until the page table walk is finished. This indeed caused a soft lockup when CPU hotplugging and DAMON were running in parallel. Avoid the infinite loop by simply not retrying the page table walk. DAMON is promising only a best-effort accuracy, so missing access to such pages is no problem.

Affected

17 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.17.6-1 (forky)linux 6.17.6-1 (forky)
linuxlinux
linuxlinux>= 7780d04046a2288ab85d88bedacc60fa4fad9971 < 677ebfe5d00f94adec0c0204f6e6e2a82d3f77bf677ebfe5d00f94adec0c0204f6e6e2a82d3f77bf
linuxlinux>= 7780d04046a2288ab85d88bedacc60fa4fad9971 < ac42320ec873bfe726141069cfdd90ee5bc4e885ac42320ec873bfe726141069cfdd90ee5bc4e885
linuxlinux>= 7780d04046a2288ab85d88bedacc60fa4fad9971 < 0ccd91cf749536d41307a07e60ec14ab0dbf21f50ccd91cf749536d41307a07e60ec14ab0dbf21f5
linuxlinux>= 7780d04046a2288ab85d88bedacc60fa4fad9971 < b93af2cc8e036754c0d9970d9ddc47f43cc94b9fb93af2cc8e036754c0d9970d9ddc47f43cc94b9f
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 6.13.0 < 6.17.46.17.4
linuxlinux_kernel>= 6.5.0 < 6.6.1136.6.113
linuxlinux_kernel>= 6.7.0 < 6.12.546.12.54
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

vendor_ubuntu7.8HIGH
osv3.2LOW
vendor_msrc4.1MEDIUM
vendor_redhat4.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.