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

3.3 · LOW
Published Mar 12, 2025 linux EPSS 0.22% (12th pctl)

Overview

CVE-2025-21860 is a low-severity vulnerability affecting linux linux_kernel. It was published on March 12, 2025 and has a CVSS 3.1 base score of 3.3 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. 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: fix inconsistency when zswap_store_page() fails

Commit b7c0ccdfbafd ("mm: zswap: support large folios in zswap_store()")

skips charging any zswap entries when it failed to zswap the entire folio.

However, when some base pages are zswapped but it failed to zswap the

entire folio, the zswap operation is rolled back. When freeing zswap

entries for those pages, zswap_entry_free() uncharges the zswap entries

that were not previously charged, causing zswap charging to become

inconsistent.

This inconsistency triggers two warnings with following steps:

# On a machine with 64GiB of RAM and 36GiB of zswap

$ stress-ng --bigheap 2 # wait until the OOM-killer kills stress-ng

$ sudo reboot

The two warnings are:

in mm/memcontrol.c:163, function obj_cgroup_release():

WARN_ON_ONCE(nr_bytes & (PAGE_SIZE - 1));

in mm/page_counter.c:60, function page_counter_cancel():

if (WARN_ONCE(new < 0, "pa

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 >= 6.13, < 6.13.5 Affected

Frequently Asked Questions

What is CVE-2025-21860?

CVE-2025-21860 is a low-severity vulnerability affecting linux linux_kernel. It was published on March 12, 2025 and has a CVSS 3.1 base score of 3.3 (LOW).

How severe is CVE-2025-21860?

This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. 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-21860?

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

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