Menu

Star on GitHub · 3.2k

CVE-2023-52935

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: fix ->anon_vma race If an ->anon_vma is attached to the VMA, collapse_and_free_pmd() requires it to be locked.

Published Mar 27, 2025CWE-416EPSS 0.19%

Overview

CVE-2023-52935 is a high-severity vulnerability. It was published on March 27, 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/khugepaged: fix ->anon_vma race

If an ->anon_vma is attached to the VMA, collapse_and_free_pmd() requires

it to be locked.

Page table traversal is allowed under any one of the mmap lock, the

anon_vma lock (if the VMA is associated with an anon_vma), and the

mapping lock (if the VMA is associated with a mapping); and so to be

able to remove page tables, we must hold all three of them.

retract_page_tables() bails out if an ->anon_vma is attached, but does

this check before holding the mmap lock (as the comment above the check

explains).

If we racily merged an existing ->anon_vma (shared with a child

process) from a neighboring VMA, subsequent rmap traversals on pages

belonging to the child will be able to see the page tables that we are

concurrently removing while assuming that nothing else can access them.

Repeat the ->anon_vma check once we hold the mmap lock to ensure that

there really is no concurrent page t

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-2023-52935?

CVE-2023-52935 is a high-severity vulnerability. It was published on March 27, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2023-52935?

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-2023-52935?

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-2023-52935?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52935 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2023

View all