CVE-2025-21696Improper Input Validation in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 99.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 12
Latest updateApr 23

Description

In the Linux kernel, the following vulnerability has been resolved: mm: clear uffd-wp PTE/PMD state on mremap() When mremap()ing a memory region previously registered with userfaultfd as write-protected but without UFFD_FEATURE_EVENT_REMAP, an inconsistency in flag clearing leads to a mismatch between the vma flags (which have uffd-wp cleared) and the pte/pmd flags (which do not have uffd-wp cleared). This mismatch causes a subsequent mprotect(PROT_WRITE) to trigger a warning in page_table_che

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Patches

🔴Vulnerability Details

4
OSV
linux, linux-aws, linux-gcp, linux-hwe-6.11, linux-lowlatency, linux-lowlatency-hwe-6.11, linux-oem-6.11, linux-oracle, linux-raspi, linux-realtime vulnerabilities2025-04-23
OSV
linux-azure, linux-azure-6.11 vulnerabilities2025-04-23
GHSA
GHSA-6q8c-8rxm-f6fh: In the Linux kernel, the following vulnerability has been resolved: mm: clear uffd-wp PTE/PMD state on mremap() When mremap()ing a memory region pre2025-02-12
OSV
CVE-2025-21696: In the Linux kernel, the following vulnerability has been resolved: mm: clear uffd-wp PTE/PMD state on mremap() When mremap()ing a memory region previ2025-02-12

📋Vendor Advisories

5
Ubuntu
Linux kernel vulnerabilities2025-04-23
Ubuntu
Linux kernel vulnerabilities2025-04-23
Red Hat
kernel: mm: clear uffd-wp PTE/PMD state on mremap()2025-02-12
Microsoft
mm: clear uffd-wp PTE/PMD state on mremap()2025-02-11
Debian
CVE-2025-21696: linux - In the Linux kernel, the following vulnerability has been resolved: mm: clear u...2025