Skip to content
Snippets Groups Projects
Commit cc759ae3 authored by Salvatore Bonaccorso's avatar Salvatore Bonaccorso Committed by Dylan Aïssi
Browse files

Import Debian changes 5.55-3.1+deb11u1

parent 02d1b8f2
No related branches found
No related tags found
6 merge requests!45Merge changes from apertis/v2022-security into apertis/v2022,!44Merge changes from apertis/v2023-security into apertis/v2023,!43Backport v2022 <- v2023: Update from debian/bullseye-security,!42Draft: Backport v2022 <- v2023: Update from debian/bullseye-security,!40Update from debian/bullseye-security for apertis/v2023-security,!39Update from debian/bullseye-security for apertis/v2022-security
Pipeline #758405 passed
bluez (5.55-3.1+deb11u1) bullseye-security; urgency=high
* Non-maintainer upload by the Security Team.
* input.conf: Change default of ClassicBondedOnly (CVE-2023-45866)
(Closes: #1057914)
-- Salvatore Bonaccorso <carnil@debian.org> Sun, 10 Dec 2023 20:21:22 +0100
bluez (5.55-3.1) unstable; urgency=high
* Non-maintainer upload.
......
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: Tue, 10 Oct 2023 13:03:12 -0700
Subject: input.conf: Change default of ClassicBondedOnly
Origin: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=25a471a83e02e1effb15d5a488b3f0085eaeb675
Bug-Debian: https://bugs.debian.org/1057914
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2023-45866
This changes the default of ClassicBondedOnly since defaulting to false
is not inline with HID specification which mandates the of Security Mode
4:
BLUETOOTH SPECIFICATION Page 84 of 123
Human Interface Device (HID) Profile:
5.4.3.4.2 Security Modes
Bluetooth HID Hosts shall use Security Mode 4 when interoperating with
Bluetooth HID devices that are compliant to the Bluetooth Core
Specification v2.1+EDR[6].
---
profiles/input/device.c | 2 +-
profiles/input/input.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 4a50ea9921a9..4310dd192e11 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -81,7 +81,7 @@ struct input_device {
static int idle_timeout = 0;
static bool uhid_enabled = false;
-static bool classic_bonded_only = false;
+static bool classic_bonded_only = true;
void input_set_idle_timeout(int timeout)
{
diff --git a/profiles/input/input.conf b/profiles/input/input.conf
index 4c70bc561f05..d8645f3dd664 100644
--- a/profiles/input/input.conf
+++ b/profiles/input/input.conf
@@ -17,7 +17,7 @@
# platforms may want to make sure that input connections only come from bonded
# device connections. Several older mice have been known for not supporting
# pairing/encryption.
-# Defaults to false to maximize device compatibility.
+# Defaults to true for security.
#ClassicBondedOnly=true
# LE upgrade security
--
2.43.0
......@@ -13,3 +13,4 @@ headers-use-releative-symlinks.patch
main-Don-t-warn-for-unset-config-option.patch
shared-gatt-server-Fix-not-properly-checking-for-sec.patch
gatt-Fix-potential-buffer-out-of-bound.patch
input.conf-Change-default-of-ClassicBondedOnly.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment