From: patchwork-bot+bluetooth@kernel.org
To: Pauli Virtanen <pav@iki.fi>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v2 1/2] Bluetooth: hci_sync: always check if connection is alive before deleting
Date: Tue, 03 Oct 2023 17:10:27 +0000 [thread overview]
Message-ID: <169635302749.22624.6754938752814022940.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <53130b4a5fb21a15f2674c336282d25ef5d2232e.1696077070.git.pav@iki.fi>
Hello:
This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Sat, 30 Sep 2023 15:53:32 +0300 you wrote:
> In hci_abort_conn_sync it is possible that conn is deleted concurrently
> by something else, also e.g. when waiting for hdev->lock. This causes
> double deletion of the conn, so UAF or conn_hash.list corruption.
>
> Fix by having all code paths check that the connection is still in
> conn_hash before deleting it, while holding hdev->lock which prevents
> any races.
>
> [...]
Here is the summary with links:
- [v2,1/2] Bluetooth: hci_sync: always check if connection is alive before deleting
https://git.kernel.org/bluetooth/bluetooth-next/c/32f6776f0083
- [v2,2/2] Bluetooth: hci_conn: verify connection is to be aborted before doing it
(no matching commit)
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2023-10-03 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-30 12:53 [PATCH v2 1/2] Bluetooth: hci_sync: always check if connection is alive before deleting Pauli Virtanen
2023-09-30 12:53 ` [PATCH v2 2/2] Bluetooth: hci_conn: verify connection is to be aborted before doing it Pauli Virtanen
2023-09-30 13:28 ` [syzbot] [bluetooth?] KASAN: slab-use-after-free Read in hci_send_acl syzbot
2023-10-02 23:22 ` [PATCH v2 2/2] Bluetooth: hci_conn: verify connection is to be aborted before doing it Luiz Augusto von Dentz
2023-10-03 16:41 ` Pauli Virtanen
2023-09-30 13:36 ` [v2,1/2] Bluetooth: hci_sync: always check if connection is alive before deleting bluez.test.bot
2023-10-03 17:10 ` patchwork-bot+bluetooth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169635302749.22624.6754938752814022940.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=pav@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.