Skip to content

Commit 30d1349

Browse files
committed
Merge branch '3.0-dev' into 3.0
2 parents ec7cffe + 75d1fc3 commit 30d1349

5 files changed

Lines changed: 891 additions & 2 deletions

File tree

SPECS/bluez/CVE-2023-45866.patch

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
From 61522c4a6b3ccf667bd89925477ae866715f110e Mon Sep 17 00:00:00 2001
2+
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
3+
Date: Tue, 10 Oct 2023 13:03:12 -0700
4+
Subject: [PATCH] input.conf: Change default of ClassicBondedOnly
5+
6+
This changes the default of ClassicBondedOnly since defaulting to false
7+
is not inline with HID specification which mandates the of Security Mode
8+
4:
9+
10+
BLUETOOTH SPECIFICATION Page 84 of 123
11+
Human Interface Device (HID) Profile:
12+
13+
5.4.3.4.2 Security Modes
14+
Bluetooth HID Hosts shall use Security Mode 4 when interoperating with
15+
Bluetooth HID devices that are compliant to the Bluetooth Core
16+
Specification v2.1+EDR[6].
17+
---
18+
profiles/input/device.c | 2 +-
19+
profiles/input/input.conf | 2 +-
20+
2 files changed, 2 insertions(+), 2 deletions(-)
21+
22+
diff --git a/profiles/input/device.c b/profiles/input/device.c
23+
index 0138992..156f9f1 100644
24+
--- a/profiles/input/device.c
25+
+++ b/profiles/input/device.c
26+
@@ -81,7 +81,7 @@ struct input_device {
27+
28+
static int idle_timeout = 0;
29+
static bool uhid_enabled = false;
30+
-static bool classic_bonded_only = false;
31+
+static bool classic_bonded_only = true;
32+
33+
void input_set_idle_timeout(int timeout)
34+
{
35+
diff --git a/profiles/input/input.conf b/profiles/input/input.conf
36+
index 4c70bc5..d8645f3 100644
37+
--- a/profiles/input/input.conf
38+
+++ b/profiles/input/input.conf
39+
@@ -17,7 +17,7 @@
40+
# platforms may want to make sure that input connections only come from bonded
41+
# device connections. Several older mice have been known for not supporting
42+
# pairing/encryption.
43+
-# Defaults to false to maximize device compatibility.
44+
+# Defaults to true for security.
45+
#ClassicBondedOnly=true
46+
47+
# LE upgrade security
48+
--
49+
2.38.1
50+

SPECS/bluez/bluez.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Bluetooth utilities
22
Name: bluez
33
Version: 5.63
4-
Release: 5%{?dist}
4+
Release: 6%{?dist}
55
License: GPLv2+ AND LGPLv2+
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -25,6 +25,7 @@ Patch7: 0001-hog-Fix-read-order-of-attributes-rediffed.patch
2525
Patch8: 0002-hog-Add-input-queue-while-uhid-device-has-not-been-c-rediffed.patch
2626
Patch9: CVE-2022-3563.patch
2727
Patch10: CVE-2023-50229-CVE-2023-50230.patch
28+
Patch11: CVE-2023-45866.patch
2829
BuildRequires: autoconf
2930
BuildRequires: automake
3031
# For printing
@@ -273,6 +274,9 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/
273274
%{_userunitdir}/obex.service
274275

275276
%changelog
277+
* Wed Oct 30 2024 Pawel Winogrodzki <pawelwi@microsoft.com> - 5.63-6
278+
- Patched CVE-2023-45866.
279+
276280
* Fri Jun 21 2024 Neha Agarwal <nehaagarwal@microsoft.com> - 5.63-5
277281
- Patch CVE-2023-50229 and CVE-2023-50230
278282

0 commit comments

Comments
 (0)