Skip to contentSkip to conversation

CVE-2026-53364: Bluetooth: hci_conn: Fix memory leak in hci_le_big_terminate()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 13

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_conn: Fix memory leak in hci_le_big_terminate()

hci_le_big_terminate() allocates iso_list_data via kzalloc_obj but returns 0 without freeing it when neither pa_sync_term nor big_sync_term flags are set after evaluating the PA and BIG sync connection state.

This early-return path was introduced when hci_le_big_terminate() was refactored to take struct hci_conn instead of raw u8 parameters, adding PA/BIG flag evaluation logic. The existing kfree() on hci_cmd_sync_queue failure does not cover this path.

The Linux kernel CVE team has assigned CVE-2026-53364 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit a7bcffc673de219af2698fbb90627016233de67b and fixed in 6.18.35 with commit e6b78019664dfe37c3dc707f50e7b453d6c7726d
	Issue introduced in 6.17 with commit a7bcffc673de219af2698fbb90627016233de67b and fixed in 7.0.12 with commit a59d4f4217e6200ca9180643e5738a87d3fa8be0
	Issue introduced in 6.17 with commit a7bcffc673de219af2698fbb90627016233de67b and fixed in 7.1 with commit bfa9d28960ed677d556bdf097073bc3129686229
	Issue introduced in 6.16.4 with commit 087812a6119b4cd5c9d658b48aee40a25707a1c6

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53364

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/bluetooth/hci_conn.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/e6b78019664dfe37c3dc707f50e7b453d6c7726d
	https://git.kernel.org/stable/c/a59d4f4217e6200ca9180643e5738a87d3fa8be0
	https://git.kernel.org/stable/c/bfa9d28960ed677d556bdf097073bc3129686229