Menu

Star on GitHub · 3.2k

CVE-2025-21632

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: x86/fpu: Ensure shadow stack is active before "getting" registers The x86 shadow stack support has its own set of registers.

Published Jan 19, 2025CWE-476EPSS 0.21%

Overview

CVE-2025-21632 is a medium-severity vulnerability. It was published on January 19, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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/fpu: Ensure shadow stack is active before "getting" registers

The x86 shadow stack support has its own set of registers. Those registers

are XSAVE-managed, but they are "supervisor state components" which means

that userspace can not touch them with XSAVE/XRSTOR. It also means that

they are not accessible from the existing ptrace ABI for XSAVE state.

Thus, there is a new ptrace get/set interface for it.

The regset code that ptrace uses provides an ->active() handler in

addition to the get/set ones. For shadow stack this ->active() handler

verifies that shadow stack is enabled via the ARCH_SHSTK_SHSTK bit in the

thread struct. The ->active() handler is checked from some call sites of

the regset get/set handlers, but not the ptrace ones. This was not

understood when shadow stack support was put in place.

As a result, both the set/get handlers can be called with

XFEATURE_CET_USER in its init state, which would ca

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2025-21632?

CVE-2025-21632 is a medium-severity vulnerability. It was published on January 19, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-21632?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-21632?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-21632?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-21632 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all