# CVE-2026-99239: Bluetooth: L2CAP: refuse \_\_l2cap\_chan\_add if chan already has conn

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **Published:** 2026-11-02T16:06:43.262Z
- **Modified:** 2026-11-03T20:18:30.280Z

## Who should check

- Anyone running Linux \>= 8f90405a4a6f1f1880dc07996b47bf57c712bd8a, \< 85cc289eb08afa975375f838187369e68b429ee0; \>= 32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b, \< 820579652b24ce277e0097cd65b42bd9b7b8bf07; \>= 8922c7940bae9ce4b1736dddb6362370793835c2, \< e618d928ec7f88cbeadfa3542adcac40f474e629; \>= 91047a4396a8b1857a6f712a90cf33ec0012b189, \< fabaff1c59ff2cc89cb7e5bd0186a5e15f0c73b2; \>= 0b0e2bf39cf99e458d991b9df253727e036a7d7d, \< 52fe88e4ef87311eee32b45c65603e7c69e75e7d; \>= d3b739db5dc6f688a60d56da872fabaf65246032, \< 10c705dd706aa93164ba41f2566f15206d6c178e; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 73820561d8cbfd3364a29b8fa77f1707f26029da; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< d3afd7803f9bc2a8c4270199497b60158b2fc647; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 86b55991d3cd690e73c5ef8d20b75ae4905b357a; 50c38d9f42a529691e4e67ea9cedf4f0bfc8d277; …
- Anyone running Linux 7.2

## 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 and fixed versions

- Linux: \>= 8f90405a4a6f1f1880dc07996b47bf57c712bd8a, \< 85cc289eb08afa975375f838187369e68b429ee0; \>= 32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b, \< 820579652b24ce277e0097cd65b42bd9b7b8bf07; \>= 8922c7940bae9ce4b1736dddb6362370793835c2, \< e618d928ec7f88cbeadfa3542adcac40f474e629; \>= 91047a4396a8b1857a6f712a90cf33ec0012b189, \< fabaff1c59ff2cc89cb7e5bd0186a5e15f0c73b2; \>= 0b0e2bf39cf99e458d991b9df253727e036a7d7d, \< 52fe88e4ef87311eee32b45c65603e7c69e75e7d; \>= d3b739db5dc6f688a60d56da872fabaf65246032, \< 10c705dd706aa93164ba41f2566f15206d6c178e; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 73820561d8cbfd3364a29b8fa77f1707f26029da; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< d3afd7803f9bc2a8c4270199497b60158b2fc647; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 86b55991d3cd690e73c5ef8d20b75ae4905b357a; 50c38d9f42a529691e4e67ea9cedf4f0bfc8d277; … (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99239. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99239.md
Affected: Linux >= 8f90405a4a6f1f1880dc07996b47bf57c712bd8a, < 85cc289eb08afa975375f838187369e68b429ee0; >= 32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b, < 820579652b24ce277e0097cd65b42bd9b7b8bf07; >= 8922c7940bae9ce4b1736dddb6362370793835c2, < e618d928ec7f88cbeadfa3542adcac40f474e629; >= 91047a4396a8b1857a6f712…
Fixed in: Linux 85cc289eb08afa975375f838187369e68b429ee0, Linux 820579652b24ce277e0097cd65b42bd9b7b8bf07, Linux 52fe88e4ef87311eee32b45c65603e7c69e75e7d, Linux 10c705dd706aa93164ba41f2566f15206d6c178e, Linux 73820561d8cbfd3364a29b8fa77f1707f26029da, Linux 86b55991d3cd690e73c5ef8d20b75ae4905b357a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99239 being exploited?

There is no confirmed exploitation: CVE-2026-99239 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99239?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99239?

Linux \>= 8f90405a4a6f1f1880dc07996b47bf57c712bd8a, \< 85cc289eb08afa975375f838187369e68b429ee0; \>= 32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b, \< 820579652b24ce277e0097cd65b42bd9b7b8bf07; \>= 8922c7940bae9ce4b1736dddb6362370793835c2, \< e618d928ec7f88cbeadfa3542adcac40f474e629; \>= 91047a4396a8b1857a6f712a90cf33ec0012b189, \< fabaff1c59ff2cc89cb7e5bd0186a5e15f0c73b2; \>= 0b0e2bf39cf99e458d991b9df253727e036a7d7d, \< 52fe88e4ef87311eee32b45c65603e7c69e75e7d; \>= d3b739db5dc6f688a60d56da872fabaf65246032, \< 10c705dd706aa93164ba41f2566f15206d6c178e; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 73820561d8cbfd3364a29b8fa77f1707f26029da; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< d3afd7803f9bc2a8c4270199497b60158b2fc647; \>= b66774b48dd98f07254951f74ea6f513efe7ff8b, \< 86b55991d3cd690e73c5ef8d20b75ae4905b357a; 50c38d9f42a529691e4e67ea9cedf4f0bfc8d277; …; Linux 7.2.

### Is there a fix for CVE-2026-99239?

Yes. Fixed in Linux 85cc289eb08afa975375f838187369e68b429ee0, Linux 820579652b24ce277e0097cd65b42bd9b7b8bf07, Linux 52fe88e4ef87311eee32b45c65603e7c69e75e7d, Linux 10c705dd706aa93164ba41f2566f15206d6c178e, Linux 73820561d8cbfd3364a29b8fa77f1707f26029da, Linux 86b55991d3cd690e73c5ef8d20b75ae4905b357a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99239?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/85cc289eb08afa975375f838187369e68b429ee0>
- other: <https://git.kernel.org/stable/c/820579652b24ce277e0097cd65b42bd9b7b8bf07>
- other: <https://git.kernel.org/stable/c/e618d928ec7f88cbeadfa3542adcac40f474e629>
- other: <https://git.kernel.org/stable/c/fabaff1c59ff2cc89cb7e5bd0186a5e15f0c73b2>
- other: <https://git.kernel.org/stable/c/52fe88e4ef87311eee32b45c65603e7c69e75e7d>
- other: <https://git.kernel.org/stable/c/10c705dd706aa93164ba41f2566f15206d6c178e>
- other: <https://git.kernel.org/stable/c/73820561d8cbfd3364a29b8fa77f1707f26029da>
- other: <https://git.kernel.org/stable/c/d3afd7803f9bc2a8c4270199497b60158b2fc647>
- other: <https://git.kernel.org/stable/c/86b55991d3cd690e73c5ef8d20b75ae4905b357a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99239>

HTML: <https://flawdb.com/CVE-2026-99239> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99239>
