VDB

CVE-2026-43023

CVE-2026-43023 PUBLISHED CVSS 7.8 HIGH

Bluetooth: SCO: fix race conditions in sco_sock_connect()

Reported by linux · Published May 1, 2026

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debug-devel-matchederrata.rockylinux.org6.12.0-211.18.1.el10
kernel-64k-debug-develerrata.rockylinux.org6.12.0-211.18.1.el10
kernel-debugerrata.rockylinux.org5.14.0-687.12.1.el9
python3-perf-debuginfoerrata.rockylinux.org6.12.0-211.18.1.el10
kernel-zfcpdumperrata.rockylinux.org5.14.0-687.12.1.el9
kernel-rt-modules-coreerrata.rockylinux.org5.14.0-687.12.1.el9
kernel-64k-debug-coreerrata.rockylinux.org5.14.0-687.12.1.el9
kernel-modules-extra-matchederrata.rockylinux.org6.12.0-211.18.1.el10
kernel-docerrata.rockylinux.org6.12.0-211.18.1.el10

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux70a13b1e25fef37c87c8a1228ddb8900efbca7cf, 9a8ec9e8ebb5a7c0cfbce2d6b4a6b67b2b78e8f3, 9a8ec9e8ebb5a7c0cfbce2d6b4a6b67b2b78e8f3
LinuxLinux6.3, 0, 6.1.168
linuxlinux_kernel6.1.109, 6.3, 6.3
LinuxLinux6.19.12, 70a13b1e25fef37c87c8a1228ddb8900efbca7cf, 9a8ec9e8ebb5a7c0cfbce2d6b4a6b67b2b78e8f3

Timeline

  • May 1, 2026 CVE Published
  • May 18, 2026 EPSS Score (20 in total, the first dated here)
  • May 28, 2026 Distribution Patch (118 in total, the first dated here)
  • May 28, 2026 Security Advisory (122 in total, the first dated here)
  • Jul 28, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-43023
vulnetix vdb fixes CVE-2026-43023

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43023/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›