Re: [PATCH 0/2] Bluetooth: various SCO fixes

From: Luiz Augusto von Dentz
Date: Fri Sep 03 2021 - 19:37:46 EST


Hi Desmond,

On Thu, Sep 2, 2021 at 8:23 PM Desmond Cheong Zhi Xi
<desmondcheongzx@xxxxxxxxx> wrote:
>
>
> Hi,
>
> This patch set contains some of the fixes for SCO following our
> discussion on commit ba316be1b6a0 ("Bluetooth: schedule SCO timeouts
> with delayed_work") [1].
>
> I believe these patches should go in together with [2] to address the
> UAF errors that have been reported by Syzbot following
> commit ba316be1b6a0.
>
> Link: https://lore.kernel.org/lkml/20210810041410.142035-2-desmondcheongzx@xxxxxxxxx/ [1]
> Link: https://lore.kernel.org/lkml/20210831065601.101185-1-desmondcheongzx@xxxxxxxxx/ [2]
>
> Best wishes,
> Desmond
>
> Desmond Cheong Zhi Xi (2):
> Bluetooth: call sock_hold earlier in sco_conn_del
> Bluetooth: fix init and cleanup of sco_conn.timeout_work
>
> net/bluetooth/sco.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> --
> 2.25.1

Applied, thanks.

--
Luiz Augusto von Dentz