{"id":"CVE-2023-54038","aliases":["CVE-2023-54038"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link\n\nhci_connect_sco currently returns NULL when there is no link (i.e. when\nhci_conn_link() returns NULL).\n\nsco_connect() expects an ERR_PTR in case of any error (see line 266 in\nsco.c). Thus, hcon set as NULL passes through to sco_conn_add(), which\ntries to get hcon->hdev, resulting in dereferencing a NULL pointer as\nreported by syzkaller.\n\nThe same issue exists for iso_connect_cis() calling hci_connect_cis().\n\nThus, make hci_connect_sco() and hci_connect_cis() return ERR_PTR\ninstead of NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link\n\nhci_connect_sco currently returns NULL when there is no link (i.e. when\nhci_conn_link() returns NULL).\n\nsco_connect() expects an ERR_PTR in case of any error (see line 266 in\nsco.c). Thus, hcon set as NULL passes through to sco_conn_add(), which\ntries to get hcon->hdev, resulting in dereferencing a NULL pointer as\nreported by syzkaller.\n\nThe same issue exists for iso_connect_cis() calling hci_connect_cis().\n\nThus, make hci_connect_sco() and hci_connect_cis() return ERR_PTR\ninstead of NULL.","source":"cvelist"}],"published":"2025-12-24T10:56:04.623Z","modified":"2026-06-17T06:46:41.563Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"06149746e7203d5ffe2d6faf9799ee36203aa8b8","fixed":"357ab53c83a5322437fa434e9a9e3e0bafe6b383","status":"affected"},{"type":"git","introduced":"06149746e7203d5ffe2d6faf9799ee36203aa8b8","fixed":"b4066eb04bb67e7ff66e5aaab0db4a753f37eaad","status":"affected"},{"type":"git","version":"f72fc94a17d45be98aecfd59c39b5b24a6a342e2","status":"affected"},{"type":"semver","introduced":"6.3.8","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.4.7","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/357ab53c83a5322437fa434e9a9e3e0bafe6b383","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4066eb04bb67e7ff66e5aaab0db4a753f37eaad","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54038","url":"https://www.cve.org/CVERecord?id=CVE-2023-54038","licence":"CVE Terms of Use","modified":"2026-05-23T15:32:08.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54038","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54038","licence":"Public domain","modified":"2026-06-17T06:46:41.563Z"}],"updatedAt":"2026-11-25T22:58:35.150Z","epss":{"score":0.00262,"percentile":0.11025,"date":"2026-11-30T12:00:22.000Z"}}