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

CVE-2026-19936: Bluetooth Mesh Access-Layer DoS Vulnerability

CVE-2026-19936 is a denial of service vulnerability in Bluetooth Mesh access-layer that causes NULL pointer dereference through unsynchronized list operations. This post explains its technical details, impact, 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-19936 Overview

CVE-2026-19936 is a race condition in the Zephyr Project real-time operating system Bluetooth Mesh Access-layer delayable message queue. The flaw resides in subsys/bluetooth/mesh/delayable_msg.c, where three intrusive lists and a k_work_delayable are shared between the Bluetooth host RX thread and the system workqueue without synchronization. An authenticated mesh peer holding the NetKey and a bound AppKey can trigger a NULL pointer dereference on the system workqueue thread. The result is loss of availability on the affected node, either through a system workqueue abort or a full node reset. The vulnerability is tracked as [CWE-362] (Concurrent Execution using Shared Resource with Improper Synchronization).

Critical Impact

An adjacent-network attacker with valid mesh credentials can crash the system workqueue thread, stopping all workqueue-driven functionality including mesh timing, and causing denial of service on the affected Zephyr node.

Affected Products

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

Discovery Timeline

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

Technical Details for CVE-2026-19936

Vulnerability Analysis

The Bluetooth Mesh Access-layer delayable message queue shares three intrusive lists (busy_ctx, free_ctx, free_chunks) and one k_work_delayable between two cooperative threads with no synchronization. The function bt_mesh_delayable_msg_manage() runs on the Bluetooth host RX thread, while delayable_msg_handler() runs on the system workqueue. Both block while the lists are in an intermediate state, allowing the other context to observe torn state.

Two specific unsafe sequences exist. First, delayable_msg_handler() used the result of sys_slist_get() on busy_ctx without a NULL check. Second, allocate_delayable_msg_ctx() tested sys_slist_is_empty() and then assumed a separate sys_slist_get() would succeed.

Root Cause

The root cause is missing mutual exclusion around shared list state between two cooperative threads. Because CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG defaults to enabled, every model response to a received mesh message is parked on this queue. Inbound traffic therefore drives the enqueuer directly. Exhausting the 40-entry chunk pool forces bt_mesh_delayable_msg_manage() down the purge path, which releases the only queued message and leaves busy_ctx empty while the delayable work item is still armed. If the enqueuer then yields, the handler runs against the empty list.

Attack Vector

A peer that holds the NetKey and a bound AppKey, meaning a legitimate or compromised network member, controls the arrival rate, the size of elicited responses, and the destination address. This controls occupancy of the 4-entry context pool and the 40-entry chunk pool. The handler then performs a read-modify-write through a NULL-based pointer (pending_msg->fired_time += 10) at a fixed low address on the system workqueue thread. On typical targets this faults and aborts the system workqueue thread or resets the node. The write value and address are fixed, and no attacker-controlled length or index is involved. The flaw is not exploitable for memory corruption or code execution.

The same unsynchronized window also allowed one message context to be selected and released by two contexts at once, producing duplicated transmissions, duplicated send-completion callbacks, and crossed chunk ownership.

Detection Methods for CVE-2026-19936

Indicators of Compromise

  • Unexpected aborts of the system workqueue thread on Zephyr nodes running Bluetooth Mesh models.
  • Node resets correlated with bursts of inbound access-layer mesh traffic from a specific peer.
  • Duplicated mesh transmissions or duplicated send-completion callbacks on a mesh model.
  • Fault logs referencing NULL pointer dereference near the delayable_msg_handler call site.

Detection Strategies

  • Enable Zephyr fault handler logging to capture NULL pointer dereferences on the system workqueue thread and forward crash dumps to a central log collector.
  • Instrument mesh models to count outstanding delayable message contexts and alert when the 4-entry context pool or 40-entry chunk pool approaches exhaustion.
  • Monitor mesh traffic for peers sending high-rate access-layer requests that elicit large responses, particularly to group addresses.

Monitoring Recommendations

  • Collect Zephyr device telemetry (crash reports, reboot counters, workqueue stall metrics) into a centralized logging or SIEM pipeline for correlation.
  • Track mesh node availability and alert on unexpected reboots clustered around a single source address.
  • Review access-layer logs for repeated message patterns that match the chunk-pool exhaustion profile described in the advisory.

How to Mitigate CVE-2026-19936

Immediate Actions Required

  • Update Zephyr to a build that includes commit 0a6da68955f454edc41e4b916e05c3b974209fe4 and rebuild all affected firmware images.
  • Audit mesh network membership and revoke NetKey or AppKey material held by any device that is no longer trusted.
  • Deploy updated firmware to all Bluetooth Mesh nodes using CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG=y.

Patch Information

The upstream fix serializes every list mutation with a k_spinlock that is never held across a blocking call. It makes push_msg_from_delayable_msgs() detach the queue head atomically so a message being sent is on no list. The patch removes the unchecked sys_slist_get() from delayable_msg_handler() and drops any message that reaches the front of the queue while the stack is suspended or reset. See the GitHub commit and the GitHub Security Advisory GHSA-4p55-7h77-fhgr for details.

Workarounds

  • Disable the delayable message feature by building with CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG=n where the feature is not required by provisioned models.
  • Restrict mesh provisioning to trusted devices and rotate NetKey and AppKey material on a defined schedule to limit the window of credential abuse.
  • Where feasible, segment mesh networks so that models exposed to untrusted peers do not share a subnet with critical nodes.
bash
# Disable the vulnerable delayable message feature at build time
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.