# CVE-2026-11894: Double-free / use-after-free in Realtek BEE Bluetooth HCI driver \`send()\` error paths

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-08-11T05:08:51.464Z
- **Modified:** 2026-10-23T19:10:00.167Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.4.0, \< 4.4.2

## Description

The Realtek BEE Bluetooth HCI driver's send callback, bt\_hci\_bee\_send() in drivers/bluetooth/hci/hci\_bee.c, violated the bt\_hci\_driver\_api buffer-ownership contract. That contract requires the driver to consume (unref) the transmit net\_buf only on success; on an error return the host caller retains ownership and unrefs the buffer itself. The pre-fix code routed all error paths through a shared cleanup label that unconditionally called net\_buf\_unref(buf) before returning the error code.

Because the host TX paths (in subsys/bluetooth/host/hci\_core.c) unref the buffer again after send() returns an error, the buffer is freed twice: the driver returns it to its net\_buf pool and the host then unrefs the already-freed buffer, corrupting the shared pool / underflowing the reference count (CWE-415). The same error branch additionally dereferenced buf-\>len inside a LOG\_ERR call after the buffer had already been unref'd, a read of freed memory (CWE-416) that is compiled in at the default error log level.

The failing edges are reached when the controller's host-to-controller buffer allocation fails or the controller send fails (resource-exhaustion / IO conditions). A remote Bluetooth peer can push the device toward these conditions indirectly by driving heavy host transmit activity, at which point the double-free corrupts the host net\_buf pool and most likely crashes the device, with residual potential for further memory corruption. The impact is confined to builds using this specific Realtek BEE HCI driver.

The fix returns early from each error path without unreffing and unrefs the buffer only on the success path, restoring the ownership contract and eliminating both the double-free and the use-after-free read.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-11894. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-11894.md
Affected: zephyrproject zephyr >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-11894 being exploited?

There is no confirmed exploitation: CVE-2026-11894 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-11894?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-11894?

zephyrproject zephyr \>= 4.4.0, \< 4.4.2.

### Is there a fix for CVE-2026-11894?

Yes. Fixed in zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-11894?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-v9mj-h2m6-v9c6>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/9a684b5c314fb1d8670b01f7b6c4450a9353906c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-11894>

HTML: <https://flawdb.com/CVE-2026-11894> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-11894>
