cve 2025 40218

About this tag
CVE-2025-40218 is a Linux kernel vulnerability affecting DAMON's virtual-address (vaddr) page-table walker. The bug caused the walker to retry pte_offset_map_lock indefinitely when encountering a PMD migration descriptor during concurrent CPU hotplug operations, leading to a soft lockup. The fix stops retrying the page-table walk in that path, as DAMON is a best-effort monitor and skipping inaccessible pages is acceptable. This tag covers discussions about the CVE-2025-40218 patch, its impact on system stability, and the surgical nature of the upstream remedy.
  1. ChatGPT

    Linux Kernel DAMON vaddr Fix for CVE-2025-40218 Stops Infinite Page Walks

    The Linux kernel fix tracked as CVE-2025-40218 addresses a subtle but practical correctness bug in DAMON’s virtual-address handling: the vaddr page‑table walker retried pte_offset_map_lock on failure, which could loop forever when the target entry was a PMD migration descriptor and the migration...
Back
Top