CVE-2026-19937
Awaiting Analysis Awaiting Analysis - Queue

Memory Leak in Zephyr Bluetooth Mesh Delayable Message Contexts

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

Publication date: 2026-10-13

Last updated on: 2026-10-14

Assigner: Zephyr Project

Description

The Bluetooth Mesh Access layer delayable-message machinery in subsys/bluetooth/mesh/delayable_msg.c manages a static pool of CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_COUNT message contexts (default 4) threaded onto a free_ctx or busy_ctx list. release_delayable_msg_ctx() returned a context to free_ctx only when sys_slist_find_and_remove() found it on busy_ctx. The chunk-exhaustion error path in bt_mesh_delayable_msg_manage() releases a context that was already popped off free_ctx but not yet inserted on busy_ctx, so the context was appended to neither list and was permanently lost from the pool. Because bt_mesh_delayable_msg_init() runs only once from bt_mesh_init(), and node reset/suspend only drain busy_ctx, the loss survives unprovision, re-provision and suspend/resume β€” it is cleared only by a reboot. The error path is reached when the chunk pool (CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CHUNK_COUNT, default 40 chunks) is short of the chunks a new delayed message needs and the oldest pending message cannot be flushed because bt_mesh_access_send() returns -EBUSY or -ENOBUFS (all segmented-TX contexts busy, or advertising/segment buffers exhausted). A peer that is provisioned into the mesh network β€” holding a valid NetKey plus an AppKey or DevKey bound to a server model β€” can drive both conditions by flooding the victim with requests that elicit segmented responses while withholding the Segment Acknowledgment, which keeps the transmit contexts occupied while queued responses hold the chunk pool. Each further request that arrives in that window leaks one context. Once the pool is drained, bt_mesh_delayable_msg_manage() returns -ENOMEM for every subsequent send and bt_mesh_model_send() propagates that error with no fallback to an immediate transmit. Since CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG and CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CTX_ENABLED are both enabled by default, ctx->rnd_delay is set for every received access message, so all replies from Configuration Server, Health Server and application server models are silently dropped. The node keeps receiving and processing traffic but never answers, a persistent denial of service until the device is restarted. There is no memory corruption, information disclosure or integrity impact; releases before the fix compute the chunk count from the transmit buffer capacity rather than its payload length, making chunk-pool starvation β€” and therefore the leak β€” considerably easier to provoke.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-13
Last Modified
2026-10-14
Generated
2026-10-19
AI Q&A
2026-10-13
EPSS Evaluated
2026-10-18
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
zephyrproject zephyr 3.6.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-772 The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a permanent context leak in the Bluetooth Mesh Access layer of Zephyr RTOS. When handling delayed messages, a context is removed from the free list but not properly added to the busy list during error conditions. This causes the context to be lost permanently, reducing the available pool of contexts. The issue persists across node resets and re-provisions until a full reboot.

Detection Guidance

This vulnerability is specific to Zephyr RTOS Bluetooth Mesh implementations and may not have direct detection commands. Monitor for symptoms like unresponsive mesh nodes, failed delayed message transmissions, or repeated -ENOMEM errors in logs. Check Zephyr RTOS version against affected releases (3.6.0 to 4.4.2) and inspect bt_mesh_delayable_msg_manage() function behavior in delayable_msg.c for context leaks.

Impact Analysis

An attacker can exploit this by flooding a provisioned mesh node with requests that trigger segmented responses while withholding Segment Acknowledgment. This occupies transmit contexts and exhausts the chunk pool. Once the pool is drained, all subsequent delayed messages fail, causing the node to silently drop replies from servers like Configuration, Health, and application models. The node continues receiving traffic but never responds, resulting in a persistent denial of service.

Compliance Impact

This vulnerability primarily causes a persistent denial of service by preventing a Bluetooth Mesh node from responding to requests, which could impact systems requiring timely data processing or communication. For GDPR, this may affect availability of services handling personal data. For HIPAA, it could disrupt systems managing protected health information by failing to respond to critical requests.

Mitigation Strategies

Upgrade Zephyr RTOS to version 4.5.0 or later where the fix is included. If upgrading is not immediately possible, apply the patch from commit 097001f to the delayable_msg.c file. Disable Bluetooth Mesh Access layer features if not required by setting CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG=n in your build configuration.

Chat Assistant

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

EPSS Chart