{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b5ae344d4c0f69ae6526565b55d52b64bc127087"
            },
            {
              "fixed": "d4c257ffbad059e17eed623bf84708793fe0fc55"
            },
            {
              "fixed": "ebc4f217c1fbe8364b5ef2ad8e3a8e9a1b2701a7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143312.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: SMP: Protect link keys during LTK derivation\n\nsc_generate_ltk() reads the type and value of the peer link key after\nhci_find_link_key() has returned. The finder ends its RCU read-side\nsection before returning the borrowed entry, and the SMP receive path\ndoes not hold hdev-\u003elock: l2cap_recv_acldata() releases it before the\nPDU is dispatched. The L2CAP connection and channel locks held by SMP\ndo not serialize with management link-key removal.\n\nWhen BR/EDR Secure Connections pairing derives an LTK from the stored\nlink key, MGMT_OP_LOAD_LINK_KEYS can free that key mid-derivation:\n\n  HCI RX worker (SMP)              Management / RCU reclamation\n  sc_generate_ltk()\n    key = hci_find_link_key()\n                                   load_link_keys()\n                                     hci_dev_lock(hdev)\n                                     hci_link_keys_clear(hdev)\n                                       list_del_rcu(), kfree_rcu()\n                                     hci_dev_unlock(hdev)\n                                   grace period ends, key is freed\n    read key-\u003etype\n    smp_h6() or smp_h7() reads key-\u003eval\n\nHold an RCU read-side section from the lookup until the type and value\nhave been consumed. smp_h6() and smp_h7() only run the synchronous\nAES-CMAC library code, which neither sleeps nor allocates. Release the\nsection before sc_add_ltk(), which allocates with GFP_KERNEL.\n\nKASAN reported this on a test kernel whose scheduling hook paused the\nreceive worker after the lookup; the hook frames appear in the trace.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in smp_distribute_keys+0x2983/0x2b70\n    Read of size 1 at addr ffff88810618e9a6 by task kworker/u17:0/500\n\n    CPU: 0 UID: 0 PID: 500 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #1 PREEMPT(lazy)\n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: hci1 hci_rx_work\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? smp_distribute_keys+0x2983/0x2b70\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? smp_distribute_keys+0x2983/0x2b70\n     kasan_report+0xe0/0x110\n     ? smp_distribute_keys+0x2983/0x2b70\n     smp_distribute_keys+0x2983/0x2b70\n     ? __pfx_smp_distribute_keys+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_gate_maybe+0x47/0x60\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xe7/0x1c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xee/0x1c0\n     ? __pfx_pmbd_probe_hit_cookie+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __asan_memset+0x23/0x50\n     ? smp_recv_cb+0x12e2/0x8f30\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     smp_recv_cb+0x12e2/0x8f30\n     ? __pfx_smp_recv_cb+0x10/0x10\n     ? __pfx___might_resched+0x10/0x10\n     ? __pfx_sched_balance_find_src_group+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __mutex_lock+0x182c/0x2590\n     ? l2cap_recv_frame+0x9ef/0x8830\n     ? __pfx___mutex_lock+0x10/0x10\n     ? __lock_acquire+0x466/0x2260\n     ? __pfx_l2cap_chan_hold_unless_zero+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? l2cap_recv_frame+0x13cc/0x8830\n     ? __pfx_smp_recv_cb+0x10/0x10\n     l2cap_recv_frame+0x13cc/0x8830\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __mutex_lock+0x182c/0x2590\n     ? __pfx_l2cap_recv_frame+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? find_held_lock+0x2b/0x80\n     ? l2cap_recv_acldata+0x1eb/0x10e0\n     ? __pfx___mutex_lock+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __mutex_unlock_slowpath+0x147/0x920\n     ? __pfx_l2cap_conn_hold_unless_zero+0x10/0x10\n     ? __pfx_hci_conn_enter_active_mode+0x10/0x10\n     ? l2cap_recv_acldata+0x13d/\n---truncated---",
  "id": "CVE-2026-143312",
  "modified": "2026-12-03T10:45:41.043905596Z",
  "published": "2026-12-03T09:21:40.127Z",
  "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/d4c257ffbad059e17eed623bf84708793fe0fc55"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebc4f217c1fbe8364b5ef2ad8e3a8e9a1b2701a7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143312"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Bluetooth: SMP: Protect link keys during LTK derivation"
}