PT-2025-14365

CVE-2025-21984

·

Published

2025-03-06

·

Updated

2026-11-06

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to the fixed version
Description A vulnerability in the Linux kernel has been resolved, related to the userfaultfd move function encountering swapcache. The issue arises when the function checks if the PTE entry is present or a swap entry and handles it incorrectly, creating a race window. This can lead to critical issues, including a kernel BUG, depending on the system configuration. If KSM is disabled, both small and large folios can trigger a BUG during the add rmap operation.
Recommendations To resolve the issue, update to a version of the Linux kernel that includes the fix for the userfaultfd move function. As a temporary workaround, consider disabling the userfaultfd feature until a patch is available. Restrict access to the swapcache to minimize the risk of exploitation. Avoid using the folio variable in the affected API endpoints until the issue is resolved.
Note: The provided information does not specify the exact fixed version of the Linux kernel. Therefore, it is recommended to update to the latest available version to ensure the vulnerability is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2025-5786
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
USN-8781-1
Found an issue in the description? Have something to add? Feel free to write us 👾