First published: Mon Oct 21 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=6.11<6.11.3 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.15-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-49872 is categorized as a moderate severity vulnerability.
To resolve CVE-2024-49872, ensure your Linux kernel version is updated to at least 6.11.4 or later.
CVE-2024-49872 affects Linux kernel versions from 6.11 to 6.11.3.
CVE-2024-49872 impacts systems running specific versions of the Linux kernel, especially those using Debian distributions.
CVE-2024-49872 is not a zero-day vulnerability as it has been publicly disclosed and patched.