CVE-2026-139082 (GCVE-0-2026-139082)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:31 – Updated: 2026-12-01 05:41
VLAI
Title
Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer
Summary
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ab4eedb790cae44313759b50fe47da285e2519d5 , < 878dd63b28288fb36acc187e27b7d4f86ffdaac7 (git)
Affected: ab4eedb790cae44313759b50fe47da285e2519d5 , < 32d86e048d8efedb7aa6cbbd3c36c3c435401c92 (git)
Affected: efc30877bd4bc85fefe98d80af60fafc86e5775e (git)
Affected: f87271d21dd4ee83857ca11b94e7b4952749bbae (git)
Affected: 18ab6b6078fa8191ca30a3065d57bf35d5635761 (git)
Affected: 6.6.84 , < 6.7 (semver)
Affected: 6.12.20 , < 6.13 (semver)
Affected: 6.13.8 , < 6.14 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.14
Unaffected: 0 , < 6.14 (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/l2cap_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "878dd63b28288fb36acc187e27b7d4f86ffdaac7",
              "status": "affected",
              "version": "ab4eedb790cae44313759b50fe47da285e2519d5",
              "versionType": "git"
            },
            {
              "lessThan": "32d86e048d8efedb7aa6cbbd3c36c3c435401c92",
              "status": "affected",
              "version": "ab4eedb790cae44313759b50fe47da285e2519d5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "efc30877bd4bc85fefe98d80af60fafc86e5775e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f87271d21dd4ee83857ca11b94e7b4952749bbae",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "18ab6b6078fa8191ca30a3065d57bf35d5635761",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.84",
              "versionType": "semver"
            },
            {
              "lessThan": "6.13",
              "status": "affected",
              "version": "6.12.20",
              "versionType": "semver"
            },
            {
              "lessThan": "6.14",
              "status": "affected",
              "version": "6.13.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/l2cap_sock.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.84",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.12.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.13.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: hold conn-\u003elock for __l2cap_ecred_conn_rsp_defer\n\n__l2cap_ecred_conn_rsp_defer() \u003e __l2cap_chan_list_id() accesses\nconn-\u003echan_l which is guarded by conn-\u003elock. The lock fails to be held\nwhen calling from l2cap_sock.c.\n\nFix by using l2cap_chan_conn_lock(), and taking the locks in required\norder l2cap_conn::lock \u003e l2cap_chan::lock \u003e sk.  Leave fast path with\nsk-\u003esk_state precheck.  Move the L2CAP defer handling to\nl2cap_sock_defer().\n\nThe code should also take l2cap_chan_lock() for sibling channels, but\nthat needs separate fix due to lock nesting."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The deferred EXT_FLOWCTL siblings sharing one ident come from a peer\u0027s L2CAP_ECRED_CONN_REQ (l2cap_ecred_conn_req). The concurrent chan_l removal comes from the same peer\u0027s L2CAP_DISCONN_REQ (l2cap_disconnect_req) or link drop (l2cap_conn_del). Both arrive over Bluetooth radio, so the vector is Adjacent, not Network.\nAC:L - The attacker controls both sides and can retry at will. They pick when to call recvmsg() on child A, which makes l2cap_sock_recvmsg run __l2cap_ecred_conn_rsp_defer without conn-\u003elock. Their peer chooses when to disconnect a sibling, and they can also close() sibling B from a second thread. ECRED is on by default (CONFIG_BT_LE_L2CAP_ECRED=y).\nPR:L - l2cap_sock_create requires CAP_NET_RAW only for SOCK_RAW, l2cap_validate_le_psm allows LE PSMs from 0x80 without CAP_NET_BIND_SERVICE, and BT_DEFER_SETUP has no capability check, so a normal local account can listen in defer mode. AF_BLUETOOTH is init_net-only. Without the attacker\u0027s own listener, bluetoothd\u0027s EATT defer socket is reachable only with non-default Channels\u003e1.\nUI:N - The attacker runs their own deferred ECRED listener and accepts and reads its children themselves, while their own BLE peer sends the connect and disconnect PDUs. No other user has to act.\nS:U - The corruption hits l2cap_conn-\u003echan_l and l2cap_chan objects inside the host kernel\u0027s Bluetooth stack. It does not cross into another security authority such as a VM host or IOMMU domain.\nC:H - A sibling that was never accepted is freed by l2cap_sock_kill while the unlocked list_for_each_entry_safe in __l2cap_chan_list_id still holds it as its next entry, so its fields are read after free. A reclaimed l2cap_chan, or conn-\u003echan_l corrupted by unlocked list_del, can be used to leak kernel memory.\nI:H - l2cap_ecred_rsp_defer writes to the freed sibling (test_and_clear_bit on chan-\u003eflags, chan-\u003eident = 0) and can call l2cap_chan_del on it, which does list_del and an indirect call through chan-\u003eops-\u003eteardown. On reclaimed memory that is a write primitive and a control-flow hijack.\nA:H - Walking siblings that another path has just list_del\u0027d follows LIST_POISON pointers into a general-protection fault, and concurrent list_del on adjacent chan_l entries corrupts the list. Either way the result is a kernel oops or a use-after-free crash, and the attacker can repeat it with new ECRED connections."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:41:06.086Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/878dd63b28288fb36acc187e27b7d4f86ffdaac7"
        },
        {
          "url": "https://git.kernel.org/stable/c/32d86e048d8efedb7aa6cbbd3c36c3c435401c92"
        }
      ],
      "title": "Bluetooth: L2CAP: hold conn-\u003elock for __l2cap_ecred_conn_rsp_defer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139082",
    "datePublished": "2026-11-30T13:31:24.654Z",
    "dateReserved": "2026-11-30T13:22:15.913Z",
    "dateUpdated": "2026-12-01T05:41:06.086Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139082",
      "date": "2026-12-04",
      "epss": "0.00575",
      "percentile": "0.48893"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:11:56.000Z",
      "cve": "CVE-2026-139082",
      "id": "msrc_CVE-2026-139082",
      "initial_release_date": "2026-12-01T01:15:35.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Bluetooth: L2CAP: hold conn-\u003elock for __l2cap_ecred_conn_rsp_defer",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-139082.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/bluetooth/l2cap_sock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "878dd63b28288fb36acc187e27b7d4f86ffdaac7",
                    "status": "affected",
                    "version": "ab4eedb790cae44313759b50fe47da285e2519d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "32d86e048d8efedb7aa6cbbd3c36c3c435401c92",
                    "status": "affected",
                    "version": "ab4eedb790cae44313759b50fe47da285e2519d5",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "efc30877bd4bc85fefe98d80af60fafc86e5775e",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "f87271d21dd4ee83857ca11b94e7b4952749bbae",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "18ab6b6078fa8191ca30a3065d57bf35d5635761",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.84",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.13",
                    "status": "affected",
                    "version": "6.12.20",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.14",
                    "status": "affected",
                    "version": "6.13.8",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/bluetooth/l2cap_sock.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.14"
                  },
                  {
                    "lessThan": "6.14",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: hold conn-\u003elock for __l2cap_ecred_conn_rsp_defer\n\n__l2cap_ecred_conn_rsp_defer() \u003e __l2cap_chan_list_id() accesses\nconn-\u003echan_l which is guarded by conn-\u003elock. The lock fails to be held\nwhen calling from l2cap_sock.c.\n\nFix by using l2cap_chan_conn_lock(), and taking the locks in required\norder l2cap_conn::lock \u003e l2cap_chan::lock \u003e sk.  Leave fast path with\nsk-\u003esk_state precheck.  Move the L2CAP defer handling to\nl2cap_sock_defer().\n\nThe code should also take l2cap_chan_lock() for sibling channels, but\nthat needs separate fix due to lock nesting."
          }
        ],
        "id": "CVE-2026-139082",
        "lastModified": "2026-12-01T06:17:34.293",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.1,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:15.883",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/32d86e048d8efedb7aa6cbbd3c36c3c435401c92"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/878dd63b28288fb36acc187e27b7d4f86ffdaac7"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T08:24:46+00:00",
      "cve": "CVE-2026-139082",
      "id": "CVE-2026-139082",
      "initial_release_date": "2026-11-30T13:31:24.654000+00:00",
      "product_status:known_affected": "187",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via race condition in Bluetooth L2CAP",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139082.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.