[PATCH 6.6 308/638] Bluetooth: hci_core: Fix possible buffer overflow