Menu

Star on GitHub · 3.2k

CVE-2024-50066

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mm/mremap: fix move_normal_pmd/retract_page_tables race In mremap(), move_page_tables() looks at the type of the PMD entry and…

Published Oct 23, 2024CWE-362EPSS 0.21%

Overview

CVE-2024-50066 is a high-severity vulnerability. It was published on October 23, 2024 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/mremap: fix move_normal_pmd/retract_page_tables race

In mremap(), move_page_tables() looks at the type of the PMD entry and the

specified address range to figure out by which method the next chunk of

page table entries should be moved.

At that point, the mmap_lock is held in write mode, but no rmap locks are

held yet. For PMD entries that point to page tables and are fully covered

by the source address range, move_pgt_entry(NORMAL_PMD, ...) is called,

which first takes rmap locks, then does move_normal_pmd().

move_normal_pmd() takes the necessary page table locks at source and

destination, then moves an entire page table from the source to the

destination.

The problem is: The rmap locks, which protect against concurrent page

table removal by retract_page_tables() in the THP code, are only taken

after the PMD entry has been read and it has been decided how to move it.

So we can race as follows (with two proces

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-2024-50066?

CVE-2024-50066 is a high-severity vulnerability. It was published on October 23, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-50066?

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-2024-50066?

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-2024-50066?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50066 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 2024

View all