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
| Vector | AV: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
Affected Products
Linuxmint
Linux Kernel
Ubuntu