PT-2025-6932 · Linux+8 · Linux Kernel+8
Mikołaj Lenczewski
+1
·
Published
2025-01-12
·
Updated
2026-05-26
·
CVE-2025-21696
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/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 issue arises when a memory region previously registered with userfaultfd as write-protected but without UFFD FEATURE EVENT REMAP is mremap()ed, leading to an inconsistency in flag clearing. This inconsistency causes a mismatch between the vma flags and the pte/pmd flags, resulting in a warning when setting the pte to writable while uffd-wp is still set. The fix involves explicitly clearing the uffd-wp pte/pmd flags on any such mremap() to ensure consistent values with the existing clearing of VM UFFD WP.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Debian
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu