VDB

CVE-2026-72174

CVE-2026-72174 PUBLISHED

fs/proc/task_mmu: fix hugetlb self-deadlock in pagemap_scan_pte_hole()

Reported by linux · Published August 15, 2026

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

EPSS 0.21% · 10.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-develAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.100-125.179.amzn2023
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023

Risk scores

EPSS Score
0.21%
10.6th percentile

Affected products

VendorProductVersions
LinuxLinux52526ca7fdb905a768a93f8faa418e9b988fc34b, 52526ca7fdb905a768a93f8faa418e9b988fc34b, 52526ca7fdb905a768a93f8faa418e9b988fc34b
LinuxLinux6.7, 0, 6.12.97
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.180
linuxlinux_kernel6.7, 6.7, 6.7
amazon:2023kernel6.12-tools0
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0

…and 7 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (15 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72174
vulnetix vdb fixes CVE-2026-72174

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72174/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›