[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024110557-CVE-2024-50125-5fd3@gregkh>
Date: Tue, 5 Nov 2024 18:11:14 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.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 ba316be1b6a0 and fixed in 6.1.115 with commit 9ddda5d967e8
Issue introduced in 5.15 with commit ba316be1b6a0 and fixed in 6.6.59 with commit d30803f6a972
Issue introduced in 5.15 with commit ba316be1b6a0 and fixed in 6.11.6 with commit 80b05fbfa998
Issue introduced in 5.15 with commit ba316be1b6a0 and fixed in 6.12-rc5 with commit 1bf4470a3939
Issue introduced in 4.14.263 with commit fea63ccd928c
Issue introduced in 4.19.207 with commit 48669c81a656
Issue introduced in 5.4.148 with commit 37d7ae2b0578
Issue introduced in 5.10.67 with commit a1073aad497d
Issue introduced in 5.13.19 with commit ec1f74319bb3
Issue introduced in 5.14.6 with commit b657bba82ff6
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/9ddda5d967e84796e7df1b54a55f36b4b9f21079
https://git.kernel.org/stable/c/d30803f6a972b5b9e26d1d43b583c7ec151de04b
https://git.kernel.org/stable/c/80b05fbfa998480fb3d5299d93eab946f51e9c36
https://git.kernel.org/stable/c/1bf4470a3939c678fb822073e9ea77a0560bc6bb
Powered by blists - more mailing lists