PT-2025-28870 · Linux+5 · Linux Kernel+5
Barry
·
Published
2025-06-04
·
Updated
2026-04-20
·
CVE-2025-38242
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:
The Linux kernel contains a race condition within the
userfaultfd move function when handling swap cache operations. This issue arises from a lockless swap cache lookup, potentially leading to the movement of an incorrect folio or corruption of the RSS counter. The vulnerability occurs when a folio is swapped in and out using the same swap entry concurrently with a userfaultfd move operation. Specifically, the filemap get folio function may return an incorrect folio or NULL, leading to the potential for moving an invalid folio or accounting errors. The race window is narrow, requiring multiple rare event collisions, but can be reproduced with a deliberately constructed reproducer.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Allocation of Resources Without Limits
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu