Linux Kernel Vulnerability in DAMON Migration Functionality
CVE-2025-39700
What is CVE-2025-39700?
A vulnerability exists in the Linux kernel related to the DAMON migration functionality, where invalid node migration requests can be made. This can result in kernel errors and crashes, particularly when users inadvertently attempt to migrate pages to non-existent nodes using the DAMOS_MIGRATE_{HOT,COLD} actions. The kernel fails to handle these invalid requests properly, potentially leading to a page fault condition. Mitigation for this issue involves adding a validity check for target nodes in the damon_migrate_pages() function, helping to prevent such errors.
Affected Version(s)
Linux b51820ebea656be3b48bb16dcdc5ad3f203c4fd7 < 7c303fa1f311aadc17fa82b7bbf776412adf45de
Linux b51820ebea656be3b48bb16dcdc5ad3f203c4fd7 < 9d0c2d15aff96746f99a7c97221bb8ce5b62db19
Linux b51820ebea656be3b48bb16dcdc5ad3f203c4fd7 < 7e6c3130690a01076efdf45aa02ba5d5c16849a0