Linux kernel race condition in Bluetooth L2CAP
Affects Linux kernels from 6.6.84, 6.12.20 and 6.13.8 with Bluetooth L2CAP ECRED enabled and a deferred-setup listener. Fixed in 6.7, 6.13 and 6.14.
- Exploited
- No known exploitation
- Fix
- Fixed in 6.7, 6.13, 6.14
- Who is exposed
- Specific setups only
Summary
Written by a model
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.
Who should check
Teams running Linux kernels with Bluetooth L2CAP ECRED (EXT_FLOWCTL) enabled, including stable-branch and distribution kernel maintainers
“ECRED is on by default (CONFIG_BT_LE_L2CAP_ECRED=y)”
What to do
Check whether your setup matches what the bug needs.
Linux kernel with Bluetooth L2CAP ECRED (EXT_FLOWCTL) support enabled A deferred-setup (BT_DEFER_SETUP) listener with ECRED sibling channels sharing one ident, with a sibling channel removed concurrently by a peer disconnect or link dropUpgrade to a fixed version: 6.7, 6.13, 6.14.
A source says this fix is incomplete.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139082 (Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139082 (entry last updated 2026-12-01):
Affected:
- Linux Linux: from 6.6.84, fixed in 6.7; from 6.12.20, fixed in 6.13; from 6.13.8, fixed in 6.14
- Linux Linux: versions 6.14
Fixed versions: 6.7, 6.13, 6.14. The fix is partial: the advisory says it does not fully address the issue, so an upgraded asset may still be affected.
Conditions (all must be true for the bug to be hit):
- Linux kernel with Bluetooth L2CAP ECRED (EXT_FLOWCTL) support enabled (source: https://www.cve.org/CVERecord?id=CVE-2026-139082)
- A deferred-setup (BT_DEFER_SETUP) listener with ECRED sibling channels sharing one ident, with a sibling channel removed concurrently by a peer disconnect or link drop (source: https://www.cve.org/CVERecord?id=CVE-2026-139082)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: adjacent access, low-privilege login, no user action.
CISA KEV: CVE-2026-139082 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139082 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/878dd63b28288fb36acc187e27b7d4f86ffdaac7
- https://git.kernel.org/stable/c/32d86e048d8efedb7aa6cbbd3c36c3c435401c92
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=878dd63b28288fb36acc187e27b7d4f86ffdaac7
- https://www.cve.org/CVERecord?id=CVE-2026-139082
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139082
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139082"}.Affected versions
- Linux LinuxFrom 6.6.84 · fixed in 6.7; From 6.12.20 · fixed in 6.13; From 6.13.8 · fixed in 6.14
- Linux Linux6.14
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity8/10CVSS 8.0
- No patch0/5No signal
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 43 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 4
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-139082 |
| Record | NVD · CVE-2026-139082 |
| Other links 2 | |
| Link | git.kernel.org · stable/c/878dd63b28288fb36acc187e27b7d4f86ffdaac7 |
| Link | git.kernel.org · stable/c/32d86e048d8efedb7aa6cbbd3c36c3c435401c92 |
Questions about CVE-2026-139082
Is CVE-2026-139082 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A peer's disconnect or link drop can remove a sibling L2CAP channel while a deferred-setup listener is using it, because the channel lists are accessed concurrently. This can cause a kernel oops or a use-after-free crash, and possibly a kernel memory leak. On reclaimed memory it could also allow a write primitive and control-flow hijack.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-139082?
Linux: from 6.6.84 before 6.7; from 6.12.20 before 6.13; from 6.13.8 before 6.14. Linux: version 6.14.
Source: cve.now feed data
Am I affected, and how do I check?
Affected kernels are those in the ranges from 6.6.84 to before 6.7, from 6.12.20 to before 6.13, and from 6.13.8 to before 6.14. ECRED support is on by default (CONFIG_BT_LE_L2CAP_ECRED=y), so check the running version with uname -r and the kernel config for that option. The setup also requires a deferred-setup (BT_DEFER_SETUP) listener with ECRED sibling channels sharing one ident.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-139082?
Upgrade to a fixed version: 6.7, 6.13 or 6.14, or the stable kernel for your branch that includes the fix. The sources list no patch identifiers and no workaround.
Source: cve.org, git.kernel.org
Is the fix complete?
The advisory marks the fix as partial. Its fix note describes using l2cap_chan_conn_lock() and taking the locks as required, but the checked facts do not list which parts remain unfixed.
Source: cve.org, git.kernel.org
Related
- CVE-2026-142948i2c: designware: queue only one read command for block reads
- CVE-2026-142947cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails
- CVE-2026-142946ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142945ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142944ASoC: amd: acp-es8336: Use an owned codec device reference
- CVE-2026-142943ASoC: amd: acp3x-es83xx: Keep an owned codec device reference
No corrections so far. Something wrong on this page? Report an error.