# CVE-2026-99009: Bluetooth: RFCOMM: connect the session socket without rfcomm\_mutex

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-23T12:20:34.301Z
- **Modified:** 2026-10-30T13:21:35.640Z

## Who should check

- Anyone running Linux \>= 62ce8b33eb238cf18c15207332fbdc26d858f592, \< d7a3bf6f55ab77d465206b25fe3418091c3d4b92; \>= 3873f3449701b3dc98cba577923be6493598e7a1, \< 172b152119643018a2ed792e5096f33a4491c7de; \>= 7ded3264106418c6456ccceaafd9fda596ce12c3, \< caf78390f78a005d5cdc1db2eb467b2794bbf020; \>= 82425b14f0fb22e46cfddc56d6465570f5ed0ce6, \< 4dc3d5a004b8fd59f3c905631dbb18cb601b1b41; \>= 1b7841ffad08e911e8c4b9470f3fa08423568940, \< d2206e8c78be69d21d4f5343c3e99fbaeef41cbb; \>= 946d76db77ee5f922968ce558629ae47b381e3fc, \< cc7732b8549ecb6f02457edeb8db1f6d255e381c; \>= fbf7961964a6e93360179f64712320ae9a1e9577, \< f492de11b325446b0b11bc2eb86e1f546eaa61b6; \>= 759c185d0bbdb131357408f50b8735e04ed3caff, \< ac022970e9fb0a5f7e7d1f6c8e104c1ed924dd1c
- Anyone running Linux \>= 5.10.270, \< 5.10.273; \>= 5.15.221, \< 5.15.224; \>= 6.1.188, \< 6.1.191; \>= 6.6.157, \< 6.6.160; \>= 6.12.109, \< 6.12.114; \>= 6.18.50, \< 6.18.58; \>= 7.2.4, \< 7.2.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: RFCOMM: connect the session socket without rfcomm\_mutex

An RFCOMM connect() issued while a BR/EDR link is being authenticated
makes lockdep report a circular dependency, and the reported cycle is a
real AB/BA between rfcomm\_mutex and hdev-\>lock.

rfcomm\_security\_cfm() is called from the HCI event path, which already
holds hdev-\>lock:

  hci\_rx\_work()
    hci\_event\_packet()
      hci\_cc\_read\_enc\_key\_size()   \[hdev-\>lock\]
        hci\_encrypt\_cfm()          \[hci\_cb\_list\_lock\]
          rfcomm\_security\_cfm()    \[rfcomm\_mutex\]

while an RFCOMM connect() from userspace takes the same two locks the
other way round:

  rfcomm\_sock\_connect()
    rfcomm\_dlc\_open()              \[rfcomm\_mutex\]
      \_\_rfcomm\_dlc\_open()
        rfcomm\_session\_create()
          kernel\_connect()
            l2cap\_sock\_connect()
              l2cap\_chan\_connect() \[hdev-\>lock\]

  WARNING: possible circular locking dependency detected
  kworker/u131:1/1128 is trying to acquire lock:
  rfcomm\_mutex, at: rfcomm\_security\_cfm+0x31/0x3e0 \[rfcomm\]
  but task is already holding lock:
  hci\_cb\_list\_lock, at: hci\_cc\_read\_enc\_key\_size+0x1d2/0xcc0
  Chain exists of:
    rfcomm\_mutex --\> &hdev-\>lock --\> hci\_cb\_list\_lock

hci\_auth\_complete\_evt() and hci\_encrypt\_change\_evt() reach the callback
the same way.

Both orders have to be seen in the same boot, which is why a BR/EDR
connection alone is not enough to show it: a session set up by the
remote side is created by rfcomm\_accept\_connection() in krfcommd, which
calls kernel\_accept() and never takes hdev-\>lock under rfcomm\_mutex.
Connecting a device that authenticates and encrypts the link and then
calling connect() on an RFCOMM socket towards any address - the connect
does not have to succeed, the order is recorded before the page timeout
- reports it every time.

Only the session socket has to be connected with the lock held, and it
does not: nothing else can see the socket before it is put on the
session list.  So connect it first and take rfcomm\_mutex afterwards,
which removes the rfcomm\_mutex -\> hdev-\>lock order for good, rather
than keeping the HCI event path out of rfcomm\_mutex.

rfcomm\_session\_create() becomes rfcomm\_session\_connect(), which returns
the connected socket without touching the session list, and
rfcomm\_dlc\_open() adds the session once it holds the lock again.  If
another opener added a session for the same pair while this socket was
connecting, that session is used and this socket is dropped.
\_\_rfcomm\_dlc\_open() now takes the session it should use, and its state
check runs after the lock is re-acquired, so a DLC that was opened or
closed in the meantime is still handled.

Over an existing ACL link the connection can complete before the
session reaches the list, and the wakeup from the socket callback is
then lost, so krfcommd is woken once the session is visible.

Connecting without the lock opens a window in which the socket can be
closed.  The DLC is not on a session yet, so rfcomm\_dlc\_close() finds
nothing to do and returns without touching it, and rfcomm\_dlc\_open()
would then attach a DLC whose owner is gone.  rfcomm\_dlc\_close() now
marks such a DLC with RFCOMM\_CLOSED, and rfcomm\_dlc\_open() checks the
mark once it holds rfcomm\_mutex again and drops the socket instead of
attaching the DLC.  The mark is cleared when an open starts, so a DLC
that is reused is not affected.  This covers both callers of
rfcomm\_dlc\_open(), the socket and the tty layer.

