Menu

Star on GitHub · 3.4k

CVE-2024-35993

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mm: turn folio_test_hugetlb into a PageType The current folio_test_hugetlb() can be fooled by a concurrent folio split into ret…

Published May 20, 2024EPSS 0.22%

Overview

CVE-2024-35993 is a high-severity vulnerability. It was published on May 20, 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: turn folio_test_hugetlb into a PageType

The current folio_test_hugetlb() can be fooled by a concurrent folio split

into returning true for a folio which has never belonged to hugetlbfs.

This can't happen if the caller holds a refcount on it, but we have a few

places (memory-failure, compaction, procfs) which do not and should not

take a speculative reference.

Since hugetlb pages do not use individual page mapcounts (they are always

fully mapped and use the entire_mapcount field to record the number of

mappings), the PageType field is available now that page_mapcount()

ignores the value in this field.

In compaction and with CONFIG_DEBUG_VM enabled, the current implementation

can result in an oops, as reported by Luis. This happens since 9c5ccf2db04b

("mm: remove HUGETLB_PAGE_DTOR") effectively added some VM_BUG_ON() checks

in the PageHuge() testing path.

[[email protected]: update vmcoreinfo]

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

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

How severe is CVE-2024-35993?

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

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

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