CVE-2023-54038

Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link

N/A
Published: December 24, 2025 at 10:56 AM UTC
Updated: June 17, 2026 at 06:46 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.3.86.3.8 ≤ v < 6.46.4 ≤ v < 6.4.76.4 ≤ v < 6.56.3.86.46149746e7203d5ffe2d6faf9799ee36203aa8b8f72fc94a17d45be98aecfd59c39b5b24a6a342e2
Vendor states this is fixed in 357ab53c83a5322437fa434e9a9e3e0bafe6b383 (fixed)
Vendor states this is fixed in b4066eb04bb67e7ff66e5aaab0db4a753f37eaad (fixed)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.4.7 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card