CVE-2026-43023

Bluetooth: SCO: fix race conditions in sco_sock_connect()

HIGH
7.8
CVSS Score
Published: May 1, 2026 at 02:15 PM UTC
Updated: October 19, 2026 at 08:18 PM 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
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: fix race conditions in sco_sock_connect() sco_sock_connect() checks sk_state and sk_type without holding the socket lock. Two concurrent connect() syscalls on the same socket can both pass the check and enter sco_connect(), leading to use-after-free. The buggy scenario involves three participants and was confirmed with additional logging instrumentation: Thread A (connect): HCI disconnect: Thread B (connect): sco_sock_connect(sk) sco_sock_connect(sk) sk_state==BT_OPEN sk_state==BT_OPEN (pass, no lock) (pass, no lock) sco_connect(sk): sco_connect(sk): hci_dev_lock hci_dev_lock hci_connect_sco <- blocked -> hcon1 sco_conn_add->conn1 lock_sock(sk) sco_chan_add: conn1->sk = sk sk->conn = conn1 sk_state=BT_CONNECT release_sock hci_dev_unlock hci_dev_lock sco_conn_del: lock_sock(sk) sco_chan_del: sk->conn=NULL conn1->sk=NULL sk_state= BT_CLOSED SOCK_ZAPPED release_sock hci_dev_unlock (unblocked) hci_connect_sco -> hcon2 sco_conn_add -> conn2 lock_sock(sk) sco_chan_add: sk->conn=conn2 sk_state= BT_CONNECT // zombie sk! release_sock hci_dev_unlock Thread B revives a BT_CLOSED + SOCK_ZAPPED socket back to BT_CONNECT. Subsequent cleanup triggers double sock_put() and use-after-free. Meanwhile conn1 is leaked as it was orphaned when sco_conn_del() cleared the association. Fix this by: - Moving lock_sock() before the sk_state/sk_type checks in sco_sock_connect() to serialize concurrent connect attempts - Fixing the sk_type != SOCK_SEQPACKET check to actually return the error instead of just assigning it - Adding a state re-check in sco_connect() after lock_sock() to catch state changes during the window between the locks - Adding sco_pi(sk)->conn check in sco_chan_add() to prevent double-attach of a socket to multiple connections - Adding hci_conn_drop() on sco_chan_add failure to prevent HCI connection leaks

Affected

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

6.1.109 ≤ v < 6.1.1686.13 ≤ v < 6.18.226.19 ≤ v < 6.19.126.3.1 ≤ v < 6.6.1346.7 ≤ v < 6.12.816.1.1096.36.3 rc77.07.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc670a13b1e25fef37c87c8a1228ddb8900efbca7cf9a8ec9e8ebb5a7c0cfbce2d6b4a6b67b2b78e8f3
Vendor states this is fixed in 7e296ffdab5bdab718dff7c14288fdcb9154fa27 (fixed)
Vendor states this is fixed in 8a5b0135d4a5d9683203a3d9a12a711ccec5936b (fixed)
Vendor states this is fixed in 98c8d3bfdaa657d8f472dbbebd7ea8cd816d8a8d (fixed)
Vendor states this is fixed in adb90cd0f9f7a8d438fcb93354040fbafc5ae2a0 (fixed)
Vendor states this is fixed in d002bd11024bd231bcb606877e33951ffb7bed14 (fixed)
Vendor states this is fixed in dabf22269242e2f2bf44c43fcdc2fa763df7f9cc (fixed)
Vendor states this is fixed in 6.1.168 (unaffected)
Vendor states this is fixed in 6.12.81 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.134 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

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