{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143312",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.366Z",
        "datePublished": "2026-12-03T09:21:40.127Z",
        "dateUpdated": "2026-12-03T09:21:40.127Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:21:40.127Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->lock: 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->type\n    smp_h6() or smp_h7() reads key->val\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     <TASK>\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---"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/smp.c"
                    ],
                    "versions": [
                        {
                            "version": "b5ae344d4c0f69ae6526565b55d52b64bc127087",
                            "lessThan": "d4c257ffbad059e17eed623bf84708793fe0fc55",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5ae344d4c0f69ae6526565b55d52b64bc127087",
                            "lessThan": "ebc4f217c1fbe8364b5ef2ad8e3a8e9a1b2701a7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/bluetooth/smp.c"
                    ],
                    "versions": [
                        {
                            "version": "3.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d4c257ffbad059e17eed623bf84708793fe0fc55"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ebc4f217c1fbe8364b5ef2ad8e3a8e9a1b2701a7"
                }
            ],
            "title": "Bluetooth: SMP: Protect link keys during LTK derivation",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}