CVE-2025-38071
x86/mm: Check return value from memblock_phys_alloc_range()
Check your servers for CVE-2025-38071
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38071 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a7259df7670240ee03b0cfce8a3e5d3773911e24, before 8c18c904d301ffeb33b071eadc55cd6131e1e9be affected from a7259df7670240ee03b0cfce8a3e5d3773911e24, before bffd5f2815c5234d609725cd0dc2f4bc5de2fc67 affected from a7259df7670240ee03b0cfce8a3e5d3773911e24, before c6f2694c580c27dca0cf7546ee9b4bfa6b940e38 affected from a7259df7670240ee03b0cfce8a3e5d3773911e24, before dde4800d2b0f68b945fd81d4fc2d4a10ae25f743 affected from a7259df7670240ee03b0cfce8a3e5d3773911e24, before 631ca8909fd5c62b9fda9edda93924311a78a9c4
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.141 up to and including 6.1.* unaffected from 6.6.93 up to and including 6.6.* unaffected from 6.12.31 up to and including 6.12.* unaffected from 6.14.9 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38071 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38071
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38071
trivy image --scanners vuln IMAGE | grep CVE-2025-38071
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8c18c904d301ffeb33b071eadc55cd6131e1e9be git.kernel.org
- https://git.kernel.org/stable/c/bffd5f2815c5234d609725cd0dc2f4bc5de2fc67 git.kernel.org
- https://git.kernel.org/stable/c/c6f2694c580c27dca0cf7546ee9b4bfa6b940e38 git.kernel.org
- https://git.kernel.org/stable/c/dde4800d2b0f68b945fd81d4fc2d4a10ae25f743 git.kernel.org
- https://git.kernel.org/stable/c/631ca8909fd5c62b9fda9edda93924311a78a9c4 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
Source: the record CVE-2025-38071 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse