CVE-2026-93218
Received Received - Intake

Race Condition in Linux Kernel Huge Memory Handling

Vulnerability report for CVE-2026-93218, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-24

Last updated on: 2026-09-24

Assigner: kernel.org

Description

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-24
Last Modified
2026-09-24
Generated
2026-09-25
AI Q&A
2026-09-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition in the madvise_free_huge_pmd function. It occurs when an HMM-based GPU driver interacts with madvise(MADV_FREE), causing a PMD to flip to a device-private entry between checks. This can lead to incorrect handling of huge pages and potential system instability.

Detection Guidance

This vulnerability is specific to the Linux kernel and requires kernel-level detection. Check your kernel version with 'uname -r' and compare it against patched versions. Monitor kernel logs for warnings related to PMD handling or madvise operations. Look for GPU driver crashes or memory management errors.

Impact Analysis

The vulnerability may cause system crashes or unexpected behavior due to improper handling of huge pages. Users relying on GPU drivers or memory management features could experience performance issues or application failures.

Mitigation Strategies

Update your Linux kernel to the latest stable version that includes the fix. If using HMM-based GPU drivers, check for driver updates from your GPU vendor. Monitor system logs for related errors and apply kernel patches as they become available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93218. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart