CVE-2026-99239

Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn

HIGH
7.8
CVSS Score
Published: November 2, 2026 at 04:06 PM UTC
Updated: November 3, 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%

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn l2cap_chan may be linked to l2cap_conn at most once. This is assumed in several places, eg l2cap_chan_del cleanup. There is a TOCTOU race where the invariant is violated: [Task 1] [Task 2] l2cap_chan_connect l2cap_sock_bind l2cap_chan_lock lock_sock l2cap_state_change if (sk->sk_state != BT_OPEN) chan->state = BT_CONNECT l2cap_sock_state_change_cb chan->state = BT_BOUND sk->sk_state = BT_BOUND lock_sock <------------------ release_sock sk->sk_state = BT_CONNECT l2cap_sock_connect() does not check sk->sk_state, so since chan->state is now BT_BOUND, subsequent connect() ends up with second __l2cap_chan_add. Explicitly document and check the invariant in __l2cap_chan_add with WARN_ON_ONCE. The only callsite where it could be hit is l2cap_chan_connect, so add pre-check there to avoid relying on chan->state. chan->state read/write is not properly guarded currently so there can be other TOCTOUC problems. Add l2cap_lock_chan in l2cap_sock_bind() to guard chan->state write.

Affected

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

0b0e2bf39cf99e458d991b9df253727e036a7d7d32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b5.10.2655.15.21650c38d9f42a529691e4e67ea9cedf4f0bfc8d2776.1.1836.12.976.18.396.6.1457.1.47.28922c7940bae9ce4b1736dddb6362370793835c28f90405a4a6f1f1880dc07996b47bf57c712bd8a91047a4396a8b1857a6f712a90cf33ec0012b189b66774b48dd98f07254951f74ea6f513efe7ff8bd3b739db5dc6f688a60d56da872fabaf65246032
Vendor states this is fixed in 5.10.273 (unaffected)
Vendor states this is fixed in 5.15.224 (unaffected)
Vendor states this is fixed in 6.1.191 (unaffected)
Vendor states this is fixed in 6.12.115 (unaffected)
Vendor states this is fixed in 6.18.60 (unaffected)
Vendor states this is fixed in 6.6.161 (unaffected)
Vendor states this is fixed in 7.2.14 (unaffected)
Vendor states this is fixed in 7.3.1 (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.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusRECEIVED

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