From: "Danny Milosavljevic" <dannym@scratchpost.org>
To: 74597@debbugs.gnu.org
Cc: w@wmeyer.eu, leo@famulari.name
Subject: [bug#74597] Confirming problem
Date: Sat, 21 Dec 2024 17:45:45 +0100 (CET) [thread overview]
Message-ID: <20241221164545.612C61121371@dd30410.kasserver.com> (raw)
In-Reply-To: <1a0c0cfb41a0f7421e2e70d73ee6803c2a33c923.1732828088.git.flake@uni-koblenz.de>
Hi,
I have the same problem with Linux 6.11.11 and bluez 5.72.
I would like the fix to be in guix, but unfortunately it would cause
2455 packages (including erlang, gtk, gnome, gdm, qemu, qt, kde,
mate and enlightenment) that depend on bluez to rebuild (WTF!).
And I don't think there are a lot of Guix users using bluetooth.
So I should not just apply it to master as it is.
We could make a graft with just the patch[1]--even though it's not a
security patch. What do you all think? Make an exception here?
The cause was that the kernel reverted a bugfix. The bugfix would have
done a link type fixup (see below). But it was a userspace-visible change
(broke the interface guarantee between kernel and user space) and so
that's a no-no, and hence was reverted. So now someone else has to do
the bugfix in userspace--in this case bluez[1].
Reverted bugfix was[2]:
If two Bluetooth devices both support BR/EDR and BLE, and also
support Secure Connections, then they only need to pair once.
The LTK generated during the LE pairing process may be converted
into a BR/EDR link key for BR/EDR transport, and conversely, a
link key generated during the BR/EDR SSP pairing process can be
converted into an LTK for LE transport. Hence, the link type of
the link key and LTK is not fixed, they can be either an LE LINK
or an ACL LINK.
Because the keys are (and were) stored on disk, userspace will always
have to do this kind of sanity check anyway--so this patch[1] will
likely stay in bluez releases forever.
[1] <https://github.com/bluez/bluez/commit/366a8c522b648f47147de4852c5c030d69b916b3.patch>
[2] <https://www.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.206>, search for "59b047bc98084f8af2c41483e4d68a5adf2fa7f7"
prev parent reply other threads:[~2024-12-21 16:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-28 21:11 [bug#74597] [PATCH] gnu: bluez: Update to 5.79 Julian Flake
2024-12-03 13:28 ` [bug#74597] Reason for why I'm interested Julian Flake
2024-12-17 3:48 ` [bug#74597] (no subject) Dakota Logan
2024-12-21 16:45 ` Danny Milosavljevic [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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241221164545.612C61121371@dd30410.kasserver.com \
--to=dannym@scratchpost.org \
--cc=74597@debbugs.gnu.org \
--cc=leo@famulari.name \
--cc=w@wmeyer.eu \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).