## Affected and fixed versions

- Linux: \>= 62ce8b33eb238cf18c15207332fbdc26d858f592, \< d7a3bf6f55ab77d465206b25fe3418091c3d4b92; \>= 3873f3449701b3dc98cba577923be6493598e7a1, \< 172b152119643018a2ed792e5096f33a4491c7de; \>= 7ded3264106418c6456ccceaafd9fda596ce12c3, \< caf78390f78a005d5cdc1db2eb467b2794bbf020; \>= 82425b14f0fb22e46cfddc56d6465570f5ed0ce6, \< 4dc3d5a004b8fd59f3c905631dbb18cb601b1b41; \>= 1b7841ffad08e911e8c4b9470f3fa08423568940, \< d2206e8c78be69d21d4f5343c3e99fbaeef41cbb; \>= 946d76db77ee5f922968ce558629ae47b381e3fc, \< cc7732b8549ecb6f02457edeb8db1f6d255e381c; \>= fbf7961964a6e93360179f64712320ae9a1e9577, \< f492de11b325446b0b11bc2eb86e1f546eaa61b6; \>= 759c185d0bbdb131357408f50b8735e04ed3caff, \< ac022970e9fb0a5f7e7d1f6c8e104c1ed924dd1c (cvelist)
- Linux: \>= 5.10.270, \< 5.10.273; \>= 5.15.221, \< 5.15.224; \>= 6.1.188, \< 6.1.191; \>= 6.6.157, \< 6.6.160; \>= 6.12.109, \< 6.12.114; \>= 6.18.50, \< 6.18.58; \>= 7.2.4, \< 7.2.11 (cvelist)

## Mitigation

- Upgrade Linux to 7.2.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99009.md
Affected: Linux >= 62ce8b33eb238cf18c15207332fbdc26d858f592, < d7a3bf6f55ab77d465206b25fe3418091c3d4b92; >= 3873f3449701b3dc98cba577923be6493598e7a1, < 172b152119643018a2ed792e5096f33a4491c7de; >= 7ded3264106418c6456ccceaafd9fda596ce12c3, < caf78390f78a005d5cdc1db2eb467b2794bbf020; >= 82425b14f0fb22e46cfddc5…
Fixed in: Linux 172b152119643018a2ed792e5096f33a4491c7de, Linux 4dc3d5a004b8fd59f3c905631dbb18cb601b1b41, Linux 5.10.273, Linux 5.15.224, Linux 6.1.191, Linux 6.6.160, Linux 6.12.114, Linux 6.18.58, Linux 7.2.11

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-99009 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 62ce8b33eb238cf18c15207332fbdc26d858f592, \< d7a3bf6f55ab77d465206b25fe3418091c3d4b92; \>= 3873f3449701b3dc98cba577923be6493598e7a1, \< 172b152119643018a2ed792e5096f33a4491c7de; \>= 7ded3264106418c6456ccceaafd9fda596ce12c3, \< caf78390f78a005d5cdc1db2eb467b2794bbf020; \>= 82425b14f0fb22e46cfddc56d6465570f5ed0ce6, \< 4dc3d5a004b8fd59f3c905631dbb18cb601b1b41; \>= 1b7841ffad08e911e8c4b9470f3fa08423568940, \< d2206e8c78be69d21d4f5343c3e99fbaeef41cbb; \>= 946d76db77ee5f922968ce558629ae47b381e3fc, \< cc7732b8549ecb6f02457edeb8db1f6d255e381c; \>= fbf7961964a6e93360179f64712320ae9a1e9577, \< f492de11b325446b0b11bc2eb86e1f546eaa61b6; \>= 759c185d0bbdb131357408f50b8735e04ed3caff, \< ac022970e9fb0a5f7e7d1f6c8e104c1ed924dd1c; Linux \>= 5.10.270, \< 5.10.273; \>= 5.15.221, \< 5.15.224; \>= 6.1.188, \< 6.1.191; \>= 6.6.157, \< 6.6.160; \>= 6.12.109, \< 6.12.114; \>= 6.18.50, \< 6.18.58; \>= 7.2.4, \< 7.2.11.

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

Yes. Fixed in Linux 172b152119643018a2ed792e5096f33a4491c7de, Linux 4dc3d5a004b8fd59f3c905631dbb18cb601b1b41, Linux 5.10.273, Linux 5.15.224, Linux 6.1.191, Linux 6.6.160, Linux 6.12.114, Linux 6.18.58, Linux 7.2.11. Upgrade Linux to 7.2.11 or later.

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

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/d7a3bf6f55ab77d465206b25fe3418091c3d4b92>
- other: <https://git.kernel.org/stable/c/172b152119643018a2ed792e5096f33a4491c7de>
- other: <https://git.kernel.org/stable/c/caf78390f78a005d5cdc1db2eb467b2794bbf020>
- other: <https://git.kernel.org/stable/c/4dc3d5a004b8fd59f3c905631dbb18cb601b1b41>
- other: <https://git.kernel.org/stable/c/d2206e8c78be69d21d4f5343c3e99fbaeef41cbb>
- other: <https://git.kernel.org/stable/c/cc7732b8549ecb6f02457edeb8db1f6d255e381c>
- other: <https://git.kernel.org/stable/c/f492de11b325446b0b11bc2eb86e1f546eaa61b6>
- other: <https://git.kernel.org/stable/c/ac022970e9fb0a5f7e7d1f6c8e104c1ed924dd1c>

## 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-99009>

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