All reports
Medium

kernel: Linux kernel: Denial of Service in Bluetooth HCI connection handling

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-54038

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link hci_connect_sco currently returns NULL when there is no link (i.e. when hci_conn_link() returns NULL). sco_connect() expects an ERR_PTR in case of any error (see line 266 in sco.c). Thus, hcon set as NULL passes through to sco_conn_add(), which tries to get hcon->hdev, resulting in dereferencing a NULL pointer as reported by syzkaller. The same issue exists for iso_connect_cis() calling hci_connect_cis(). Thus, make hci_connect_sco() and hci_connect_cis() return ERR_PTR instead of NULL.

A flaw was found in the Linux kernel's Bluetooth Host Controller Interface (HCI) connection handling. A local user could exploit this vulnerability when the hci_connect_sco function returns a NULL pointer instead of an error pointer when no link is present. This improper handling of exceptional conditions leads to a NULL pointer dereference, which can result in a system crash and a Denial of Service (DoS).