CVE-2024-35993 Details
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]
A vulnerability in the Linux kernel's handling of hugetlb pages can lead to incorrect behavior in memory management. The issue arises because the function 'folio_test_hugetlb' can be misled by a concurrent folio split, causing it to incorrectly identify a folio as belonging to hugetlbfs when it does not. This vulnerability affects several different versions and ranges of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The specific commit that resolves the issue is '2431b5f2650dfc47ce782d1ca7b02d6b3916976f', which is included in the latest Linux kernel releases.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 20, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.30 >= 6.7, < 6.8.9 6.9 rc1 6.9 rc2 6.9 rc3 6.9 rc4 6.9 rc5 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Sep 24, 2025 | Initial Analysis | [email protected] |
| Apr 16, 2025 | CVE Modified | kernel.org |
| Nov 21, 2024 | CVE Modified | CVE |
| May 29, 2024 | CVE Modified | kernel.org |
| May 20, 2024 | New CVE Received | kernel.org |