mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2611f7521c6c124b1bef1be4fc319e0ca144502f and Kernel f7e2c21bd1f57cd5350eecdfdb5d6025ca6afbab.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=368076f52ebeecd33e10a9f80905d7508b6b6149 <2611f7521c6c124b1bef1be4fc319e0ca144502f, >=368076f52ebeecd33e10a9f80905d7508b6b6149 <f7e2c21bd1f57cd5350eecdfdb5d6025ca6afbab | 2611f7521c6c124b1bef1be4fc319e0ca144502f, f7e2c21bd1f57cd5350eecdfdb5d6025ca6afbab |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket