CVE-2024-35993
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35993 affects the Linux kernel's memory management system, specifically the handling of hugetlb (huge page) functionality. The vulnerability was discovered in May 2024 and involves the folio_test_hugetlb() function, which can be fooled by a concurrent folio split into returning true for a folio that has never belonged to hugetlbfs (Kernel Git).

Technical details

The vulnerability exists in the Linux kernel's memory management subsystem where the folio_test_hugetlb() function can return incorrect results during concurrent folio splits. This occurs because the current implementation can be deceived when a caller doesn't hold a refcount on the folio. The issue specifically affects memory-failure, compaction, and procfs operations. In systems with CONFIG_DEBUG_VM enabled, this can result in an oops condition, particularly since the commit 9c5ccf2db04b which added VM_BUG_ON() checks in the PageHuge() testing path (Kernel Git).

Impact

When exploited, this vulnerability could lead to incorrect handling of huge pages in the Linux kernel. This is particularly concerning in systems where memory-failure handling, memory compaction, or procfs operations are active. The issue could potentially result in system crashes (oops) when running with CONFIG_DEBUG_VM enabled (Kernel Git).

Exploitability

The vulnerability requires specific conditions to be exploited, particularly during concurrent folio splits when the caller doesn't hold a refcount. It primarily affects systems that use hugetlb pages and can be triggered through memory-failure, compaction, or procfs operations (Kernel Git).

Mitigation and workarounds

The issue has been fixed in various Linux kernel versions, including Ubuntu 24.04 LTS (noble) with kernel version 6.8.0-40.40, Ubuntu 22.04 LTS with kernel version 6.8.0-40.40~22.04.3, and several other distributions. The fix involves turning folio_test_hugetlb into a PageType and implementing proper reference counting (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management