| From bippy-1.1.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-50125: Bluetooth: SCO: Fix UAF on sco_sock_timeout |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| Bluetooth: SCO: Fix UAF on sco_sock_timeout |
| |
| conn->sk maybe have been unlinked/freed while waiting for sco_conn_lock |
| so this checks if the conn->sk is still valid by checking if it part of |
| sco_sk_list. |
| |
| The Linux kernel CVE team has assigned CVE-2024-50125 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.15 with commit ba316be1b6a00db7126ed9a39f9bee434a508043 and fixed in 5.15.181 with commit 74a466a15731a754bcd8b5a83c126b5122e15a45 |
| Issue introduced in 5.15 with commit ba316be1b6a00db7126ed9a39f9bee434a508043 and fixed in 6.1.115 with commit 9ddda5d967e84796e7df1b54a55f36b4b9f21079 |
| Issue introduced in 5.15 with commit ba316be1b6a00db7126ed9a39f9bee434a508043 and fixed in 6.6.59 with commit d30803f6a972b5b9e26d1d43b583c7ec151de04b |
| Issue introduced in 5.15 with commit ba316be1b6a00db7126ed9a39f9bee434a508043 and fixed in 6.11.6 with commit 80b05fbfa998480fb3d5299d93eab946f51e9c36 |
| Issue introduced in 5.15 with commit ba316be1b6a00db7126ed9a39f9bee434a508043 and fixed in 6.12 with commit 1bf4470a3939c678fb822073e9ea77a0560bc6bb |
| Issue introduced in 4.14.263 with commit fea63ccd928c01573306983346588b26cffb5572 |
| Issue introduced in 4.19.207 with commit 48669c81a65628ef234cbdd91b9395952c7c27fe |
| Issue introduced in 5.4.148 with commit 37d7ae2b0578f2373674a755402ee722e96edc08 |
| Issue introduced in 5.10.67 with commit a1073aad497d0d071a71f61b721966a176d50c08 |
| Issue introduced in 5.13.19 with commit ec1f74319bb35c1c90c25014ec0f6ea6c3ca2134 |
| Issue introduced in 5.14.6 with commit b657bba82ff6a007d84fd076bd73b11131726a2b |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2024-50125 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| include/net/bluetooth/bluetooth.h |
| net/bluetooth/af_bluetooth.c |
| net/bluetooth/sco.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/74a466a15731a754bcd8b5a83c126b5122e15a45 |
| https://git.kernel.org/stable/c/9ddda5d967e84796e7df1b54a55f36b4b9f21079 |
| https://git.kernel.org/stable/c/d30803f6a972b5b9e26d1d43b583c7ec151de04b |
| https://git.kernel.org/stable/c/80b05fbfa998480fb3d5299d93eab946f51e9c36 |
| https://git.kernel.org/stable/c/1bf4470a3939c678fb822073e9ea77a0560bc6bb |