CVE-2025-21696
mediumpriority · track · 22EPSS 0.002 · 12 %ileDEEURUUSEPSS · scored 2026-10-23
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_check_pte_flags() due to setting the pte to writable while uffd-wp is still set. Fix this by always explicitly clearing the uffd-wp pte/pmd flags on any such mremap() so that the values are consistent with the existing clearing of VM_UFFD_WP. Be careful to clear the logical flag regardless of its physical form; a PTE bit, a swap PTE bit, or a PTE marker. Cover PTE, huge PMD and hugetlb paths.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0362Linux Kernel: Mehrere SchwachstellenDeutsch2025-02-12csaf · cert_bundDE
Ein lokaler Angreifer kann diese Schwachstellen ausnutzen, um einen Denial-of-Service-Zustand oder andere nicht spezifizierte Effekte zu erzeugen.
- WID-SEC-W-2026-2253IBM Security Verify Access: Mehrere SchwachstellenDeutsch2026-07-08csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM Security Verify Access ausnutzen, um erweiterte Berechtigungen zu erlangen, beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, sensible Informationen offenzulegen und andere, nicht näher bezeichnete Angriffe durchzuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://git.kernel.org/stable/c/0cef0bb836e3cfe00f08f9606c72abd72fe78ca3cnnvd
- https://git.kernel.org/stable/c/310ac886d68de661c3a334198d8604b722d7fdf8cnnvd
- https://vigilance.fr/vulnerability/Linux-kernel-multiple-vulnerabilities-dated-13-02-2025-46387cnnvd
- https://git.kernel.org/stable/c/0cef0bb836e3cfe00f08f9606c72abd72fe78ca3enisa_euvd
- https://git.kernel.org/stable/c/310ac886d68de661c3a334198d8604b722d7fdf8enisa_euvd
- https://git.kernel.org/stable/c/0cef0bb836e3cfe00f08f9606c72abd72fe78ca3Patchnvd
- https://git.kernel.org/stable/c/310ac886d68de661c3a334198d8604b722d7fdf8Patchnvd
- https://git.kernel.org/stable/c/8e2f6ba256dd1e590addc48e6e9577bf39c482f2nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan