From: Andreas Kemnade <andreas@kemnade.info>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] gatt-client: avoid UAF after acquire notify failure
Date: Thu, 26 Jun 2025 17:19:55 +0200 [thread overview]
Message-ID: <20250626171955.42cca18f@akair> (raw)
In-Reply-To: <20250625140545.1610812-1-andreas@kemnade.info>
Am Wed, 25 Jun 2025 16:05:45 +0200
schrieb Andreas Kemnade <andreas@kemnade.info>:
> If a disconnect happens during AcquireNotify dbus calls, a lot of
> debris is left over. Subsequent calls to AcquireNotify will return
> NotPermitted and StopNotify leads to an UAF, crashing bluetoothd.
>
> Fix that by also clean up the socket stuff on failure.
>
Hmm, I should rather send a dbus answer, too instead of letting the app
waiting for timeout.
I will send an extended version (then with the correct subj prefix)
Regards,
Andreas
prev parent reply other threads:[~2025-06-26 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 14:05 [PATCH] gatt-client: avoid UAF after acquire notify failure Andreas Kemnade
2025-06-25 15:39 ` bluez.test.bot
2025-06-26 15:19 ` Andreas Kemnade [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=20250626171955.42cca18f@akair \
--to=andreas@kemnade.info \
--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 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.