PT-2024-33717 · Linux+2 · Linux Kernel+2

Published

2024-09-26

·

Updated

2025-02-28

·

CVE-2024-49872

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel (affected versions not specified)
Description: A race condition panic in the Linux kernel has been resolved. The issue occurs when memfd pin folios attempts to create a hugetlb page, but another process has already done so, resulting in a folio value of -EEXIST. This leads to a panic on the next iteration of the while start idx loop. The fix involves setting the folio to NULL on error.
Recommendations: To resolve the issue, set the folio to NULL on error in the memfd pin folios function. As a temporary workaround, consider disabling the memfd pin folios function until a patch is available. Restrict access to the vulnerable memfd alloc folio function to minimize the risk of exploitation. Avoid using the folio variable in the affected code path until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-15068
CVE-2024-49872
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
USN-7276-1
USN-7277-1
USN-7310-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu