
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-27022 is a vulnerability in the Linux kernel related to improper locking during the fork system call. The vulnerability was discovered by Thorvald Natvig and affects Linux kernel versions from 6.1 up to 6.8.8, including various release candidates of version 6.9. The issue stems from a race condition where hugetlb_dup_vma_private() and hugetlb_vm_op_open() are called outside the i_mmap_rwsem lock while the vma lock can be used simultaneously (NVD).
The vulnerability occurs due to a race condition in the kernel's memory management subsystem. The issue manifests when the fork system call is executed concurrently with hugetlbfs operations. The race condition involves improper locking sequence where child vma becomes visible through the i_mmap tree before proper initialization. The CVSS v3.1 base score is 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access required with low attack complexity (NVD).
The vulnerability has been classified with high severity ratings for confidentiality, integrity, and availability (C:H/I:H/A:H). The issue affects the kernel's memory management functionality, potentially leading to memory corruption or system instability when exploited (NVD).
The vulnerability requires local access with low attack complexity. It can be triggered during the interaction between fork operations and hugetlbfs operations, specifically during memory management operations (NVD).
The vulnerability has been fixed by deferring the linking of file vma until it is fully initialized. The fix ensures that vmas are properly initialized before they can be used. However, some backported fixes were later reverted due to incomplete backporting causing xfstests failures (Kernel Patch).
Fix availability across major Linux distributions and their releases.
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."