
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-36943 is a vulnerability discovered in the Linux kernel's fs/proc/task_mmu subsystem, specifically related to the handling of page table entries (PTEs). The vulnerability was disclosed on May 30, 2024, affecting various Linux kernel versions. The issue involves a potential race condition in the make_uffd_wp_pte() function that could lead to the loss of young/dirty bits during pagemap scan (Kernel Git).
The vulnerability stems from a race condition in the make_uffd_wp_pte() function's implementation. The original code sequence performed operations in a way that could lose information if another thread accessed or dirtied the PTE between the first two calls. The problematic sequence was: pte = ptep_get(ptep); followed by ptep_modify_prot_start(ptep); pte = pte_mkuffd_wp(pte); and ptep_modify_prot_commit(ptep, pte). This was fixed by modifying the sequence to use ptep_modify_prot_start() for atomic operations, ensuring that any access after the first call would see an invalid PTE and cause a fault (Kernel Git).
The vulnerability could result in the loss of page table entry information, specifically the young/dirty bits during pagemap scan operations. This could potentially affect system stability and memory management operations (Kernel Git).
The issue has been fixed in various Linux kernel versions, including Ubuntu 24.04 LTS (noble) with kernel version 6.8.0-40.40. The fix involves modifying the make_uffd_wp_pte() function to use atomic operations correctly. Users are advised to update their systems to the patched versions (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."