CVE-2025-21991: Linux kernel · x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1147.157~18.04.1 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +86
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by updating the Linux kernel to one of the fixed versions listed (e.g., 5.4.0-1147.157~18.04.1 or later). After updating, a system reboot is required to apply the fix. Users should ensure they install the official kernel updates from their distribution vendor. No additional mitigation steps are necessary since the vulnerability requires privileged access and is resolved by the patch.
Description
CVE-2025-21991 is a vulnerability in the Linux kernel's x86 AMD microcode loading code that causes out-of-bounds access on systems with CPU-less NUMA nodes. The flaw occurs because the code iterates over all NUMA nodes and accesses per-CPU data without checking if the node has CPUs, leading to an out-of-bounds array index. While this does not have direct security implications since microcode flashing requires privileged access, it can cause reliability issues such as memory corruption during microcode updates. The issue is fixed by restricting the iteration to only NUMA nodes that have CPUs. Multiple Linux kernel versions are affected and patches are available.
References
- ubuntu.com/security/CVE-2025-21991 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21991 (opens in a new tab)
- git.kernel.org/linus/e3e89178a9f4a80092578af3ff3c8478f9187d59 (opens in a new tab)
- git.kernel.org/stable/c/488ffc0cac38f203979f83634236ee53251ce593 (opens in a new tab)
- git.kernel.org/stable/c/5ac295dfccb5b015493f86694fa13a0dde4d3665 (opens in a new tab)
- git.kernel.org/stable/c/e3e89178a9f4a80092578af3ff3c8478f9187d59 (opens in a new tab)
- git.kernel.org/stable/c/e686349cc19e800dac8971929089ba5ff59abfb0 (opens in a new tab)
- git.kernel.org/stable/c/ec52240622c4d218d0240079b7c1d3ec2328a9f4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)