Bug 2516366 (CVE-2026-72180)

Summary: CVE-2026-72180 kernel: mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's huge memory management (mm/huge_memory). When a device-private Page Middle Directory (PMD) is downgraded, the pmd_swp_uffd_wp bit, which indicates Userfault File Descriptor Write Protect (UFFD_WP), is not properly preserved. This oversight allows a local attacker to bypass write protection mechanisms by performing an mprotect() operation over a UFFD_WP-marked device-private Transparent Huge Page (THP), potentially leading to unauthorized memory modifications.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-08-15 06:08:44 UTC
In the Linux kernel, the following vulnerability has been resolved:

mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade

change_non_present_huge_pmd() rewrites a writable device-private PMD swap
entry into a readable one without carrying pmd_swp_uffd_wp() across.  The
PTE-level change_softleaf_pte() does this correctly; mirror that here,
matching what copy_huge_pmd() does for the fork path.  Without the carry,
a plain mprotect() over a UFFD_WP-marked device-private THP strips the bit
and the trap is bypassed on swap-in.