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

CVE-2026-19937: Bluetooth Mesh Access Layer DOS Vulnerability

CVE-2026-19937 is a denial of service flaw in Bluetooth Mesh Access layer that causes context pool exhaustion, preventing nodes from responding to requests. This post explains its impact, technical details, and mitigation steps.

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

CVE-2026-19937 is a resource leak vulnerability [CWE-772] in the Zephyr RTOS Bluetooth Mesh Access layer. The flaw resides in the delayable-message machinery implemented in subsys/bluetooth/mesh/delayable_msg.c. The release_delayable_msg_ctx() function fails to return a message context to the free_ctx list when it was popped from free_ctx but not yet linked onto busy_ctx before the error path in bt_mesh_delayable_msg_manage() fires. Each triggered error leaks one context from the static pool of CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_COUNT entries (default 4).

Critical Impact

An authenticated mesh peer can exhaust the delayable-message context pool, causing the node to silently drop all Configuration Server, Health Server, and application model replies until it is rebooted.

Affected Products

  • Zephyr RTOS Bluetooth Mesh subsystem (subsys/bluetooth/mesh/delayable_msg.c)
  • Builds with CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG enabled (default)
  • Builds with CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CTX_ENABLED enabled (default)

Discovery Timeline

  • 2026-10-13 - CVE-2026-19937 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-19937

Vulnerability Analysis

The Bluetooth Mesh Access layer uses a static pool of message contexts threaded onto two lists: free_ctx and busy_ctx. When bt_mesh_delayable_msg_manage() hits the chunk-exhaustion error path, it calls release_delayable_msg_ctx() on a context that was already removed from free_ctx but has not yet been appended to busy_ctx. The release helper used sys_slist_find_and_remove() against busy_ctx and only moved the context to free_ctx on success. The lookup fails, the context is leaked, and the pool shrinks by one entry per occurrence.

The error path is reached when the chunk pool (CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CHUNK_COUNT, default 40) cannot satisfy a new delayed message and the oldest pending message cannot be flushed because bt_mesh_access_send() returns -EBUSY or -ENOBUFS. Because bt_mesh_delayable_msg_init() runs only once from bt_mesh_init(), the leak survives unprovision, re-provision, and suspend/resume. Only a reboot restores the pool.

Root Cause

The root cause is incomplete release semantics in release_delayable_msg_ctx(). The function assumed every released context must already live on busy_ctx, but the manage() error path releases contexts in an intermediate state where they appear on neither list. The release therefore drops the node from both lists, permanently losing it from the static pool.

Attack Vector

A peer provisioned into the mesh network — holding a valid NetKey plus an AppKey or DevKey bound to a server model — can drive the preconditions. The attacker floods the victim with requests that elicit segmented responses, then withholds the Segment Acknowledgment. Transmit contexts stay busy while queued responses hold the chunk pool. Each additional request arriving in that window leaks one context. Once drained, bt_mesh_delayable_msg_manage() returns -ENOMEM for every subsequent send and bt_mesh_model_send() propagates the error with no fallback to immediate transmit, producing persistent denial of service.

c
 static void release_delayable_msg_ctx(struct delayable_msg_ctx *ctx)
 {
-	if (sys_slist_find_and_remove(&access_delayable_msg.busy_ctx, &ctx->node)) {
-		sys_slist_append(&access_delayable_msg.free_ctx, &ctx->node);
-	}
+	/* Not on busy_ctx when called from the manage() error path. */
+	(void)sys_slist_find_and_remove(&access_delayable_msg.busy_ctx, &ctx->node);
+	sys_slist_append(&access_delayable_msg.free_ctx, &ctx->node);
 }

Source: Zephyr commit 097001f

Detection Methods for CVE-2026-19937

Indicators of Compromise

  • A mesh node continues receiving traffic but stops replying to Configuration Server, Health Server, or application model requests.
  • Repeated -ENOMEM returns from bt_mesh_model_send() after a burst of segmented-response-eliciting requests.
  • Observed floods of acknowledged mesh requests from a single peer with absent Segment Acknowledgment traffic in the reverse direction.

Detection Strategies

  • Instrument release_delayable_msg_ctx() and bt_mesh_delayable_msg_manage() with counters for free-list depth and chunk-pool usage during QA and field diagnostics.
  • Correlate mesh traffic captures with on-device logs to identify peers that submit segmented requests without issuing Segment Acknowledgments.
  • Monitor for a monotonic decline in available delayable-message contexts that is not recovered after unprovision or suspend/resume.

Monitoring Recommendations

  • Expose the current free_ctx depth through a vendor model or debug shell to allow operators to detect exhaustion before full denial of service.
  • Log every -ENOMEM returned by bt_mesh_delayable_msg_manage() with the source address of the triggering message.
  • Baseline normal response latency per model and alert when reply counts drop to zero while inbound traffic continues.

How to Mitigate CVE-2026-19937

Immediate Actions Required

  • Apply Zephyr commit 097001f187ba2764e9ef1cc7113b8da525bf741c to all affected mesh builds and rebuild firmware.
  • Reboot nodes that are already in a non-responsive state to restore the context pool.
  • Audit provisioned peers and revoke keys for any device observed driving the leak.

Patch Information

The fix updates release_delayable_msg_ctx() to append the context to free_ctx unconditionally after attempting removal from busy_ctx. Details are published in the Zephyr Security Advisory GHSA-5rrx-xww6-5xrh and the corresponding upstream commit.

Workarounds

  • Disable CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG or CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CTX_ENABLED where delayable replies are not required.
  • Increase CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_COUNT and CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CHUNK_COUNT to raise the attacker's cost, understanding this does not eliminate the leak.
  • Restrict mesh provisioning to trusted devices and rotate NetKey, AppKey, and DevKey values on a defined schedule.
bash
# Kconfig workaround until the patch is deployed
CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG=n
CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CTX_ENABLED=n

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.