*** This bug is a duplicate of bug 2146761 ***
    https://bugs.launchpad.net/bugs/2146761

== Root Cause Update ==

The original SDP hypothesis was wrong. The actual root cause is a kernel
regression in the L2CAP layer.

Kernel commit 6c3ea155e5ee ("Bluetooth: L2CAP: Fix not tracking
outstanding TX ident") causes L2CAP identifier values to be reused
across connections on the same ACL handle. The headset silently drops
L2CAP Configure Requests with a reused ident, so the AVDTP transport
channel never completes configuration. A2DP never reaches CONNECTED,
which means the policy plugin never triggers HFP/HSP.

The fix is upstream commit 537b583e6af82ead3f7a1074d51d5765f647ff01
("Bluetooth: L2CAP: Fix regressions caused by reusing ident"),
backported to stable kernels 6.19.11, 6.18.21, 6.12.80, 6.6.131.

Verified by building a patched bluetooth.ko against 7.0.0-7-generic with
this fix applied — A2DP and HFP/HSP both work.

Upstream kernel tracking:
- https://bugzilla.kernel.org/show_bug.cgi?id=221177
- https://bugzilla.kernel.org/show_bug.cgi?id=221120
- https://github.com/bluez/bluez/issues/1992

This bug should be reassigned from bluez to the linux package. The fix
needed is cherry-picking 537b583e6af82ead3f7a1074d51d5765f647ff01 into
the resolute 7.0.0 kernel.

** Bug watch added: Linux Kernel Bug Tracker #221177
   https://bugzilla.kernel.org/show_bug.cgi?id=221177

** Bug watch added: Linux Kernel Bug Tracker #221120
   https://bugzilla.kernel.org/show_bug.cgi?id=221120

** This bug has been marked a duplicate of bug 2146761
   Bluetooth audio headset regression on 7.0.0-10-generic: Shokz OpenComm2 
disconnects, works on 6.19.0-6-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2146506

Title:
  BlueZ HFP/HSP connection failure cascades and kills A2DP — no SDP
  query retry

To manage notifications about this bug go to:
https://bugs.launchpad.net/bluez/+bug/2146506/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to