CVE-2024-49872
Last modified
CVE-2024-49872 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix memfd_pin_folios alloc race panic If memfd_pin_folios tries to create a hugetlb page, but someone else already did, then folio gets the value -EEXIST here: folio = memfd_alloc_folio(memfd, start_idx); if (IS_ERR(folio)) { ret = PTR_ERR(folio); if (ret != -EEXIST) goto err; then on the next trip through the "while start_idx" loop we panic here: if (folio) { folio_put(folio); To fix, set the folio to NULL on error.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix memfd_pin_folios alloc race panic If memfd_pin_folios tries to create a hugetlb page, but someone else already did, then folio gets the value -EEXIST here: folio = memfd_alloc_folio(memfd, start_idx); if (IS_ERR(folio)) { ret = PTR_ERR(folio); if (ret != -EEXIST) goto err; then on the next trip through the "while start_idx" loop we panic here: if (folio) { folio_put(folio); To fix, set the folio to NULL on error.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.11, < 6.11.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-49872?
How severe is CVE-2024-49872?
How do I fix CVE-2024-49872?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-49866In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-49867In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49868In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49869In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49870In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49871In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49873In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49874In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-49875In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49876In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49877In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49878In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-49872?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
