{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64405","id":"CVE-2026-64405","title":"Bluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()\n\nhci_abort_conn() read hci_skb_event(hdev->sent_cmd) when a connection\nwas pending, but hdev->sent_cmd can be NULL while req_status is still\nHCI_REQ_PEND, leading to a NULL pointer dereference and a general\nprotection fault from the hci_rx_work() receive path.\n\nInstead o","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_conn: Fix null ptr deref in hci_abort_conn()\n\nhci_abort_conn() read hci_skb_event(hdev->sent_cmd) when a connection\nwas pending, but hdev->sent_cmd can be NULL while req_status is still\nHCI_REQ_PEND, leading to a NULL pointer dereference and a general\nprotection fault from the hci_rx_work() receive path.\n\nInstead of inspecting hdev->sent_cmd, track the in-flight create\nconnection command with a new per-connection HCI_CONN_CREATE flag and\nroute all cancellation through hci_cancel_connect_sync(), which\ndispatches to a dedicated per-type cancel function. The create command\nis in exactly one of two states: still queued, or in flight. The cancel\nfunction holds cmd_sync_work_lock across the whole decision: the worker\ntakes this lock to dequeue every entry, so while it is held a queued\ncommand cannot start running and an in-flight command cannot complete\nand let the next command become pending. This keeps the flag test and\nhci_cmd_sync_cancel() atomic with respect to the worker, so a queued\ncommand is simply dequeued, and an in-flight command owned by this\nconnection is cancelled without the risk of cancelling an unrelated\ncommand that became pending in the meantime. CIS uses the same flag\nmechanism via HCI_CONN_CREATE_CIS but cannot be dequeued per-connection.\n\nhci_acl_create_conn_sync() and hci_le_create_conn_sync() clear\nHCI_CONN_CREATE after the create command completes, but the command\nstatus handler can free conn via hci_conn_del() (for example when the\ncontroller rejects the connection) while the worker is still blocked on\nthe connection complete event. Hold a reference on conn across the\ncreate command so the flag can be cleared without a use-after-free.","published":"2026-07-25T08:50:47.262Z","updated":"2026-11-17T07:03:31.174337659Z","reserved":"2026-07-19T15:36:31.786Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6083089ab00631617f9eac678df3ab050a9d837a","lessThan":"903227b6168bb99fd57d4e3c9c1b5014986198e0","status":"affected","versionType":"git"},{"version":"a13f316e90fdb1fb6df6582e845aa9b3270f3581","lessThan":"83b22d7f7c384564fa42c3cf19bec715c693d7a2","status":"affected","versionType":"git"},{"version":"a13f316e90fdb1fb6df6582e845aa9b3270f3581","lessThan":"70c397b62ee015e19b3924d9da741c8dda017819","status":"affected","versionType":"git"},{"version":"a13f316e90fdb1fb6df6582e845aa9b3270f3581","lessThan":"61701912c58a05f6a043f097cc177a964abef348","status":"affected","versionType":"git"},{"version":"a13f316e90fdb1fb6df6582e845aa9b3270f3581","lessThan":"b42cb640a0493d16b61ddd267420274be15efdc1","status":"affected","versionType":"git"},{"version":"a13f316e90fdb1fb6df6582e845aa9b3270f3581","lessThan":"12917f591cea1af36087dba5b9ec888652f0b42a","status":"affected","versionType":"git"},{"version":"e4511a67fcdba9729d1c7cfc6d2e645c765ce801","status":"affected","versionType":"git"},{"version":"4ab81f16c68a602b2b69e333ae08d8748a9398de","status":"affected","versionType":"git"},{"version":"6.1.83","lessThan":"6.1.118","status":"affected","versionType":"semver"},{"version":"6.4.16","lessThan":"6.5","status":"affected","versionType":"semver"},{"version":"6.5.3","lessThan":"6.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.1.118","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.39","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.4","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/903227b6168bb99fd57d4e3c9c1b5014986198e0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/83b22d7f7c384564fa42c3cf19bec715c693d7a2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/70c397b62ee015e19b3924d9da741c8dda017819","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/61701912c58a05f6a043f097cc177a964abef348","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b42cb640a0493d16b61ddd267420274be15efdc1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/12917f591cea1af36087dba5b9ec888652f0b42a","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64405.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64405","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00119,"epssPercentile":0.01826,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64405","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64405","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64405","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64405","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}