# CVE-2025-39700: mm/damon/ops-common: ignore migration request to invalid nodes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-1284
- **Published:** 2025-09-05T17:21:06.479Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7c303fa1f311aadc17fa82b7bbf776412adf45de; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 9d0c2d15aff96746f99a7c97221bb8ce5b62db19; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7e6c3130690a01076efdf45aa02ba5d5c16849a0
- Anyone running Linux 6.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/ops-common: ignore migration request to invalid nodes

damon\_migrate\_pages() tries migration even if the target node is invalid. 
If users mistakenly make such invalid requests via
DAMOS\_MIGRATE\_{HOT,COLD} action, the below kernel BUG can happen.

    \[ 7831.883495\] BUG: unable to handle page fault for address: 0000000000001f48
    \[ 7831.884160\] \#PF: supervisor read access in kernel mode
    \[ 7831.884681\] \#PF: error\_code(0x0000) - not-present page
    \[ 7831.885203\] PGD 0 P4D 0
    \[ 7831.885468\] Oops: Oops: 0000 \[\#1\] SMP PTI
    \[ 7831.885852\] CPU: 31 UID: 0 PID: 94202 Comm: kdamond.0 Not tainted 6.16.0-rc5-mm-new-damon+ \#93 PREEMPT(voluntary)
    \[ 7831.886913\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-4.el9 04/01/2014
    \[ 7831.887777\] RIP: 0010:\_\_alloc\_frozen\_pages\_noprof (include/linux/mmzone.h:1724 include/linux/mmzone.h:1750 mm/page\_alloc.c:4936 mm/page\_alloc.c:5137)
    \[...\]
    \[ 7831.895953\] Call Trace:
    \[ 7831.896195\]  \<TASK\>
    \[ 7831.896397\] \_\_folio\_alloc\_noprof (mm/page\_alloc.c:5183 mm/page\_alloc.c:5192)
    \[ 7831.896787\] migrate\_pages\_batch (mm/migrate.c:1189 mm/migrate.c:1851)
    \[ 7831.897228\] ? \_\_pfx\_alloc\_migration\_target (mm/migrate.c:2137)
    \[ 7831.897735\] migrate\_pages (mm/migrate.c:2078)
    \[ 7831.898141\] ? \_\_pfx\_alloc\_migration\_target (mm/migrate.c:2137)
    \[ 7831.898664\] damon\_migrate\_folio\_list (mm/damon/ops-common.c:321 mm/damon/ops-common.c:354)
    \[ 7831.899140\] damon\_migrate\_pages (mm/damon/ops-common.c:405)
    \[...\]

Add a target node validity check in damon\_migrate\_pages().  The validity
check is stolen from that of do\_pages\_move(), which is being used for the
move\_pages() system call.

## Affected and fixed versions

- Linux: \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7c303fa1f311aadc17fa82b7bbf776412adf45de; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 9d0c2d15aff96746f99a7c97221bb8ce5b62db19; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7e6c3130690a01076efdf45aa02ba5d5c16849a0 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 7e6c3130690a01076efdf45aa02ba5d5c16849a0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39700. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39700.md
Affected: Linux >= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, < 7c303fa1f311aadc17fa82b7bbf776412adf45de; >= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, < 9d0c2d15aff96746f99a7c97221bb8ce5b62db19; >= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, < 7e6c3130690a01076efdf45aa02ba5d5c16849a0; Linux 6.11
Fixed in: Linux 7c303fa1f311aadc17fa82b7bbf776412adf45de, Linux 9d0c2d15aff96746f99a7c97221bb8ce5b62db19, Linux 7e6c3130690a01076efdf45aa02ba5d5c16849a0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39700 being exploited?

There is no confirmed exploitation: CVE-2025-39700 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39700?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39700?

Linux \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7c303fa1f311aadc17fa82b7bbf776412adf45de; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 9d0c2d15aff96746f99a7c97221bb8ce5b62db19; \>= b51820ebea656be3b48bb16dcdc5ad3f203c4fd7, \< 7e6c3130690a01076efdf45aa02ba5d5c16849a0; Linux 6.11.

### Is there a fix for CVE-2025-39700?

Yes. Fixed in Linux 7c303fa1f311aadc17fa82b7bbf776412adf45de, Linux 9d0c2d15aff96746f99a7c97221bb8ce5b62db19, Linux 7e6c3130690a01076efdf45aa02ba5d5c16849a0. Upgrade Linux to 7e6c3130690a01076efdf45aa02ba5d5c16849a0 or later.

### How do I check if I'm affected by CVE-2025-39700?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7c303fa1f311aadc17fa82b7bbf776412adf45de>
- patch: <https://git.kernel.org/stable/c/9d0c2d15aff96746f99a7c97221bb8ce5b62db19>
- patch: <https://git.kernel.org/stable/c/7e6c3130690a01076efdf45aa02ba5d5c16849a0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39700>

HTML: <https://flawdb.com/CVE-2025-39700> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39700>
