Bug 1984728 (CVE-2021-3658)

Summary: CVE-2021-3658 bluez: adapter incorrectly restores Discoverable state after powered down
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bnocera, darcari, dwmw2, dzickus, gtiwari, hwkernel-mgr, security-response-team, spacewar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 05:05:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1985132, 1985133, 1986232    
Bug Blocks: 1977896, 2002251    

Description Doran Moppert 2021-07-22 03:24:54 UTC
bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up.  If a device is powered down while discoverable, it will be discoverable when powered on again.  This could lead to inadvertent exposure of the bluetooth stack to physically proximate attackers.

Comment 3 Doran Moppert 2021-07-22 03:27:41 UTC
Related issue: CVE-2018-10910 (bz#1606203).

Comment 8 Doran Moppert 2021-07-27 02:04:39 UTC
Upstream commit:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b497b5942a8

Comment 9 Doran Moppert 2021-07-27 02:05:03 UTC
Created bluez tracking bugs for this issue:

Affects: fedora-all [bug 1986232]