What’s Vulnerable › Vulnerabilities
CVE-2024-47676: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway Syzbot reports a UAF in hugetlb_fault(). This happens because vmf_anon_prepare() could drop the per-VMA lock and allow the current VMA to be freed before hugetlb_vma_unlock_read() is called. We can fix this by using a modified version of vmf_anon_prepare() that doesn't release the VMA lock on failure, and then release it ourselves after hugetlb_vma_unlock_read().
Affected products
- Linux kernel: from 6.9 before 6.10.13; from 6.11 before 6.11.2 — fixed in 6.10.13, 6.11.2
How to fix
Upgrade to a fixed version: Linux kernel 6.10.13, 6.11.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/98b74bb4d7e96b4da5ef3126511febe55b76b807
- https://git.kernel.org/stable/c/d59ebc99dee0a2687a26df94b901eb8216dbf876
- https://git.kernel.org/stable/c/e897d184a8dd4a4e1f39c8c495598e4d9472776c
Get alerted when CVE-2024-47676 or the next vulnerability affects your stack