
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability (CVE-2022-3623) was discovered in the Linux Kernel's hugetlb implementation, specifically affecting the followpagepte function in mm/gup.c. The vulnerability was discovered on September 1, 2022, and publicly disclosed on October 20, 2022. This issue affects various Linux distributions including Ubuntu and Debian systems running vulnerable kernel versions (Ubuntu Security, Debian Security).
The vulnerability stems from a race condition when looking up a CONT-PTE/PMD size hugetlb page. The issue occurs specifically in architectures like ARM64 that support CONT-PTE/PMD size hugetlb, which allows for both PMD/PUD size hugetlb (2M and 1G) and CONT-PTE/PMD size (64K and 32M) with 4K page size specified. The core problem lies in using incorrect locking mechanisms - pteoffsetmaplock() instead of hugeptelock() - when accessing the pte entry for CONT-PTE size hugetlb in followpage_pte() (Kernel Commit).
The vulnerability can lead to denial of service (system crash) or information leaks. When exploited, it could allow attackers to cause data inconsistency errors, particularly during page migration operations. The unstable pte entry under the incorrect lock could lead to potential race issues, even when operating under what appears to be proper locking conditions (Debian LTS).
The issue has been fixed in various Linux distributions through kernel updates. The fix involves renaming followhugepmd() to followhugepmdpte() to handle PMD and PTE level size hugetlb, using hugepte_lock() to obtain the correct pte entry lock. Ubuntu has released fixes for affected versions including 22.10 (5.19.0-28.29), 22.04 LTS (5.15.0-60.66), and 20.04 LTS (5.4.0-144.161). Debian has addressed this in version 5.10.162-1 (Ubuntu Security, Debian 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."