Skip to main content
Vulnerability Database/CVE-2026-93284

CVE-2026-93284: Linux Kernel Use-After-Free Vulnerability

CVE-2026-93284 is a use-after-free vulnerability in the Linux kernel DRM pagemap driver that could lead to memory corruption. This article covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93284 Overview

CVE-2026-93284 is a Linux kernel vulnerability in the Direct Rendering Manager (DRM) pagemap subsystem. The flaw stems from an incorrect ordering of cleanup operations during page migration error handling. The function drm_pagemap_migrate_unmap_pages() depends on the pages array to identify which pages require DMA unmapping. However, drm_pagemap_migration_unlock_put_pages() clears that array during its own cleanup, leaving stale state if invoked first.

An attacker with local, low-privileged access to a vulnerable system can trigger the condition during GPU memory migration operations. The resulting state corruption affects confidentiality, integrity, and availability of the host.

Critical Impact

Local attackers can trigger kernel memory corruption through the DRM pagemap migration path, impacting GPU-enabled Linux systems that use drm_pagemap migration logic.

Affected Products

  • Linux kernel versions containing the drm_pagemap migration code prior to the fix commits
  • Distributions shipping GPU drivers that rely on the DRM pagemap migration helpers
  • Systems using DRM drivers that invoke drm_pagemap_migrate_unmap_pages()

Discovery Timeline

  • 2026-09-24 - CVE-2026-93284 published to the National Vulnerability Database (NVD)
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93284

Vulnerability Analysis

The vulnerability resides in the DRM pagemap migration helpers used by GPU drivers to move pages between system memory and device memory. During error handling in the migration path, the kernel calls two cleanup functions whose execution order determines whether DMA mappings are correctly released.

drm_pagemap_migrate_unmap_pages() iterates over the pages array to determine which entries still hold active DMA mappings that must be unmapped. drm_pagemap_migration_unlock_put_pages() releases page references and clears the same array as part of its cleanup. When the unlock function runs first, the pages array is zeroed before the DMA unmap routine inspects it.

The result is that DMA mappings remain active while the backing pages are released. This creates a mismatch between the IOMMU state and the kernel's page tracking, enabling device-visible access to freed memory and potential corruption of adjacent kernel structures.

Root Cause

The root cause is an ordering defect in the migration error-handling path. The cleanup sequence invoked drm_pagemap_migration_unlock_put_pages() before drm_pagemap_migrate_unmap_pages(), destroying the state the latter required. The fix reorders the calls so the DMA unmap executes while the pages array remains valid.

Attack Vector

Exploitation requires local access with low privileges on a system that exposes DRM GPU interfaces to unprivileged processes. The attacker must induce a migration error during a GPU page migration operation to reach the vulnerable cleanup path. Successful exploitation can corrupt kernel memory, leak data through residual DMA mappings, or destabilize the system. The scope-changed CVSS metric indicates impact beyond the originally vulnerable component, consistent with DMA state crossing trust boundaries between CPU and device memory.

No verified public proof-of-concept code is available for this issue. See the upstream fixes referenced in the Kernel Git Commit 9e6372e and Kernel Git Commit e4331c6 for the authoritative technical details.

Detection Methods for CVE-2026-93284

Indicators of Compromise

  • Unexpected kernel warnings or oops messages referencing drm_pagemap, migrate_unmap, or DMA mapping teardown
  • IOMMU fault entries in dmesg tied to GPU devices during or after migration operations
  • Unexplained GPU driver resets or process terminations originating from unprivileged users

Detection Strategies

  • Audit installed kernel versions against the fix commits 9e6372e and e4331c6 to confirm patch status
  • Monitor kernel ring buffer output for stack traces that include the drm_pagemap_migrate_unmap_pages or drm_pagemap_migration_unlock_put_pages symbols
  • Review process execution patterns for non-root users repeatedly exercising DRM ioctl paths that drive page migrations

Monitoring Recommendations

  • Forward dmesg, journald, and auditd events to a centralized analytics pipeline for correlation across hosts
  • Baseline normal GPU workload behavior so anomalous migration errors stand out
  • Alert on repeated IOMMU faults from the same user context, which may indicate exploitation attempts

How to Mitigate CVE-2026-93284

Immediate Actions Required

  • Apply the upstream Linux kernel fixes from commits 9e6372e and e4331c6 as soon as distribution packages are available
  • Restrict access to DRM device nodes under /dev/dri/ so only trusted users and services can invoke GPU ioctls
  • Inventory hosts with GPU workloads, including virtualization and container nodes exposing GPU passthrough

Patch Information

The fix reorders the cleanup sequence in the DRM pagemap migration path so drm_pagemap_migrate_unmap_pages() executes before drm_pagemap_migration_unlock_put_pages(). Patched kernels are referenced in Kernel Git Commit 9e6372e and Kernel Git Commit e4331c6. Install the latest stable kernel update from your distribution vendor containing these commits.

Workarounds

  • Limit GPU access on multi-tenant systems to reduce the local attack surface until patches are deployed
  • Disable or unload DRM drivers on servers that do not require GPU functionality
  • Enforce mandatory access controls such as SELinux or AppArmor profiles that constrain unprivileged processes from interacting with DRM devices
bash
# Verify running kernel and restrict DRM device access
uname -r
ls -l /dev/dri/
# Example: restrict render node access to a dedicated group
chgrp gpu-users /dev/dri/renderD128
chmod 0660 /dev/dri/renderD128

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.