From: patchwork-bot+bluetooth@kernel.org
To: =?utf-8?b?RnLDqWTDqXJpYyBEYW5pcyA8ZnJlZGVyaWMuZGFuaXNAY29sbGFib3JhLmNvbT4=?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH BlueZ] shared/bap: Fix use-after-free in bt_bap_detach
Date: Wed, 02 Sep 2026 15:40:06 +0000 [thread overview]
Message-ID: <178836360614.2802406.4817688876298487049.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260831144437.127711-1-frederic.danis@collabora.com>
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Mon, 31 Aug 2026 16:44:37 +0200 you wrote:
> bt_bap_detach() invoked the pending request's completion callback via
> bap_req_detach(bap->req) before clearing bap->req. Since the completion
> callback (req->func) can trigger synchronous cleanup that re-enters
> bt_bap_stream_cancel() for the same stream, and bt_bap_stream_cancel()
> frees bap->req whenever it still matches the request being canceled,
> the request could be freed while bap_req_complete() was still executing
> on it, causing bap_req_complete() to dereference the now-freed request
> once the callback returned.
>
> [...]
Here is the summary with links:
- [BlueZ] shared/bap: Fix use-after-free in bt_bap_detach
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=a909d5d303cb
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:[~2026-09-02 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 14:44 [PATCH BlueZ] shared/bap: Fix use-after-free in bt_bap_detach Frédéric Danis
2026-08-31 15:57 ` [BlueZ] " bluez.test.bot
2026-09-02 15:40 ` 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=178836360614.2802406.4817688876298487049.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bluetooth@kernel.org \
--cc==?utf-8?b?RnLDqWTDqXJpYyBEYW5pcyA8ZnJlZGVyaWMuZGFuaXNAY29sbGFib3JhLmNvbT4=?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org \
--cc=linux-bluetooth@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox