CVE-2025-21861: mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize()
CVE-2025-21861 is a vulnerability in mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize(), rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.31% probability of exploitation activity in the next 30 days, higher than 16% of all scored vulnerabilities. Microsoft published it on 3 September 2025, outside Patch Tuesday. It affects 4 products in 2 product families (Mariner, Open Source Software).
Key facts
- CVE ID
- CVE-2025-21861
- Severity
- Medium CVSS 5.5
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-416
- EPSS
- 0.31% (percentile 16%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- March 2025 Patch Tuesday
- Product families
- Mariner, Open Source Software
CVSS score and vector
Microsoft scores CVE-2025-21861 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Frequently asked questions (Microsoft)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (4)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 kernel 6.6.92.2-1 on Azure Linux 3.0 | ||||
| cbl2 kernel 5.15.182.1-1 on CBL Mariner 2.0 | ||||
| cbl2 kernel 5.15.182.1-1 on CBL-Mariner 2.0 |
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| cbl2 kernel 5.15.182.1-1 on CBL Mariner 2.0 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.5 (MEDIUM)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| linux kernel | from 4.14, before 6.12.17 |
| linux kernel | from 6.13, before 6.13.5 |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
References
- https://git.kernel.org/stable/c/069dd21ea8262204f94737878389c2815a054a9e (Patch)
- https://git.kernel.org/stable/c/20fb6fc51863fbff7868de8b5f6d249d2094df1f
- https://git.kernel.org/stable/c/3f9240d59e9a95d19f06120bfd1d0e681c6c0ac7 (Patch)
- https://git.kernel.org/stable/c/41cddf83d8b00f29fd105e7a0777366edc69a5cf (Patch)
- https://git.kernel.org/stable/c/4f52f7c50f5b6f5eeb06823e21fe546d90f9c595
- https://git.kernel.org/stable/c/61fa824e304ed162fe965f64999068e6fcff2059
- https://git.kernel.org/stable/c/64397b0cb7c09e3ef3f9f5c7c17299c4eebd3875
- https://git.kernel.org/stable/c/78f579cb7d825134e071a1714d8d0c4fd0ffe459
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. |