Skip to main content
Network Thinking Solutions Logo

CVE-2024-49872

Linux kernel: mm/gup: fix memfd_pin_folios alloc race panic

All CVEs
CVE-2024-49872Published 10/21/2024

Linux kernel: mm/gup: fix memfd_pin_folios alloc race panic

Vendor advisory
CVSS4.7Medium

Overview

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.

Published
10/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.11, < 6.11.3

Verify advisory

Source
Linux
Linux
≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < e28f39b359c0cfdcc011603e51187085a5f1e5e3

Verify advisory

Source
Linux
Linux
≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5, < ce645b9fdc78ec5d28067286e92871ddae6817d5

Verify advisory

Source
Linux
Linux
6.11

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.