{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ab4eedb790cae44313759b50fe47da285e2519d5"
            },
            {
              "fixed": "6dbe2ac00eb330be99898cd390be883221d6d156"
            },
            {
              "fixed": "79ff49a72c06abdf76872dccc687e2a83c4f407f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "efc30877bd4bc85fefe98d80af60fafc86e5775e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "f87271d21dd4ee83857ca11b94e7b4952749bbae"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "18ab6b6078fa8191ca30a3065d57bf35d5635761"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.84"
            },
            {
              "fixed": "6.7"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.20"
            },
            {
              "fixed": "6.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.8"
            },
            {
              "fixed": "6.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139085.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()\n\nl2cap_sock_shutdown() has the race condition\n\n    [Task 1]                      [Task 2]\n    l2cap_sock_shutdown           l2cap_sock_connect\n      l2cap_chan_lock               l2cap_chan_connect\n      conn = ... /* == NULL*/\n      l2cap_chan_unlock ------------\u003e l2cap_chan_lock\n      if (conn) /* false */\n                                      __l2cap_chan_add(conn, chan)\n      l2cap_chan_lock \u003c-------------- l2cap_chan_unlock\n      l2cap_chan_close /* chan-\u003econn-\u003elock not held! */\n\nconn-\u003elock protects conn-\u003echan_l and is not properly held here.\n\nUse the l2cap_chan_close_unlocked() helper that ensures conn-\u003elock is\nheld for l2cap_chan_close().",
  "id": "CVE-2026-139085",
  "modified": "2026-12-01T06:45:14.850559635Z",
  "published": "2026-11-30T13:31:26.335Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6dbe2ac00eb330be99898cd390be883221d6d156"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/79ff49a72c06abdf76872dccc687e2a83c4f407f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139085.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139085"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()"
}