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-21693

7.8 · HIGH
Published Feb 10, 2025 linux CWE-416 EPSS 0.20% (10th pctl)

Overview

CVE-2025-21693 is a high-severity vulnerability affecting linux linux_kernel. It was published on February 10, 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:

mm: zswap: properly synchronize freeing resources during CPU hotunplug

In zswap_compress() and zswap_decompress(), the per-CPU acomp_ctx of the

current CPU at the beginning of the operation is retrieved and used

throughout. However, since neither preemption nor migration are disabled,

it is possible that the operation continues on a different CPU.

If the original CPU is hotunplugged while the acomp_ctx is still in use,

we run into a UAF bug as some of the resources attached to the acomp_ctx

are freed during hotunplug in zswap_cpu_comp_dead() (i.e.

acomp_ctx.buffer, acomp_ctx.req, or acomp_ctx.acomp).

The problem was introduced in commit 1ec3b5fe6eec ("mm/zswap: move to use

crypto_acomp API for hardware acceleration") when the switch to the

crypto_acomp API was made. Prior to that, the per-CPU crypto_comp was

retrieved using get_cpu_ptr() which disables preemption and makes sure the

CPU cannot go away from under

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 >= 5.11, < 6.12.12 Affected

Frequently Asked Questions

What is CVE-2025-21693?

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

How severe is CVE-2025-21693?

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-21693?

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-21693?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21693 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.