Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21991

7.8 · HIGH
Published Apr 2, 2025 linux CWE-129 EPSS 0.22% (13th pctl)

Overview

CVE-2025-21991 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 2, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 w

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.14.308, < 4.15 Affected

Frequently Asked Questions

What is CVE-2025-21991?

CVE-2025-21991 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 2, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-21991?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21991?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21991?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21991 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.