CVE-2025-40218: Linux kernel · mm/damon/vaddr: do not repeat pte_offset_map_lock() until success
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 03:35 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to avoid retrying the page table walk on pte_offset_map_lock() failure, preventing the infinite loop. Users should apply the updated kernel version containing this fix. No additional mitigation is required as the fix addresses the root cause.
Description
A vulnerability in the Linux kernel's DAMON virtual address space operation set (vaddr) caused an infinite loop during page table walks when pte_offset_map_lock() continuously failed on PMD migration entries. This could lead to a soft lockup, particularly during CPU hotplugging when DAMON was active. The issue was fixed by avoiding retries on failure, accepting some loss of accuracy in page access tracking.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40218 (opens in a new tab)
- git.kernel.org/stable/c/0ccd91cf749536d41307a07e60ec14ab0dbf21f5 (opens in a new tab)
- git.kernel.org/stable/c/677ebfe5d00f94adec0c0204f6e6e2a82d3f77bf (opens in a new tab)
- git.kernel.org/stable/c/ac42320ec873bfe726141069cfdd90ee5bc4e885 (opens in a new tab)
- git.kernel.org/stable/c/b93af2cc8e036754c0d9970d9ddc47f43cc94b9f (opens in a new tab)