All reports
Medium

kernel: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-47676

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-22

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

A flaw was found in the Linux kernel. This vulnerability, a Use-After-Free (UAF) in the huge page (hugetlb) fault pathway, allows a Virtual Memory Area (VMA) to be freed while still in use. A local attacker with low privileges could exploit this to cause a system crash (denial of service), access sensitive information, or potentially gain elevated privileges.