# CVE-2026-77684: Bluetooth Classic HFP Hands-Free: TX buffer leak on RFCOMM disconnect leads to permanent Bluetooth denial of service

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

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.39% (percentile 24, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-10-19T22:49:41.900Z
- **Modified:** 2026-11-04T05:19:01.520Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.2.0, \< 4.5.0

## Description

The Bluetooth Classic Hands-Free Profile HF role in subsys/bluetooth/host/classic/hfp\_hf.c does not release the AT command buffers that are still queued on hf-\>tx\_pending when the RFCOMM DLC goes down. hfp\_hf\_disconnected() only cancelled the work items and cleared hf-\>acl, and no other code path ever dequeues those buffers, so each one is permanently lost from the fixed hf\_pool (CONFIG\_BT\_MAX\_CONN + 1 buffers, i.e. two in the default configuration). The same function also left BT\_HFP\_HF\_FLAG\_CONNECTED set, and hfp\_hf\_create() wiped the object with memset() as soon as hf-\>acl was NULL, without checking whether hf-\>work, hf-\>slc\_work or hf-\>deferred\_work was still pending or running.

The remote Audio Gateway peer controls the trigger end to end and needs no application involvement: an unsolicited +BCS: 1 response makes bcs\_handle() call bt\_hfp\_hf\_select\_codec() and queue an AT+BCS buffer, which cannot be transmitted while BT\_HFP\_HF\_FLAG\_RX\_ONGOING is set, and an immediately following RFCOMM DISC strands that buffer. Repeating the connect / +BCS / disconnect cycle a couple of times empties hf\_pool for good.

With the pool exhausted, HFP command sending fails permanently, and because hfp\_hf\_send\_cmd() allocates with K\_FOREVER (bt\_rfcomm\_create\_pdu() → bt\_conn\_create\_pdu()) from the Bluetooth RX context — where that timeout is not downgraded to K\_NO\_WAIT — one further +BCS from the peer parks the Bluetooth RX thread inside net\_buf\_alloc() with no possible waker, halting all HCI event processing until the device is rebooted. Separately, reusing the HF slot while a work handler was still queued or running allowed memset() to wipe live k\_work items out from under the system workqueue, corrupting shared kernel workqueue state. Exploitation requires an established HFP session (for SSP devices L2CAP enforces authentication before the RFCOMM channel is reachable) and a build with CONFIG\_BT\_HFP\_HF enabled.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.2.0, \< 4.5.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.5.0 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-77684. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77684.md
Affected: zephyrproject zephyr >= 4.2.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.5.0

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-77684 being exploited?

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

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

Medium: CVSS 5.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

zephyrproject zephyr \>= 4.2.0, \< 4.5.0.

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

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

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

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-hc6x-8gm2-2r9v>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/59c947c71f3d9ab4cf10fd28846e6ca4a3d53819>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/941c53f84d7b2a2cafaa63ec1c555dde68cf8e12>

## 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-77684>

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