Skip to main content
Mallory
HighVulnerability

CVE-2025-21991: Out-of-bounds access in Linux AMD microcode loading on CPU-less NUMA nodes

Published Apr 2, 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.8High · v3.1
EPSS0.32%18th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-21991CWE-787

CVE-2025-21991 is an out-of-bounds access in the Linux kernel x86 AMD microcode-loading path, specifically load_microcode_amd(). The vulnerable logic iterates over all NUMA nodes and accesses per-CPU data for the first CPU in each node's CPU mask without verifying that the mask contains a CPU. On systems with CPU-less NUMA nodes, including far-memory configurations, the empty mask causes cpumask_first() to return CONFIG_NR_CPUS, resulting in an access one index beyond the cpu_info per-CPU array while an AMD microcode update is flashed. The upstream correction restricts processing to NUMA nodes that contain CPUs.

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.

The flaw can trigger an array-index-out-of-bounds condition and potentially corrupt memory during an AMD microcode update. The issue is described as a reliability problem rather than a security vulnerability because microcode flashing is a privileged operation.

Mitigation

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

No specific workaround is identified. Restrict microcode-update operations to trusted privileged administrators and avoid initiating AMD microcode flashing on affected systems with CPU-less NUMA nodes until a fixed kernel is installed.

Remediation

Patch, then assume compromise.

Install a Linux kernel update containing the fix that limits AMD microcode update processing to NUMA nodes with CPUs. For affected Red Hat Enterprise Linux systems, install the applicable updated kernel packages from the relevant Red Hat advisory and reboot so that the updated kernel takes effect.

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-21991 exploited in the wild?
As of Oct 2, 2026, Mallory has no reports of CVE-2025-21991 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-21991?
As of Oct 2, 2026, Mallory has found no public exploit for CVE-2025-21991.
Is there a patch for CVE-2025-21991?
Install a Linux kernel update containing the fix that limits AMD microcode update processing to NUMA nodes with CPUs. For affected Red Hat Enterprise Linux systems, install the applicable updated kernel packages from the relevant Red Hat advisory and reboot so that the updated kernel takes effect.
What products are affected by CVE-2025-21991?
Linux Kernel.
How severe is CVE-2025-21991?
CVE-2025-21991 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Oct 2, 2026.
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 activity1Community discussion across Reddit, Mastodon, and other social sources.