CVE-2026-139085: Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()

Published Nov 30, 2026
·
Updated

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

Bluetooth: L2CAP: fix race condition in l2capsockshutdown()

l2capsockshutdown() has the race condition

[Task 1] [Task 2] l2capsockshutdown l2capsockconnect l2capchanlock l2capchanconnect conn = ... / == NULL/ l2capchanunlock ------------> l2capchanlock if (conn) / false / l2capchanadd(conn, chan) l2capchanlock <-------------- l2capchanunlock l2capchanclose / chan->conn->lock not held! /

conn->lock protects conn->chanl and is not properly held here.

Use the l2capchancloseunlocked() helper that ensures conn->lock is held for l2capchanclose().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Use l2cap_chan_close_unlocked() for l2cap_chan_close() so conn->lock is held.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
Description
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

What kernel component is affected by this race condition?

The issue is in the Linux kernel Bluetooth L2CAP socket shutdown path, specifically l2cap_sock_shutdown(). It involves concurrent shutdown and connection handling for an L2CAP channel.

2

What condition is required for the race to occur?

The race requires l2cap_sock_shutdown() and l2cap_sock_connect() to operate concurrently on an L2CAP channel. During that interleaving, the channel may be closed without the connection lock that protects the connection channel list.

3

What is the remediation described by the fix?

The fix changes the shutdown path to use l2cap_chan_close_unlocked(), which ensures that conn->lock is held when l2cap_chan_close() is performed. The provided references point to the stable kernel commits containing the correction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203