CVE-2025-21991: Out-of-bounds access in Linux AMD microcode loading on CPU-less NUMA nodes
- Vendor
- Linux
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.