Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 before 8ac6043bd3e5b58d30f50737aedc2e58e8087ad5; affected 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 before 1ed8b37cbaf14574c779064ef1372af62e8ba6aa |
| Linux / Linux | affected 6.1; unaffected 0 before 6.1; unaffected 6.1.9 through 6.1.*; unaffected 6.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/8ac6043bd3e5b58d30f50737aedc2e58e8087ad5
- https://git.kernel.org/stable/c/1ed8b37cbaf14574c779064ef1372af62e8ba6aa
ADP enrichment
No English description supplied.
No references supplied.