{"id":"CVE-2024-47676","summary":"mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb.c: fix UAF of vma in hugetlb fault pathway\n\nSyzbot reports a UAF in hugetlb_fault().  This happens because\nvmf_anon_prepare() could drop the per-VMA lock and allow the current VMA\nto be freed before hugetlb_vma_unlock_read() is called.\n\nWe can fix this by using a modified version of vmf_anon_prepare() that\ndoesn't release the VMA lock on failure, and then release it ourselves\nafter hugetlb_vma_unlock_read().","modified":"2026-03-20T12:39:10.281701Z","published":"2024-10-21T11:53:20.482Z","related":["USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47676.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/98b74bb4d7e96b4da5ef3126511febe55b76b807"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d59ebc99dee0a2687a26df94b901eb8216dbf876"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e897d184a8dd4a4e1f39c8c495598e4d9472776c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47676.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47676"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9acad7ba3e25d11f4c96df1b7312ae89e6faca5c"},{"fixed":"e897d184a8dd4a4e1f39c8c495598e4d9472776c"},{"fixed":"d59ebc99dee0a2687a26df94b901eb8216dbf876"},{"fixed":"98b74bb4d7e96b4da5ef3126511febe55b76b807"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47676.json"}}],"schema_version":"1.7.5"}