Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition within Bluetooth range
-
DeliverySaturate BLE link to stress TX path
-
ExploitInduce bt_bflb_send() controller TX failure
-
ExecutionTrigger double net_buf_unref via shared 'done' label
-
PersistCorrupt shared net_buf pool via premature parent buffer free
-
ImpactCrash Zephyr BLE stack (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
|
| Exploitation Conditions | The target device must be running Zephyr RTOS with an unpatched hci_bflb.c driver compiled for a Bouffalo Lab BL60x, BL70x, or BL61x on-chip BLE controller - devices using other BLE controllers (e.g., Nordic, Espressif) are unaffected. The attacker must be within Bluetooth radio range (adjacent network). The vulnerable code path is reached only when bt_bflb_send() encounters a controller send failure or an unsupported H:4 packet type; because these are conditions on the host-to-controller transmit path, a remote peer cannot directly inject a malformed packet to trigger them - the peer can only indirectly increase the probability of a TX failure by generating heavy BLE link load. This indirect triggering requirement is the primary limiting factor: reliable exploitation requires proximity, a sustained high-traffic BLE environment, and a degree of timing luck, significantly raising the practical bar beyond what the CVSS AC:H metric alone conveys. |
| Impact | The CVSS 3.1 base score of 5.9 (Medium) with vector AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H accurately reflects the constrained real-world risk. Attack vector is Adjacent, limiting exposure to devices within Bluetooth radio range; attack complexity is High because the error path is not directly driven by attacker-supplied radio bytes - a peer can only influence it indirectly by inducing controller TX failures under heavy link load, which is a probabilistic and environment-dependent condition. Availability impact is High (crash/BLE stack DoS) and Integrity is Low due to possible downstream memory corruption, but Confidentiality is unaffected. No KEV listing and no EPSS score were provided, so exploitation likelihood cannot be quantified. The vulnerability has no known public exploit. Scope is unchanged (U), confirming crash impact is bounded to the affected device's BLE subsystem. The niche deployment surface - Bouffalo Lab BLE SoCs running Zephyr - further limits population at risk. Overall, this is a genuine medium-severity embedded DoS with a credible but difficult-to-weaponize attack path, not a high-priority network-exploitable issue. |
| Exploit ScenarioDerived | An attacker within Bluetooth radio range of an IoT device running Zephyr RTOS on a Bouffalo Lab BL60x/BL70x/BL61x SoC saturates the BLE link with traffic to induce repeated controller TX failures in bt_bflb_send(), triggering the double net_buf_unref sequence and corrupting the shared net_buf pool. The resulting use-after-free causes the Zephyr BLE stack to crash or produce undefined memory behavior, achieving denial of service. No public exploit code exists at time of analysis; the indirect triggering mechanism (link saturation) makes reliable exploitation environment-dependent. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Double-free corruption in Zephyr RTOS's Bouffalo Lab BLE HCI driver crashes the BLE stack on any device using a BL60x/BL70x/BL61x on-chip controller. The driver's bt_bflb_send() unconditionally consumed a net_buf reference on all error paths via a shared 'done' label, violating the bt_hci_driver_api contract that reserves unref responsibility for the caller on failure; the subsequent caller-side unref then double-decrements the reference count, prematurely freeing a parent TX buffer that remains reachable on the connection queue and corrupting the shared net_buf pool. No public exploit identified at time of analysis; EPSS data was not supplied, and CISA KEV listing is absent.
RemediationAI
The upstream fix is available as commit 76d92d502b30218aaf11cbbe1be180a317627bb9 in the Zephyr project repository (https://github.com/zephyrproject-rtos/zephyr/commit/76d92d502b30218aaf11cbbe1be180a317627bb9); a tagged patched release version has not been independently confirmed from the available data, so consumers should verify whether their Zephyr release branch has incorporated this commit or apply the patch manually to hci_bflb.c. The change is surgical - three error return sites in bt_bflb_send() are converted from 'goto done' to direct 'return' statements, eliminating the unconditional net_buf_unref on error paths with no behavioral side effects on the success path. If patching is not immediately feasible, a compensating control is to disable BLE on affected Bouffalo Lab hardware at the application configuration level (CONFIG_BT=n or equivalent Kconfig exclusion), which prevents the vulnerable code path from being compiled or reached; the trade-off is loss of all BLE functionality. The full advisory is at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-ph42-6rqx-728c.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in drivers/bluetooth/hci/hci_bflb.c, the Zephyr RTOS host-to-controller transport driver for Bouffalo Lab's BL60x, BL70x, and BL61x families of RISC-V-based SoCs with integrated BLE radios. Zephyr's net_buf subsystem implements reference-counted packet buffers; the bt_hci_driver_api.send() contract (documented in include/zephyr/drivers/bluetooth.h) mandates that the callee may only consume the buffer reference on success - on error, the caller (send_buf() in subsys/bluetooth/host/conn.c) retains ownership and unrefs it. The driver violated this by routing all error returns through a shared 'done' label that called net_buf_unref(buf) unconditionally, consuming the reference even on failure. The subsequent caller-side unref is the second free captured by CWE-415 (Double Free). Because the buffer is a TX fragment whose destroy callback decrements its still-queued parent buffer's reference count, the parent buffer is freed prematurely while still reachable on the connection TX queue, escalating the double-free into a use-after-free and pool-level heap corruption. The fix (commit 76d92d502b) replaces all error 'goto done' paths with direct 'return' statements, bypassing the unconditional unref.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Adjacent vector (Bluetooth range); high complexity because TX failure is only indirectly inducible; no auth required but no direct packet-level trigger; availability high, integrity low, confidentiality none.
Primary rating from Vendor (zephyrproject).
CVSS VectorVendor: zephyrproject
Lifecycle Timeline
1DescriptionCVE.org
The Bluetooth HCI driver for Bouffalo Lab on-chip BLE controllers (BL60x/BL70x/BL61x), bt_bflb_send() in drivers/bluetooth/hci/hci_bflb.c, violates the bt_hci_driver_api.send() buffer-ownership contract. That contract (documented at include/zephyr/drivers/bluetooth.h) requires the buffer reference to be consumed only on success; on error the caller still owns the reference and unrefs it. The driver instead routed all error paths through a shared label that unconditionally called net_buf_unref(buf) before returning the error code, consuming the buffer on failure as well.
When send() returns an error, the host TX path (send_buf() in subsys/bluetooth/host/conn.c) unrefs the same buffer again, believing it still owns it. This double-unref over-decrements the net_buf reference count. Because the buffer is a TX fragment whose destroy callback also decrements its still-queued parent buffer, the parent is freed prematurely while reachable on the connection TX queue, producing a use-after-free and corruption of the shared net_buf pool rather than a benign leak.
The error conditions are on the host-to-controller transmit path (controller send failure, or an unsupported H:4 packet type), so they are not driven directly by attacker-supplied radio bytes; a remote/adjacent peer can influence them only indirectly, e.g. by inducing controller TX failures under heavy link load. The consequence when reached is BLE-stack denial of service (crash / pool corruption) with possible further memory corruption, bounded to devices using one of these Bouffalo Lab on-chip controllers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-55935
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB