CVE-2025-38071
x86/mm: Check return value from memblock_phys_alloc_range()
Mitigation
- Upgrade Linux to 631ca8909fd5c62b9fda9edda93924311a78a9c4 or later.
Who should check
- Anyone running Linux >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 8c18c904d301ffeb33b071eadc55cd6131e1e9be; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < dde4800d2b0f68b945fd81d4fc2d4a10ae25f743; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 631ca8909fd5c62b9fda9edda93924311a78a9c4
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 8c18c904d301ffeb33b071eadc55cd6131e1e9be; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < dde4800d2b0f68b945fd81d4fc2d4a10ae25f743; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 631ca8909fd5c62b9fda9edda93924311a78a9c4; Linux 5.15
- Fixed in
- Linux 8c18c904d301ffeb33b071eadc55cd6131e1e9be, Linux 631ca8909fd5c62b9fda9edda93924311a78a9c4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: x86/mm: Check return value from memblock_phys_alloc_range() At least with CONFIG_PHYSICAL_START=0x100000, if there is < 4 MiB of contiguous free memory available at this point, the kernel will crash and burn because memblock_phys_alloc_range() returns 0 on failure, which leads memblock_phys_free() to throw the first 4 MiB of physical memory to the wolves. At a minimum it should fail gracefully with a meaningful diagnostic, but in fact everything seems to work fine without the weird reserve allocation.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 8c18c904d301ffeb33b071eadc55cd6131e1e9be; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < dde4800d2b0f68b945fd81d4fc2d4a10ae25f743; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 631ca8909fd5c62b9fda9edda93924311a78a9c4 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38071. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38071.md Affected: Linux >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 8c18c904d301ffeb33b071eadc55cd6131e1e9be; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; >= a7259df7670240ee03b0cfc… Fixed in: Linux 8c18c904d301ffeb33b071eadc55cd6131e1e9be, Linux 631ca8909fd5c62b9fda9edda93924311a78a9c4 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.
References
Patches
- https://git.kernel.org/stable/c/8c18c904d301ffeb33b071eadc55cd6131e1e9be
- https://git.kernel.org/stable/c/bffd5f2815c5234d609725cd0dc2f4bc5de2fc67
- https://git.kernel.org/stable/c/c6f2694c580c27dca0cf7546ee9b4bfa6b940e38
- https://git.kernel.org/stable/c/dde4800d2b0f68b945fd81d4fc2d4a10ae25f743
- https://git.kernel.org/stable/c/631ca8909fd5c62b9fda9edda93924311a78a9c4
FAQ
Is CVE-2025-38071 being exploited?
There is no confirmed exploitation: CVE-2025-38071 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38071?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38071?
Linux >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 8c18c904d301ffeb33b071eadc55cd6131e1e9be; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < dde4800d2b0f68b945fd81d4fc2d4a10ae25f743; >= a7259df7670240ee03b0cfce8a3e5d3773911e24, < 631ca8909fd5c62b9fda9edda93924311a78a9c4; Linux 5.15.
Is there a fix for CVE-2025-38071?
Yes. Fixed in Linux 8c18c904d301ffeb33b071eadc55cd6131e1e9be, Linux 631ca8909fd5c62b9fda9edda93924311a78a9c4. Upgrade Linux to 631ca8909fd5c62b9fda9edda93924311a78a9c4 or later.
How do I check if I'm affected by CVE-2025-38071?
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.