Home / Linux / Linux / CVE-2025-21991
CVE-2025-21991: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-21991 is an improper array index validation vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Linux from 5.4.235 before 5.4.292, Linux from 5.10.173 before 5.10.236, Linux from 5.15.99 before 5.15.180 and 5 more (CVE record by Linux). Fixed in 5.4.292, 5.10.236, 5.15.180, 6.1.132 and 2 more (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 28, 2026, 17:50 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-21991?
In the Linux kernel, the following vulnerability has been resolved: x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes Currently, load_microcode_amd() iterates over all NUMA nodes, retrieves their CPU masks and unconditionally accesses per-CPU data for the first CPU of each mask. According to Documentation/admin-guide/mm/numaperf.rst: "Some memory may share the same node as a CPU, and others are provided as memory only nodes." Therefore, some node CPU masks may be empty and wouldn't have a "first CPU". On a machine with far memory (and therefore CPU-less NUMA nodes): - cpumask_of_node(nid) is 0 - cpumask_first(0) is CONFIG_NR_CPUS - cpu_data(CONFIG_NR_CPUS) accesses the cpu_info per-CPU array at an index that is 1 out of bounds This does not have any security implications since flashing microcode is a privileged operation but I believe this has reliability implications by potentially corrupting memory while flashing a microcode update. When booting with CONFIG_UBSAN_BOUNDS=y on an AMD machine that flashes a microcode update. I get the following splat: UBSAN: array-index-out-of-bounds in arch/x86/kernel/cpu/microcode/amd.c:X:Y index 512 is out of range for type 'unsigned long[512]' [...] Call Trace: dump_stack __ubsan_handle_out_of_bounds load_microcode_amd request_microcode_amd reload_store kernfs_fop_write_iter vfs_write ksys_write do_syscall_64 entry_SYSCALL_64_after_hwframe Change the loop to go over only NUMA nodes which have CPUs before determining whether the first CPU on the respective node needs microcode update. [ bp: Massage commit message, fix typo. ]
From the CVE record by Linux, last updated May 23, 2026, 15:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.4.235 before 5.4.292 from 5.10.173 before 5.10.236 from 5.15.99 before 5.15.180 from 6.1.16 before 6.1.132 from 4.14.308 before 4.15 from 4.19.276 before 4.20 from 6.2.3 before 6.3 | 5.4.292, 5.10.236, 5.15.180, 6.1.132, 4.15, 4.20, 6.3 |
| Linux | Linux | from 6.3 until the fixed versions | 5.4.292, 5.10.236, 5.15.180, 6.1.132, 6.6.84, 6.12.20, 6.13.8, 6.14 |
As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 4.14.308 before 4.15 | operating system |
| linux | linux kernel | from 4.19.276 before 4.20 | operating system |
| linux | linux kernel | from 5.4.235 before 5.5 | operating system |
| linux | linux kernel | from 5.10.173 before 5.11 | operating system |
| linux | linux kernel | from 5.15.99 before 5.16 | operating system |
| linux | linux kernel | from 6.1.16 before 6.1.132 | operating system |
| linux | linux kernel | from 6.2.3 before 6.6.84 | operating system |
| linux | linux kernel | from 6.7 before 6.12.20 | operating system |
| linux | linux kernel | from 6.13 before 6.13.8 | operating system |
| linux | linux kernel | 6.14 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 08:44 UTC.
How severe is CVE-2025-21991?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-21991 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 1, 2025)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 14.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-129 Improper Validation of Array Index
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/d509c4731090ebd9bbdb72c70a2d70003ae81f4f
- https://git.kernel.org/stable/c/985a536e04bbfffb1770df43c6470f635a6b1073
- https://git.kernel.org/stable/c/18b5d857c6496b78ead2fd10001b81ae32d30cac
- https://git.kernel.org/stable/c/ec52240622c4d218d0240079b7c1d3ec2328a9f4
- https://git.kernel.org/stable/c/e686349cc19e800dac8971929089ba5ff59abfb0
- https://git.kernel.org/stable/c/488ffc0cac38f203979f83634236ee53251ce593
- https://git.kernel.org/stable/c/5ac295dfccb5b015493f86694fa13a0dde4d3665
- https://git.kernel.org/stable/c/e3e89178a9f4a80092578af3ff3c8478f9187d59
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
When was it published, and where is the official record?
- Reserved
- December 29, 2024
- Published
- April 2, 2025, 12:53 UTC
- CVE record updated
- May 23, 2026, 15:57 UTC by Linux
- NVD
- Modified, last modified June 17, 2026, 08:44 UTC
- Last checked
- CVE list November 28, 2026, 17:50 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-21991
Is CVE-2025-21991 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2025-21991?
Linux from 5.4.235 before 5.4.292, Linux from 5.10.173 before 5.10.236, Linux from 5.15.99 before 5.15.180, Linux from 6.1.16 before 6.1.132, Linux from 4.14.308 before 4.15, Linux from 4.19.276 before 4.20 and 2 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-21991?
5.4.292, 5.10.236, 5.15.180, 6.1.132, 4.15 and 4.20, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21991?
High (7.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21991?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.