CVE-2025-21696
CVSS 3.1 Score 5.5 of 10 (medium)
Details
Summary
CVE-2025-21696 is a vulnerability affecting the Linux kernel. It involves an inconsistency between virtual memory area (vma) flags and page table entry/page massive (PTE/PMD) flags during a memory remapping operation using mremap(). Specifically, when remapping a write-protected memory region without the UFFD_FEATURE_EVENT_REMAP feature, the uffd-wp flag is cleared in the vma but not in the corresponding PTE/PMD. This discrepancy results in a warning being triggered when attempting to set the PTE to writable, even though uffd-wp is still set. The issue has been addressed by explicitly clearing the uffd-wp flag in PTEs, PMDs, and huge PTEs during mremap() operations.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.