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

7.8 · HIGH
Published Dec 6, 2025 EPSS 0.14% (4th pctl)

Overview

CVE-2025-40272 is a high-severity vulnerability. It was published on December 6, 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/secretmem: fix use-after-free race in fault handler

When a page fault occurs in a secret memory file created with

`memfd_secret(2)`, the kernel will allocate a new folio for it, mark the

underlying page as not-present in the direct map, and add it to the file

mapping.

If two tasks cause a fault in the same page concurrently, both could end

up allocating a folio and removing the page from the direct map, but only

one would succeed in adding the folio to the file mapping. The task that

failed undoes the effects of its attempt by (a) freeing the folio again

and (b) putting the page back into the direct map. However, by doing

these two operations in this order, the page becomes available to the

allocator again before it is placed back in the direct mapping.

If another task attempts to allocate the page between (a) and (b), and the

kernel tries to access it via the direct map, it would result in a

supervisor not-pr

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

CVE-2025-40272 is a high-severity vulnerability. It was published on December 6, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-40272?

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

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

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