Bluetooth: hci_conn: Fix memory leak in hci_le_big_terminate()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Bluetooth hci_le_big_terminate() can leak allocated memory when neither the PA nor BIG sync termination flag is set. The input does not establish whether an attacker can trigger this path or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the affected Bluetooth code should check their versions; affected versions are not specified.