CVE-2022-50419

Description

A flaw was found in the Linux kernel's Bluetooth subsystem. The system fails to prevent duplicate device registrations during Bluetooth Low Energy (LE) connection events. A local user with access to the Bluetooth interface could exploit this issue by triggering repeated connection events, leading to internal data structure corruption and causing a system crash that results in a Denial of Service (DoS).

Statement

The bug in hci_sysfs.c allowed device_add() to be called multiple times for the same Bluetooth connection object, violating the kernel’s device model contract and leading to a kernel BUG due to list corruption (__list_add in lib/list_debug.c). This could result in a kernel crash or panic when duplicate additions were attempted, for example after repeated LE CIS establishment events. The issue can be triggered by local processes or fuzzers (e.g. syzkaller) capable of manipulating HCI events, but it requires local access and privileges to interact with the Bluetooth subsystem.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.57.87.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneHighHigh
Integrity ImpactNoneHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity,Confidentiality

Technical Impact: Modify Application Data; Read Application Data

If a released resource is subsequently reused or reallocated, then an attempt to use the original resource might allow access to sensitive data that is associated with a different user or entity.

Other,Availability

Technical Impact: Other; DoS: Crash, Exit, or Restart

When a resource is released it might not be in an expected state, later attempts to access the resource may lead to resultant errors that may lead to a crash.

Frequently Asked Questions

Want to get errata notifications? Sign up here.