CVE-2025-40218
Last modified
CVE-2025-40218 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 7780d04046a2288ab85d88bedacc60fa4fad9971, < 677ebfe5d00f94adec0c0204f6e6e2a82d3f77bf; >= 7780d04046a2288ab85d88bedacc60fa4fad9971, < ac42320ec873bfe726141069cfdd90ee5bc4e885; >= 7780d04046a2288ab85d88bedacc60fa4fad9971, < 0ccd91cf749536d41307a07e60ec14ab0dbf21f5; >= 7780d04046a2288ab85d88bedacc60fa4fad9971, < b93af2cc8e036754c0d9970d9ddc47f43cc94b9f |
| Linux | Linux | 6.5 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40218?
How severe is CVE-2025-40218?
How do I fix CVE-2025-40218?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40212In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2025-40213In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40214In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40215In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40216In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40217In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40219In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4022A vulnerability was found in web-arena-x webarena up to 0.2.…8.8
- CVE-2025-40220In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40221In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40222In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40223In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40218?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
