Skip to main content
Mallory
HighVulnerability

CVE-2025-21815: Linux kernel mm/compaction shift-out-of-bounds in isolate_freepages_block

Published Feb 27, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v3.1
EPSS0.29%14th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-21815CWE-758

CVE-2025-21815 is an undefined-behavior flaw in the Linux kernel memory-compaction subsystem. In isolate_freepages_block(), the kernel can use compound_order in a left-shift operation to calculate a page count. The compound-order field shares a union with page flags, so an invalid value derived from flags can be interpreted as an order. Without validation against MAX_PAGE_ORDER, the operation can shift 1UL by an out-of-range count, producing a UBSAN shift-out-of-bounds condition. The fix restores validation of the order before the shift.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Triggering the condition causes undefined behavior and can generate a kernel UBSAN shift-out-of-bounds warning during memory compaction. The supplied information does not establish reliable exploitation beyond the kernel fault/warning condition, nor does it demonstrate privilege escalation, information disclosure, or code execution.

Mitigation

If you can’t patch tonight, do this now.

No specific workaround is provided in the supplied content. The practical mitigation is to deploy vendor-supplied fixed kernel packages. If immediate patching is not possible, reducing exposure to untrusted local workloads that can exercise kernel fuzzable memory-management paths may reduce risk, but this is not a substitute for patching.

Remediation

Patch, then assume compromise.

Install a Linux kernel update that includes the mm/compaction fix for CVE-2025-21815, then reboot into the updated kernel. For Red Hat Enterprise Linux 10.0, the referenced fixed update is kernel version 6.12.0-55.55.1.el10_0. SUSE distributions should apply the applicable vendor kernel security patch and corresponding updated kernel packages.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-21815 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2025-21815 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-21815?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-21815.
Is there a patch for CVE-2025-21815?
Install a Linux kernel update that includes the mm/compaction fix for CVE-2025-21815, then reboot into the updated kernel. For Red Hat Enterprise Linux 10.0, the referenced fixed update is kernel version 6.12.0-55.55.1.el10_0.
What products are affected by CVE-2025-21815?
Linux Kernel.
How severe is CVE-2025-21815?
CVE-2025-21815 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.29% (14th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.