Hello,
I can confirm this bug on a second, different machine.
Hardware: Acer Swift SF314-55, BIOS V1.05 10/03/2018
Bluetooth: Intel Wireless-AC 9560 "Jefferson Peak" (USB ID 8087:0aaa,
btusb/btintel)
System: Debian 12 (bookworm), bluez 5.66-1+deb12u2, pipewire
0.3.65-3+deb12u1, wireplumber 0.4.13-1
Behaviour:
- linux-image-6.1.0-56-amd64 (6.1.192-2): 100% reproducible at every boot.
bluetoothd hits the kernel BUG below roughly every 7-8 seconds, gets
killed (SIGSEGV), is restarted by systemd and crashes again. Paired
devices keep connecting/disconnecting. One boot logged 587 crashes.
It starts right after boot, with no specific user action, as soon as
wireplumber registers its A2DP endpoints and bluetoothd tries to
reconnect the trusted audio devices (two Bluetooth headsets are paired).
- linux-image-6.1.0-54-amd64 (6.1.190): no crash at all, Bluetooth works
normally. I am now booting this kernel as a workaround.
- I have not tested 6.1.0-55 (6.1.192-1).
Note: another user reports the same list_del corruption in hci_chan_del
on both 6.1.0-55 and 6.1.0-56, and not on 6.1.0-54 (trigger: l2ping):
https://github.com/doyled-it/homebody/issues/17
That suggests the regression may already be in 6.1.192-1, i.e. somewhere
between 6.1.190 and 6.1.192, rather than in the -1 -> -2 change.
First oops on 6.1.0-56 (module list trimmed):
list_del corruption, ffff8936925b00c0->prev is LIST_POISON2
(dead000000000122)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:56!
invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
CPU: 2 PID: 750 Comm: bluetoothd Not tainted 6.1.0-56-amd64 #1 Debian
6.1.192-2
Hardware name: Acer Swift SF314-55/MILLER_WL, BIOS V1.05 10/03/2018
RIP: 0010:__list_del_entry_valid.cold+0x4b/0x6f
Call Trace:
<TASK>
hci_chan_del+0x18/0x90 [bluetooth]
l2cap_chan_put+0x106/0x130 [bluetooth]
l2cap_sock_release+0xca/0x100 [bluetooth]
__sock_release+0x3a/0xb0
sock_close+0x11/0x20
__fput+0x90/0x250
task_work_run+0x56/0x90
exit_to_user_mode_prepare+0x23d/0x240
syscall_exit_to_user_mode+0x17/0x40
do_syscall_64+0x69/0xb0
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
</TASK>
Modules linked in: ... btusb btrtl btbcm btintel btmtk bluetooth iwlmvm
iwlwifi ...
---[ end trace 0000000000000000 ]---
I am happy to test a patched kernel if that helps.
Regards,
Roland