7.8high
mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.9 before 6.10.13, from 6.11 before 6.11.2 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/hugetlb.c: corrección del UAF de vma en la ruta de error hugetlb Syzbot informa un UAF en hugetlb_fault(). Esto sucede porque vmf_anon_prepare() podría eliminar el bloqueo por VMA y permitir que se libere el VMA actual antes de que se llame a hugetlb_vma_unlock_read(). Podemos solucionar esto utilizando una versión modificada de vmf_anon_prepare() que no libere el bloqueo de VMA en caso de error y luego lo liberemos nosotros mismos después de hugetlb_vma_unlock_read().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47676 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-47676 changed 2026-08-04 | Public domain |