CVE-2024-36943
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

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. 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).

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-64564NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesAug 04, 2026
CVE-2026-64563NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesAug 04, 2026
CVE-2026-64562NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-5.15
NoYesAug 04, 2026
CVE-2026-64561NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.17
NoYesAug 04, 2026
CVE-2022-4994NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules
NoYesJul 30, 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