{"id":"CVE-2026-89774","summary":"Bluetooth: SCO: hold sk properly in sco_conn_ready","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: SCO: hold sk properly in sco_conn_ready\n\nsk deref in sco_conn_ready must be done either under conn-\u003elock, or\nholding a refcount, to avoid concurrent close. conn-\u003esk and parent sk is\ncurrently accessed without either, and without checking parent-\u003esk_state:\n\n    [Task 1]            [Task 2]\n                        sco_sock_release\n    sco_conn_ready\n      sk = conn-\u003esk\n                          lock_sock(sk)\n                            conn-\u003esk = NULL\n      lock_sock(sk)\n                          release_sock(sk)\n                          sco_sock_kill(sk)\n       UAF on sk deref\n\nand similarly for access to sco_get_sock_listen() return value.\n\nFix possible UAF by holding sk refcount in sco_conn_ready() and making\nsco_get_sock_listen() increase refcount. Also recheck after lock_sock\nthat the socket is still valid.  Adjust conn-\u003esk locking so it's\nprotected also by lock_sock() of the associated socket if any.","modified":"2026-09-18T03:48:32.267903677Z","published":"2026-09-16T08:24:21.248Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89774.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4e37f6452d586b95c346a9abdd2fb80b67794f39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50aae396dc30377bec8e3b181b8346f8fd38f7d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e3840578aaad1a296aab1eaaa89ea3b7d5cbae1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7199c78c3a3e399a4dc439d845826793880ccedc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73cb063f5ec6ca51eb1e246c6d332563002ac277"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d141d9b769bcd1b747898528c5023270cda040f2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89774"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"27c24fda62b601d6f9ca5e992502578c4310876f"},{"fixed":"50aae396dc30377bec8e3b181b8346f8fd38f7d8"},{"fixed":"6e3840578aaad1a296aab1eaaa89ea3b7d5cbae1"},{"fixed":"d141d9b769bcd1b747898528c5023270cda040f2"},{"fixed":"73cb063f5ec6ca51eb1e246c6d332563002ac277"},{"fixed":"7199c78c3a3e399a4dc439d845826793880ccedc"},{"fixed":"4e37f6452d586b95c346a9abdd2fb80b67794f39"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89774.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89774.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}