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

CVE-2026-95108: ThreadX Module Manager DOS Vulnerability

CVE-2026-95108 is a denial of service flaw in ThreadX Module Manager caused by memory leak during thread deletion. Modules creating and deleting threads exhaust shared memory pools. This post covers technical details, impact, 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-95108 Overview

CVE-2026-95108 is a resource exhaustion vulnerability [CWE-400] in the Eclipse ThreadX Module Manager. The flaw resides in _txm_module_manager_tx_thread_delete_dispatch, defined in common_modules/module_manager/inc/txm_module_manager_dispatch.h. When a user-mode module thread is deleted, the dispatcher frees only the TX_THREAD control block and leaks the privileged kernel stack allocated by _txm_module_manager_thread_create. Each create-delete cycle consumes a fixed block from the shared _txm_module_manager_object_pool. A loaded module can exhaust the pool through normal, successful service calls, blocking every memory-protected module from creating kernel objects.

Critical Impact

A single loaded user-mode module can exhaust the Module Manager's shared object pool, denying kernel object creation to all memory-protected modules system-wide.

Affected Products

  • Eclipse ThreadX real-time operating system
  • ThreadX Module Manager (common_modules/module_manager)
  • Systems loading user-mode memory-protected ThreadX modules

Discovery Timeline

  • 2026-10-20 - CVE-2026-95108 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-95108

Vulnerability Analysis

The Eclipse ThreadX Module Manager allocates two objects when a user-mode module creates a thread. The module first requests a TX_THREAD control block via txm_module_object_allocate. The function _txm_module_manager_thread_create then performs a second allocation of TXM_MODULE_KERNEL_STACK_SIZE bytes for the privileged kernel stack used when the thread executes system calls. Both allocations come from the same _txm_module_manager_object_pool and are linked onto the module's allocation list.

When the thread is deleted, _txm_module_manager_tx_thread_delete_dispatch releases the TX_THREAD control block but does not free the paired kernel stack allocation. The leaked stack remains linked to the module until the module itself is stopped. Every subsequent create-and-delete cycle leaks another TXM_MODULE_KERNEL_STACK_SIZE block.

Root Cause

The thread-delete dispatcher is missing the deallocation call for the kernel stack recorded in the TX_THREAD control block at creation time. The paired allocation lifecycle established by _txm_module_manager_thread_create is not mirrored by the delete path. Each service returns TX_SUCCESS, so the leak is invisible to the calling module and to the kernel.

Attack Vector

A local user-mode module with permission to create and delete threads triggers the condition. The module calls tx_thread_create and tx_thread_delete in a loop. Every state transition is valid and every service returns success. Once _txm_module_manager_object_pool is exhausted, no memory-protected module can create any kernel object and no user-mode module thread can be created anywhere in the system. The attacker needs only low privileges on the local system to produce a denial-of-service condition affecting every tenant of the Module Manager.

Detection Methods for CVE-2026-95108

Indicators of Compromise

  • Steady decline in free memory within _txm_module_manager_object_pool without a corresponding increase in live thread objects.
  • Repeated successful tx_thread_create and tx_thread_delete service calls originating from the same user-mode module.
  • Module allocation lists growing in size across thread create-delete cycles rather than remaining stable.
  • Failures of tx_thread_create or other kernel object creation services with TX_NO_MEMORY after extended module uptime.

Detection Strategies

  • Instrument the Module Manager allocation path to log entries added to each module's allocation list and correlate with thread lifecycle events.
  • Add runtime assertions that verify the module allocation list shrinks by the expected number of blocks on each tx_thread_delete.
  • Monitor the free-block count of _txm_module_manager_object_pool over time and alert on monotonic decline during steady workloads.

Monitoring Recommendations

  • Collect telemetry on kernel object allocation failures returning TX_NO_MEMORY from Module Manager dispatchers.
  • Track per-module allocation list length and raise an alert when it exceeds expected bounds for the module's active object count.
  • Review ThreadX trace logs for sequences of tx_thread_create and tx_thread_delete without intervening module stop events.

How to Mitigate CVE-2026-95108

Immediate Actions Required

  • Apply the fix referenced in the Eclipse ThreadX GitHub Security Advisory GHSA-9hhf-6357-hpgq once available.
  • Restrict loading of untrusted user-mode modules on affected ThreadX deployments until the patch is applied.
  • Audit production modules for thread create-and-delete loops and restart affected modules to reclaim leaked pool memory.

Patch Information

The maintainers address the leak in _txm_module_manager_tx_thread_delete_dispatch so the dispatcher releases the paired kernel stack allocation along with the TX_THREAD control block. Refer to the Eclipse ThreadX GitHub Security Advisory for the fix commit and release details.

Workarounds

  • Periodically stop and reload modules that create and delete threads frequently to force release of the full module allocation list.
  • Size _txm_module_manager_object_pool to tolerate expected leak volume between scheduled module restarts where patching is not yet possible.
  • Limit which modules are permitted to invoke tx_thread_create and tx_thread_delete on systems that cannot immediately apply the fix.

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.