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

CVE-2026-93239: Linux Kernel Race Condition Vulnerability

CVE-2026-93239 is a race condition vulnerability in the Linux kernel affecting lockless page-table walks in show_pte() function. Concurrent teardowns can cause system faults. This article covers technical details, impact analysis, affected kernel versions, and mitigation strategies.

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-93239 Overview

CVE-2026-93239 is a race condition in the Linux kernel's arm64 memory management code. The show_pte() function walks page tables locklessly while interrupts remain enabled. A concurrent page-table teardown can free a table page during the walk or clear a parent entry after show_pte() validated it. The standard pXd_offset() helpers then re-read the cleared entry and derive a bogus lower-level pointer, triggering a secondary fault.

The fix uses lockless offset helpers with saved parent entries, mirroring the pattern used by gup_fast(), and disables local interrupts around the walk to block RCU-deferred table frees.

Critical Impact

A concurrent page-table teardown during show_pte() can cause the kernel to dereference a freed table page or follow a stale pointer, leading to a secondary fault inside the arm64 fault handler.

Affected Products

  • Linux kernel on arm64 architecture
  • Builds with MMU_GATHER_RCU_TABLE_FREE selected (default on arm64)
  • Stable kernel branches prior to the referenced fix commits

Discovery Timeline

  • 2026-09-24 - CVE CVE-2026-93239 published to NVD
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93239

Vulnerability Analysis

The show_pte() helper in the arm64 memory-management subsystem prints page-table state when the kernel handles a bad address fault. The walker traverses PGD, P4D, PUD, PMD, and PTE levels without acquiring the mmap lock and with interrupts enabled. This creates a window where another CPU can tear down the same page tables through the normal exit or unmap path.

Two distinct hazards result. First, a table page examined mid-walk can be freed before the walker finishes dereferencing it. Second, a parent entry can be cleared after the walker reads it, and a subsequent call to pXd_offset() re-reads the now-cleared entry and computes an invalid pointer at the next level. Either path leads to a dereference of released memory or a bogus address, producing a secondary fault inside the fault handler itself.

Root Cause

The root cause is unsynchronized traversal of RCU-protected page-table structures combined with helper functions that reread parent entries instead of using a saved value. On arm64, which selects MMU_GATHER_RCU_TABLE_FREE, table pages are freed through RCU with a tlb_remove_table_sync_one() IPI serving as the synchronization point. Running the walk with interrupts enabled permits that IPI to execute mid-walk, allowing the freelist to reclaim pages still referenced by the walker.

Attack Vector

Triggering the race requires a kernel fault path that invokes show_pte() to execute concurrently with page-table teardown on the same mm. Exploitation is not demonstrated and the condition primarily manifests as a kernel oops or instability rather than a direct privilege boundary crossing. No proof-of-concept code is published for this issue; the upstream fix is distributed as a set of kernel git commits referenced in the advisory.

Detection Methods for CVE-2026-93239

Indicators of Compromise

  • Kernel oops or BUG reports originating in show_pte() or arm64 fault entry paths
  • Secondary page faults logged while the kernel is already servicing a fault
  • Unexpected crashes on arm64 systems under memory pressure or heavy process churn

Detection Strategies

  • Compare running kernel versions against the fixed stable commits referenced in the advisory
  • Review dmesg and persistent crash logs for repeated faults inside show_pte() or pXd_offset()
  • Track arm64 host kernel versions through configuration management to flag unpatched builds

Monitoring Recommendations

  • Forward kernel logs from arm64 hosts to a central logging platform and alert on panics tagged with memory-management symbols
  • Monitor crash-dump collection services for arm64 kernel oopses that reference page-table walks
  • Include arm64 kernel package versions in routine vulnerability scans against stable-tree advisories

How to Mitigate CVE-2026-93239

Immediate Actions Required

  • Apply the upstream Linux kernel fix on all arm64 systems running affected stable branches
  • Prioritize rebuilds for arm64 hosts that frequently experience fault conditions or run untrusted workloads
  • Rebuild and redeploy custom kernels that inherit from affected stable branches

Patch Information

The fix is distributed through the following upstream commits on git.kernel.org:

The patches switch show_pte() to lockless offset helpers using saved parent entries and wrap the walk in a local-IRQ-disable guard that holds off RCU-deferred table frees until the walk completes.

Workarounds

  • No supported workaround exists outside of applying the upstream patches
  • Operators can reduce exposure by minimizing conditions that invoke show_pte(), such as faulty drivers and userspace triggering recurrent bad-address faults
  • Vendors shipping long-term support kernels should backport the referenced commits into their own trees

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.