---
id: CVE-2026-78117
title: >-
  Race condition on shared HCI TX descriptor in the Infineon PSOC 6 BLESS
  Bluetooth driver can leak adjacent memory over the air
summary: >-
  The Infineon PSOC 6 BLESS HCI driver in
  drivers/bluetooth/hci/hci_infineon_psoc6_bless.c stored the outgoing HCI
  packet descriptor in a file-scope variable, static
  cy_stc_ble_hci_tx_packet_info_t hci_tx_pkt. psoc6_bless_send() cleared an…
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-362
vendor: zephyrproject
product: zephyr
affected:
  - zephyr >= 3.4.0 <= 4.4.2
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T18:19:31.044Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-78117'
references:
  - url: >-
      https://github.com/zephyrproject-rtos/zephyr/commit/7d0efa35134141bb1b1527f9078d2bc19e67168e
    label: Fix commit
  - url: >-
      https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7v9c-hmjh-hxqw
    label: GHSA-7v9c-hmjh-hxqw
tags:
  - cve.org
ingestedAt: '2026-10-21T19:10:31.405Z'
---

## Overview

The Infineon PSOC 6 BLESS HCI driver in drivers/bluetooth/hci/hci_infineon_psoc6_bless.c stored the outgoing HCI packet descriptor in a file-scope variable, static cy_stc_ble_hci_tx_packet_info_t hci_tx_pkt. psoc6_bless_send() cleared and populated that descriptor's packetType, dataLength and data fields before acquiring psoc6_bless_operation_sem, so the driver's serialising semaphore protected only the call into Cy_BLE_SoftHciSendAppPkt() and not the shared state that call reads.

The Bluetooth host does not guarantee a single HCI sender. Most transmissions are funnelled through the cooperative TX-processor work queue, but bt_hci_cmd_send() deliberately bypasses bt_dev.cmd_tx_queue for BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS and calls bt_send() directly from the caller's thread; that caller is bt_hci_host_num_completed_packets(), the acl_in_pool destroy callback, which runs on whichever thread drops the last reference to a received ACL buffer. CONFIG_BT_HCI_ACL_FLOW_CONTROL defaults to y on this driver's boards, and an application that returns -EINPROGRESS from its L2CAP recv callback and later calls bt_l2cap_chan_recv_complete() performs that unref from its own preemptible thread. A remote peer that generates Bluetooth traffic concurrently with the device's own transmissions raises the collision rate.

When two senders interleave, the semaphore holder can hand the controller a descriptor whose dataLength comes from one net_buf and whose data pointer comes from another — or one whose buffer has already been returned to its pool. The controller then copies and transmits up to a full HCI/ACL payload starting at a shorter or recycled buffer, disclosing adjacent RAM contents to the connected peer; other interleavings duplicate one HCI packet and silently drop another, disrupting the link. The driver only reads through the shared descriptor, so no memory corruption or write primitive results, and the disclosed bytes are not attacker-chosen. The fix makes the descriptor a local variable in psoc6_bless_send(), removing the shared state; Cy_BLE_SoftHciSendAppPkt() copies the packet before returning, so it need not outlive the call.

## Affected

- `zephyr >= 3.4.0 <= 4.4.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
