VDB

CVE-2026-93218

CVE-2026-93218 PUBLISHED

mm/huge_memory: skip device-private PMDs in madvise_free_huge_pmd

Reported by linux · Published September 24, 2026

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: skip device-private PMDs in madvise_free_huge_pmd madvise_free_pte_range() checks pmd_trans_huge(*pmd) unlocked, then madvise_free_huge_pmd() takes pmd_trans_huge_lock(). pmd_is_huge() returns true for a device-private PMD, so orig_pmd can be device-private and enter the !pmd_present() branch. Skip device-private PMDs in that non-present branch and continue to out before calling pmd_folio(). Downgrade the check to VM_WARN_ON_ONCE() so an unexpected PMD softleaf logs a warning rather than panicking. Drop the thp_migration_supported() guard: it expands to IS_ENABLED(CONFIG_ARCH_SUPPORTS_PMD_SOFTLEAF), and both pmd_is_migration_entry() and pmd_is_device_private_entry() already return false when that config is not selected, so the guard suppresses only the case where the warning would already be silent. Potential trigger: an HMM-based GPU driver races with madvise(MADV_FREE): migrate_vma_pages() flips the PMD to a device-private entry between the caller's pmd_trans_huge() check and the callee's pmd_trans_huge_lock().

EPSS 0.16% · 4.8th percentile

Risk scores

EPSS Score
0.16%
4.8th percentile

Affected products

VendorProductVersions
LinuxLinux368076f52ebeecd33e10a9f80905d7508b6b6149, 368076f52ebeecd33e10a9f80905d7508b6b6149
LinuxLinux6.19, 0, 7.2.4
linuxlinux_kernel6.19, 6.19
LinuxLinux368076f52ebeecd33e10a9f80905d7508b6b6149, 368076f52ebeecd33e10a9f80905d7508b6b6149, 6.19

Timeline

  • Sep 24, 2026 Coalition ESS Score
  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-93218
vulnetix vdb fixes CVE-2026-93218

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