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

7.8 · HIGH
Published Apr 1, 2025 linux CWE-476 EPSS 0.21% (11th pctl)

Overview

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

drm/xe/hmm: Don't dereference struct page pointers without notifier lock

The pnfs that we obtain from hmm_range_fault() point to pages that

we don't have a reference on, and the guarantee that they are still

in the cpu page-tables is that the notifier lock must be held and the

notifier seqno is still valid.

So while building the sg table and marking the pages accesses / dirty

we need to hold this lock with a validated seqno.

However, the lock is reclaim tainted which makes

sg_alloc_table_from_pages_segment() unusable, since it internally

allocates memory.

Instead build the sg-table manually. For the non-iommu case

this might lead to fewer coalesces, but if that's a problem it can

be fixed up later in the resource cursor code. For the iommu case,

the whole sg-table may still be coalesced to a single contigous

device va region.

This avoids marking pages that we don't own dirty and accessed, and

it also avoid derefe

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.10, < 6.12.19 Affected

Frequently Asked Questions

What is CVE-2025-21939?

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

How severe is CVE-2025-21939?

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

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

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