CVE-2026-139082

Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer

Published Nov 30, 2026 CVSS 3.1 · 8 High EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer

__l2cap_ecred_conn_rsp_defer() > __l2cap_chan_list_id() accesses
conn->chan_l which is guarded by conn->lock. The lock fails to be held
when calling from l2cap_sock.c.

Fix by using l2cap_chan_conn_lock(), and taking the locks in required
order l2cap_conn::lock > l2cap_chan::lock > sk. Leave fast path with
sk->sk_state precheck. Move the L2CAP defer handling to
l2cap_sock_defer().

The code should also take l2cap_chan_lock() for sibling channels, but
that needs separate fix due to lock nesting.

Analysis

AI-generated

Technical impact

The Linux kernel Bluetooth stack contains a concurrency race condition where a connection response handler may access channel data protected by a lock that is not held, potentially leading to kernel data structure corruption. The flaw originates in __l2cap_ecred_conn_rsp_defer when it calls __l2cap_chan_list_id without acquiring conn->lock. No explicit remote code execution claim is made, but the improper synchronization could result in a system crash or compromise.

Affected Systems

All releases of the Linux kernel that contain the unpatched L2CAP implementation are affected. No specific affected versions are listed, so any kernel where the implementation of __l2cap_ecred_conn_rsp_defer and related functions matches the pre‑fix code is potentially vulnerable.

Risk and Exploitability

The vulnerability is a concurrency race condition (CWE‑362). A CVSS score of 8.0 indicates high severity. Exploitation would likely require an attacker who can send crafted Bluetooth traffic to a target machine, possibly with device‑level or local privileges. The EPSS score is not available, and it is not listed in the CISA KEV catalog. The attack path involves manipulating the Bluetooth connection response flow to trigger the race, which could lead to memory corruption, a denial of service, or, if the attacker can influence kernel memory, a privilege escalation. The risk remains uncertain without a known exploit, but the high CVSS score warrants cautious assessment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel release that incorporates the l2cap_chan_conn_lock fix and reboot the system
  • If an updated kernel is not immediately available, disable the Bluetooth L2CAP subsystem or block Bluetooth traffic until the patch is applied
  • Continuously monitor system logs and kernel crash reports for signs of Bluetooth‑related instability or memory corruption

Generated by OpenCVE AI on December 1, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer __l2cap_ecred_conn_rsp_defer() > __l2cap_chan_list_id() accesses conn->chan_l which is guarded by conn->lock. The lock fails to be held when calling from l2cap_sock.c. Fix by using l2cap_chan_conn_lock(), and taking the locks in required order l2cap_conn::lock > l2cap_chan::lock > sk. Leave fast path with sk->sk_state precheck. Move the L2CAP defer handling to l2cap_sock_defer(). The code should also take l2cap_chan_lock() for sibling channels, but that needs separate fix due to lock nesting.
Title Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-413

    Improper Resource Locking

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:41 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Dec 1, 2026, 6:17 AM
Severity
Important
Public date
Nov 30, 2026, 1:31 PM