CVE-2026-72174

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
17/08/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> fs/proc/task_mmu: fix hugetlb self-deadlock in pagemap_scan_pte_hole()<br /> <br /> A PAGEMAP_SCAN ioctl requesting PM_SCAN_WP_MATCHING on a hugetlb VMA hangs<br /> the calling thread, unkillably, as soon as the scan reaches an unpopulated<br /> part of the range:<br /> <br /> do_pagemap_scan()<br /> walk_page_range()<br /> walk_hugetlb_range()<br /> hugetlb_vma_lock_read() # take the vma lock for read ...<br /> pagemap_scan_pte_hole() # ... -&gt;pte_hole() for a hole<br /> uffd_wp_range()<br /> change_protection()<br /> hugetlb_change_protection()<br /> hugetlb_vma_lock_write() # ... and block taking it for write<br /> <br /> walk_hugetlb_range() holds the hugetlb vma lock for read across the whole<br /> walk. A present entry goes to -&gt;hugetlb_entry(); an unpopulated one goes<br /> to -&gt;pte_hole(), i.e. pagemap_scan_pte_hole(). To write-protect the hole<br /> that handler calls uffd_wp_range(), which on a hugetlb VMA reaches<br /> hugetlb_change_protection() and takes the same vma lock for write. The<br /> thread then blocks in down_write() waiting for the read lock it is itself<br /> holding.<br /> <br /> The populated path avoids this: pagemap_scan_hugetlb_entry()<br /> write-protects the entry inline under the page-table lock and never enters<br /> hugetlb_change_protection().<br /> <br /> Do the same for holes. Fault in the page table and install the uffd-wp<br /> marker directly with make_uffd_wp_huge_pte() under the page-table lock,<br /> rather than routing through uffd_wp_range(). That is the same sequence<br /> hugetlb_change_protection() runs for an unpopulated entry, minus the vma<br /> write lock -- which is safe to skip because PMD sharing is disabled on<br /> uffd-wp VMAs (hugetlb_unshare_all_pmds() runs at registration), leaving<br /> nothing for that lock to serialise against.

Impact