Article View: linux.debian.bugs.dist
Article #1361Bug#1151323: bluez: audio breakage with WH-1000XM3 (regression)
From: Vincent Lefevre
Date: Mon, 19 Oct 2026 16:30
Date: Mon, 19 Oct 2026 16:30
89 lines
8269 bytes
8269 bytes
Package: bluez
Version: 5.87-5
Severity: important
When I connected my WH-1000XM3 for a webex meeting, it was no longer
working (and the internal microphone of my laptop wasn't working
either). The journalctl logs show:
Oct 19 16:56:11 qaa bluetoothd[1292]: profiles/audio/a2dp.c:load_remote_sep() Unable to load LastUsed: rseid 1 not found
Oct 19 16:56:12 qaa kernel: input: WH-1000XM3 (AVRCP) as /devices/virtual/input/input35
Oct 19 16:56:12 qaa systemd-logind[1310]: Watching system buttons on /dev/input/event24 (WH-1000XM3 (AVRCP))
Oct 19 16:56:29 qaa wireplumber[2492]: pw.node: (bluez_input.38_18_4C_4B_AC_93.0-77) running -> error (Received error event)
Oct 19 16:56:29 qaa wireplumber[2492]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-79) running -> error (Received error event)
Oct 19 16:56:29 qaa wireplumber[2492]: spa.bluez5: Failure in Bluetooth audio transport /org/bluez/hci0/dev_38_18_4C_4B_AC_93/fd64
Oct 19 16:56:29 qaa pipewire[2488]: pw.node: (bluez_input.38_18_4C_4B_AC_93.0-77) running -> error (Received error event)
Oct 19 16:56:29 qaa pipewire[2488]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-79) running -> error (Received error event)
Oct 19 16:56:29 qaa bluetoothd[1292]: /org/bluez/hci0/dev_38_18_4C_4B_AC_93/sep1/fd1: fd(34) ready
Oct 19 16:57:25 qaa kernel: Bluetooth: hci0: SCO packet for unknown connection handle 513
Oct 19 16:57:25 qaa kernel: kauditd_printk_skb: 54 callbacks suppressed
Oct 19 16:57:25 qaa kernel: audit: type=1400 audit(1792421845.592:568): apparmor="DENIED" operation="userns_create" class="namespace" profile="firejail-default" pid=256541 comm="firefox" requested="userns_create" denied="userns_create"
Oct 19 16:58:54 qaa wireplumber[2492]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-79) running -> error (Received error event)
Oct 19 16:58:54 qaa wireplumber[2492]: spa.bluez5: Failure in Bluetooth audio transport /org/bluez/hci0/dev_38_18_4C_4B_AC_93/sep1/fd1
Oct 19 16:58:54 qaa pipewire[2488]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-79) running -> error (Received error event)
Oct 19 16:58:55 qaa wireplumber[2492]: pw.node: (bluez_input.38_18_4C_4B_AC_93.0-94) suspended -> error (Received error event)
Oct 19 16:58:55 qaa wireplumber[2492]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-88) running -> error (Received error event)
Oct 19 16:58:55 qaa pipewire[2488]: pw.node: (bluez_input.38_18_4C_4B_AC_93.0-94) running -> error (Received error event)
Oct 19 16:58:55 qaa pipewire[2488]: pw.node: (bluez_output.38_18_4C_4B_AC_93.1-88) running -> error (Received error event)
Oct 19 16:58:55 qaa pipewire-pulse[2494]: mod.client-node: port (nil): set_param 4 0x563085381f80: Invalid argument
Oct 19 16:58:55 qaa pipewire[2488]: pw.core: 0x5594da794d40: error -22 for resource 74: port_set_param(Spa:Enum:ParamId:Format) failed: Invalid argument
Oct 19 16:58:55 qaa pipewire[2488]: mod.client-node: 0x5594dd02b340: error seq:10992 -22 (port_set_param(Spa:Enum:ParamId:Format) failed: Invalid argument)
Oct 19 16:58:55 qaa pipewire[2488]: pw.link: 0x5594dd039ae0: one of the nodes is in error out:suspended in:error
[...]
There was no such issue 2 weeks ago with bluez 5.87-4 (but perhaps
there's some randomness in the issue).
According to Mistral, this is an upstream bug, which is now fixed:
This looks like the known BlueZ 5.87 regression, not a config problem on your side.
## What's happening
- BlueZ 5.87 shipped commit `912f5efb0dd9` ("a2dp: Fix handling of codec capability storage"), which broke the loop that parses cached remote SEP capabilities: `i` starts at 0 but the loop requires `i >= 2`, so the body never runs and every cached endpoint is discarded β producing exactly your `load_remote_sep() Unable to load LastUsed: rseid 1 not found` message ([patch discussion](https://ratatoskr.run/linux-bluetooth/2026/07/17240553/t)).
- With no cached remote SEPs, AVDTP discovery on every reconnect races with the headset's own Set Configuration, so the stream never gets properly established, and PipeWire/WirePlumber's transport open fails β the `Failure in Bluetooth audio transport ... /sep1/fd1` and node `running -> error` lines you see. The same pattern is reported for Sony WH-1000XM5 and other A2DP devices on bluez 5.87-2 ([bluez#2575](https://github.com/bluez/bluez/issues/2575), [bluez#2321](https://github.com/bluez/bluez/issues/2321), [bluez#2553](https://github.com/bluez/bluez/issues/2553)).
- The `Unable to load LastUsed` line even appears on connections that work, so it's easy to dismiss β but it's the root-cause marker ([bluez#2321](https://github.com/bluez/bluez/issues/2321)).
The fix is upstream commit `b7d71e5` ("a2dp: Fix loading of remote SEP from cache"), merged on 2026-07-10 into BlueZ master ([fix commit](https://github.com/bluez/bluez/issues/2575)) β i.e. it should land in BlueZ 5.88.
[workaround snipped...]
The `SCO packet for unknown connection handle 513` kernel line is a side effect of the failed HFP/eSCO session teardown, and the firejail/firefox AppArmor denial is unrelated noise.
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bluez depends on:
ii dbus [default-dbus-system-bus] 1.16.2-8
ii kmod 34.2-2
ii libasound2t64 1.2.16.1-2
ii libc6 2.43-7
ii libdbus-1-3 1.16.2-8
ii libdw1t64 0.196-1
ii libglib2.0-0t64 2.90.1-2
ii libreadline8t64 8.3-4
ii libudev1 262-1
ii systemd [systemd-sysusers] 262-1
ii udev 262-1
bluez recommends no packages.
Versions of packages bluez suggests:
pn pulseaudio-module-bluetooth <none>
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Technical Details
Message-ID:
<NPYpj-6zbi-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Vincent Lefevre <vincent@vinc17.net> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151323: bluez: audio breakage with WH-1000XM3 (regression) Date: Mon, 19 Oct 2026 18:30:01 +0200 Message-ID: <NPYpj-6zbi-3@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 19 16:27:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Vincent Lefevre <vincent@vinc17.net>, 1151323@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-bluetooth@tracker.debian.org X-Debian-Pr-Message: report 1151323 X-Debian-Pr-Package: bluez X-Debian-Pr-Source: bluez MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Reportbug-Version: 13.2.0+nmu1 X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.4.3+59 (844fcfe7) vl-188789 (2026-10-10) X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997554 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 89 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 19 Oct 2026 18:24:18 +0200 X-Original-Message-ID: <20261019162418.GA271434@qaa.vinc17.org>