Skip to content

HID and HOGP connections from non-bonded devices.

Alain Michaud linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2HOGP must only accept data from bonded devices.profiles/input/hog.c+4 -01 reply
2/2HID accepts bonded device connections only.profiles/input/device.c profiles/input/device.h profiles/input/input.conf +1 more+43 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [BlueZ PATCH 0/2] HID and HOGP connections from non-bonded devices.

It was discovered that BlueZ's HID and HOGP profiles implementations don't specifically require bonding between the device and the host.

This creates an opportunity for an malicious device to connect to a target host to either impersonate an existing HID device without security or to cause an SDP or GATT service discovery to take place which would allow HID reports to be injected to the input subsystem from a non-bonded source.

This patch series addresses the issue by ensuring that only connections from devices that are bonded are accepted by the HID and HOGP profile implementation.

More information about the vulnerability is available here:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00352.html

Alain Michaud (2):
HOGP must only accept data from bonded devices.
HID accepts bonded device connections only.

 profiles/input/device.c   | 23 ++++++++++++++++++++++-
 profiles/input/device.h   |  1 +
 profiles/input/hog.c      |  4 ++++
 profiles/input/input.conf |  8 ++++++++
 profiles/input/manager.c  | 13 ++++++++++++-
 5 files changed, 47 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1.481.gfbce0eb801-goog