VDB

CVE-2026-72175

CVE-2026-72175 PUBLISHED CVSS 7.1 HIGH

fs/proc/task_mmu: fix make_uffd_wp_huge_pte() prot-update race

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: fs/proc/task_mmu: fix make_uffd_wp_huge_pte() prot-update race Patch series "userfaultfd/pagemap: pre-existing fixes". These are pre-existing bug fixes that were carried at the front of the userfaultfd RWP working-set-tracking series up to v5 [1]. Per review feedback that fixes should not sit in the middle of a feature series, they are split out and sent on their own; the RWP series is reposted rebased on top of this. All six were flagged by the Sashiko AI review of the RWP series and carry independent of RWP, apply to mm-new directly, and carry Cc: stable@. 1: fs/proc/task_mmu: a missing huge_ptep_modify_prot_start() in make_uffd_wp_huge_pte() can lose hardware Dirty/Accessed updates when PAGEMAP_SCAN write-protects a hugetlb PTE. 2: fs/proc/task_mmu: pagemap_scan_hugetlb_entry() compares the range against HPAGE_SIZE rather than the hstate page size, so it never write-protects gigantic hugetlb pages. 3: fs/proc/task_mmu: PAGEMAP_SCAN with PM_SCAN_WP_MATCHING over an unpopulated hugetlb range self-deadlocks -- pagemap_scan_pte_hole() calls uffd_wp_range() while walk_hugetlb_range() holds the hugetlb vma lock for read, and hugetlb_change_protection() then takes it for write. Install the marker inline instead. 4: mm/huge_memory: change_non_present_huge_pmd() drops pmd_swp_uffd_wp on a device-private PMD permission downgrade, silently losing the uffd-wp marker. 5: userfaultfd: must_wait() applies pte_write() to a locklessly read PTE without checking pte_present(), so swap/migration entries decode random offset bits and a thread can stay parked on a stale fault. 6: userfaultfd: __VMA_UFFD_FLAGS feeds VMA_UFFD_MINOR_BIT (41) to mk_vma_flags() unconditionally, an out-of-bounds write into the single-word vma_flags_t on 32-bit. Build the mask from config-gated per-mode masks so an unavailable bit is never materialised. This patch (of 6): make_uffd_wp_huge_pte() arms the UFFD_WP bit on a present HugeTLB PTE by calling huge_ptep_modify_prot_commit() with a ptent snapshot that was fetched without the corresponding huge_ptep_modify_prot_start(). The start helper is what atomically clears the entry so the kernel-owned snapshot stays consistent until the commit; without it, the hardware may set Dirty or Accessed in the live PTE between the original read and the commit, and huge_ptep_modify_prot_commit() (whose generic implementation just calls set_huge_pte_at()) then writes the stale snapshot back over the live hardware bits, losing the update. The non-hugetlb sibling make_uffd_wp_pte() does this correctly via ptep_modify_prot_start() / ptep_modify_prot_commit(). Mirror that pattern for the present-PTE branch. The migration case stays as-is -- migration entries are non-present, so there's no hardware update to race against.

Fixed versions

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

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.44-99.149.amzn2023
kernel6.12-headersAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023
LinuxLinux8e39ed92d7c5c6bfc08dc45153916f49a4e98bab, 6.7

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
LinuxLinux52526ca7fdb905a768a93f8faa418e9b988fc34b, 52526ca7fdb905a768a93f8faa418e9b988fc34b, 52526ca7fdb905a768a93f8faa418e9b988fc34b
LinuxLinux6.7, 0, 6.12.101
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0
LinuxLinux7.2, 52526ca7fdb905a768a93f8faa418e9b988fc34b, 52526ca7fdb905a768a93f8faa418e9b988fc34b
amazon:2023kernel6.12-tools0
linuxlinux_kernel6.7, 6.7, 6.7
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.44-99.1490
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023microvm-kernel6.180

…and 7 more

Timeline

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

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72175
vulnetix vdb fixes CVE-2026-72175

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-72175/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 ›