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

5.5 · MEDIUM
Published Sep 5, 2025 linux CWE-476 EPSS 0.14% (4th pctl)

Overview

CVE-2025-39725 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 5, 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:

mm/vmscan: fix hwpoisoned large folio handling in shrink_folio_list

In shrink_folio_list(), the hwpoisoned folio may be large folio, which

can't be handled by unmap_poisoned_folio(). For THP, try_to_unmap_one()

must be passed with TTU_SPLIT_HUGE_PMD to split huge PMD first and then

retry. Without TTU_SPLIT_HUGE_PMD, we will trigger null-ptr deref of

pvmw.pte. Even we passed TTU_SPLIT_HUGE_PMD, we will trigger a

WARN_ON_ONCE due to the page isn't in swapcache.

Since UCE is rare in real world, and race with reclaimation is more rare,

just skipping the hwpoisoned large folio is enough. memory_failure() will

handle it if the UCE is triggered again.

This happens when memory reclaim for large folio races with

memory_failure(), and will lead to kernel panic. The race is as

follows:

cpu0 cpu1

shrink_folio_list memory_failure

TestSetPageHWPoison

unmap_poisoned_folio

--> trigger BUG_ON due to

unmap_poison

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.12.26, < 6.12.41 Affected

Frequently Asked Questions

What is CVE-2025-39725?

CVE-2025-39725 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 5, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-39725?

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

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

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