CVE-2024-49872

MEDIUM EPSS 4.0%
Published Oct 21, 20241y ago · Modified Jun 17, 20262w ago
4.7 CVSS 3.1
Medium
Find Similar
Published Oct 21, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
4.7
Exploitability
1.0
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-362

Affected Products 1

VendorProductVersionRange
linuxlinux_kernel*≥6.11  –  <6.11.3

References 2

  • git.kernel.org https://git.kernel.org/stable/c/ce645b9fdc78ec5d28067286e92871ddae6817d5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e28f39b359c0cfdcc011603e51187085a5f1e5e3
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/ce645b9fdc78ec5d28067286e92871ddae6817d5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/e28f39b359c0cfdcc011603e51187085a5f1e5e3
    Patch