# CVE-2024-47676: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-10-21T11:53:20.482Z
- Modified: 2026-08-05T11:39:22.950Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 9acad7ba3e25d11f4c96df1b7312ae89e6faca5c before e897d184a8dd4a4e1f39c8c495598e4d9472776c; from 9acad7ba3e25d11f4c96df1b7312ae89e6faca5c before d59ebc99dee0a2687a26df94b901eb8216dbf876; from 9acad7ba3e25d11f4c96df1b7312ae89e6faca5c before 98b74bb4d7e96b4da5ef3126511febe55b76b807; 6.9 (not affected: before 6.9; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.9 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/e897d184a8dd4a4e1f39c8c495598e4d9472776c> (patch)
- <https://git.kernel.org/stable/c/d59ebc99dee0a2687a26df94b901eb8216dbf876> (patch)
- <https://git.kernel.org/stable/c/98b74bb4d7e96b4da5ef3126511febe55b76b807> (patch)

## Sources

- CVE List: [CVE-2024-47676](https://www.cve.org/CVERecord?id=CVE-2024-47676), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47676](https://nvd.nist.gov/vuln/detail/CVE-2024-47676), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47676 · Whole record: https://cve.day/CVE-2024-47676.json · Rebuilt by cve.day 2026-11-25T22:58:46.956Z
