Issue metadata
Sign in to add a comment
|
Bluetooth Low Energy Buffer Overflow Causing Service Query Failure
Reported by
m...@fingerfoodstudios.com,
Apr 4 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Platform: 9202.56.1 (Official Build) stable-channel gandof Steps to reproduce the problem: 1. Open crosh -> shell -> sudo btmon 2. Open chrome://bluetooth-internals 3.Attempt to connect to a BTLE device 4. Disconnect or attempt to connect to a different BTLE device 5. Observe that the .getServices() method is returning nothing, or failing 6. Observe in the btmon that there has been a buffer overflow 7. Attempt to connect to various other BTLE devices in the chrome://bluetooth-internals and observe various failure states, no services being returned, and rarely get the appropriate service list What is the expected behavior? The .getServices() method returns a list of available services for the BTLE Device regularly without failing. What went wrong? The BT stack experiences a buffer overflow on connection and then fails to connect _after_ the original connection. Usually the first connection does not fail. The only solution is to restart the device. Turning the adapter on and off does not solve. Did this work before? Yes Chrome 56.* Does this work in other browsers? Yes Chrome version: 57.0.2987.128 Channel: stable OS Version: 57.0.2987.128 Flash Version: 25.0.0.127
,
Apr 6 2017
btmon crash is probably related to 128bit UUID, fixed in 5.42 See https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=c318b332b8144c0fcb39b0af672eeb737b64bc24 Hopefully with BlueZ 5.44 branch coming soon, this will be solved: https://bugs.chromium.org/p/chromium/issues/detail?id=708257
,
Apr 6 2017
,
May 31 2017
Error still occurring as of 05/30/2017. Resulted in hard lock of device that needed reset.
,
Oct 20 2017
Hi Matt, is this still happening? |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by ortuno@chromium.org
, Apr 4 2017Components: -Blink>Bluetooth OS>Systems>Bluetooth
Status: Untriaged (was: Unconfirmed)