# CVE-2025-38071: x86/mm: Check return value from memblock_phys_alloc_range()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:47.975Z
- Modified: 2026-11-05T21:18:08.853Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a7259df7670240ee03b0cfce8a3e5d3773911e24 before 8c18c904d301ffeb33b071eadc55cd6131e1e9be; from a7259df7670240ee03b0cfce8a3e5d3773911e24 before bffd5f2815c5234d609725cd0dc2f4bc5de2fc67; from a7259df7670240ee03b0cfce8a3e5d3773911e24 before c6f2694c580c27dca0cf7546ee9b4bfa6b940e38; from a7259df7670240ee03b0cfce8a3e5d3773911e24 before dde4800d2b0f68b945fd81d4fc2d4a10ae25f743; from a7259df7670240ee03b0cfce8a3e5d3773911e24 before 631ca8909fd5c62b9fda9edda93924311a78a9c4; 5.15 (not affected: before 5.15; from 6.1.141 up to 6.1.*; from 6.6.93 up to 6.6.*; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: before 6.1.141; from 6.2 before 6.6.93; from 6.7 before 6.12.31; from 6.13 before 6.14.9
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/8c18c904d301ffeb33b071eadc55cd6131e1e9be> (patch)
- <https://git.kernel.org/stable/c/bffd5f2815c5234d609725cd0dc2f4bc5de2fc67> (patch)
- <https://git.kernel.org/stable/c/c6f2694c580c27dca0cf7546ee9b4bfa6b940e38> (patch)
- <https://git.kernel.org/stable/c/dde4800d2b0f68b945fd81d4fc2d4a10ae25f743> (patch)
- <https://git.kernel.org/stable/c/631ca8909fd5c62b9fda9edda93924311a78a9c4> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2025-38071](https://www.cve.org/CVERecord?id=CVE-2025-38071), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38071](https://nvd.nist.gov/vuln/detail/CVE-2025-38071), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38071 · Whole record: https://cve.day/CVE-2025-38071.json · Rebuilt by cve.day 2026-11-25T22:58:59.371Z
