Executive summary
CVE-2026-139381 affects the Bluetooth L2CAP implementation in the Linux kernel. A connection-confirmation path can reach code that changes l2cap_conn::chan_l without first acquiring the lock that protects that list. This creates a data race in the kernel Bluetooth stack and may allow concurrent activity to observe or modify channel-list state inconsistently.
The upstream correction holds conn->lock in l2cap_connect_cfm(), restoring a consistent locking pattern around the channel-list update. The available information does not establish a specific privilege boundary crossing, arbitrary code execution, use-after-free, or other confirmed exploit primitive. No exploitation or public proof of concept is documented in the supplied record, and the CVE is not listed in the CISA KEV catalog.
Technical analysis
The affected path begins with l2cap_connect_cfm(). From there, l2cap_new_connection() calls __l2cap_chan_add(), which modifies the l2cap_conn::chan_l channel list. That list is protected by l2cap_conn::lock, but the confirmation path did not hold the lock while performing the update.
The resulting issue is an inconsistent-lock-discipline defect. Instead of changing the function that performs the list update, the upstream fix serializes the operation at l2cap_connect_cfm() by acquiring conn->lock. This makes the required locking systematic across the relevant call path.
A successful race could interfere with concurrent channel-list handling, including producing lost list entries or exposing an inconsistent list state to other Bluetooth paths. The advisory information does not identify a demonstrated use-after-free, privilege escalation, or code-execution outcome, so the defensible characterization is an unsynchronized kernel-list update rather than a confirmed arbitrary-code-execution vulnerability.
Affected systems
The affected product is the Linux kernel, specifically the Bluetooth subsystem's L2CAP implementation.
The supplied context does not identify:
- affected kernel version ranges;
- the commit that introduced the flaw;
- affected stable or long-term maintenance branches;
- distribution packages that contain the defect;
- upstream releases containing the fix; or
- whether the issue is limited to development trees.
Accordingly, affected and fixed release numbers cannot be stated reliably from this record. Administrators should consult the relevant Linux distribution's security advisory and changelog to determine whether a running kernel contains the fix.
Attack path and prerequisites
The externally reachable trigger is the Bluetooth L2CAP connection-confirmation sequence. A remote Bluetooth peer may influence connection setup while the victim's kernel L2CAP worker concurrently manipulates the same connection's channel list.
Practical exploitation would generally require several conditions:
- Bluetooth hardware and the kernel Bluetooth stack are enabled on the target;
- the target is establishing or servicing an L2CAP connection;
- the attacker can act as the nearby Bluetooth peer; and
- the attacker can repeatedly exercise the handshake to win a narrow concurrency window.
The race is timing-dependent rather than a deterministic malformed-input condition. This increases the barrier to reliable weaponization and limits the plausible mass-exploitation scenario.
A local path may also exist where multiple kernel or socket-layer activities operate on the same l2cap_conn concurrently. Creating AF_BLUETOOTH sockets is normally privileged, commonly requiring CAP_NET_RAW, which limits the relevance of that variant for an unprivileged local attacker.
Real-world risk
The practical risk is currently limited by the absence of documented exploitation, a public proof of concept, a CVSS score, and a CISA KEV listing. The affected surface is also narrowly confined to the Bluetooth subsystem rather than a general-purpose network service.
These factors support a low-severity assessment. The defect remains relevant in kernel environments where Bluetooth is enabled and exposed to nearby peers because a successfully triggered race in kernel list handling could contribute to instability, a kernel warning or oops, or a denial of service. The supplied material does not establish a stronger outcome.
Mitigation
The preferred mitigation is to install the vendor or distribution kernel update carrying the upstream Linux fix. The relevant change acquires conn->lock in l2cap_connect_cfm(), ensuring that the update of l2cap_conn::chan_l occurs under its designated guard.
Because specific affected and fixed versions are not provided, verification should rely on the distribution's security errata, kernel changelog, and running kernel release rather than an assumed version boundary. Bluetooth-dependent workflows should be tested after deployment, including headset and peripheral connections and A2DP or HFP workflows. This is particularly important when backporting the change, because an incorrect lock implementation could introduce a deadlock or other lock-ordering problem.
Where an update cannot be deployed promptly, available compensating controls include:
- disabling the kernel Bluetooth subsystem;
- masking the Bluetooth service and preventing the
bluetooth,btusb, and applicable vendor host-controller modules from loading;
- powering down radios with
rfkill;
- configuring adapters as non-connectable or non-discoverable where supported;
- limiting radio-level pairing to trusted devices; and
- restricting access to Bluetooth management sockets, service policy interfaces, and control nodes such as those under
/sys/class/bluetooth.
These controls reduce exposure but may disable required Bluetooth functionality or depend on platform-specific configuration.
Detection and investigation
This defect is more likely to appear as a kernel diagnostic than as a distinct user-space event. Relevant indicators include:
- lockdep reports involving
l2cap_conn::lock;
- warnings or BUG splats mentioning
l2cap_connect_cfm(),__l2cap_chan_add(), orl2cap_conn::chan_l;
- kernel oopses or panics under
net/bluetooth/;
- repeated Bluetooth profile disconnections paired with unexplained host crashes; and
- bursts of L2CAP connection-establishment activity near those events.
Where operational constraints permit, CONFIG_PROVE_LOCKING, KASAN, and list-debugging facilities can improve the chance of detecting the faulty concurrency path. These signals are heuristic because the supplied record provides no known exploit signature.
Expert insight
The key lesson is that lock ownership must remain consistent across every path that mutates a shared kernel object. In this case, __l2cap_chan_add() relies on an externally established locking invariant, while one caller failed to uphold it. Fixing the caller restores a clear and reviewable contract without adding nested locking inside the lower-level list operation.
The issue also illustrates why exploitability must be separated from defect severity. A kernel race can carry meaningful consequences, but radio proximity, protocol timing, Bluetooth enablement, and the absence of a demonstrated exploitation primitive materially constrain the current risk. The appropriate priority is targeted kernel maintenance for Bluetooth-enabled systems rather than emergency fleet-wide incident response.
منابع
- git.kernel.org/stable/c/060e9a01535da64f0e60faa42a9fb62e1def2413
- git.kernel.org/stable/c/115e6a21c88a5f708b2b025f7567ab78a782a74f
- git.kernel.org/stable/c/66277d19c2f84446ce99806754911d6f41579597
- git.kernel.org/stable/c/72b32e2dc8a14368f64f4eb08a95aaeda0073783
- git.kernel.org/stable/c/e59764f39a41e9a60cf905377ed8ec8f6fab77fc