Bug 2320175 (CVE-2024-47676) - CVE-2024-47676 kernel: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway
Summary: CVE-2024-47676 kernel: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway
Keywords:
Status: NEW
Alias: CVE-2024-47676
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320307
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 12:01 UTC by OSIDB Bzimport
Modified: 2024-10-21 14:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 12:01:41 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.