Same oops here, on different hardware, and it ended in a hard hang.

Hardware: ASUS ExpertBook B1500CBA, BIOS B1500CBA.311 05/05/2023, MediaTek 
MT7921 (mt7921e, btusb/btmtk), with a Shokz OpenMove headset.
Good: 6.1.0-54 (6.1.190-1), 5 to 18 November, headset connected 20 times, no 
oopses.
Bad: 6.1.0-56 (6.1.192-2), first boot 18 November 08:20, headset connected 
09:30, first oops 11:57.

Just before the first oops the adapter reported packets for connection handles 
the kernel no longer had:

Bluetooth: hci0: ACL packet for unknown connection handle 3837
Bluetooth: hci0: SCO packet for unknown connection handle 3584
Bluetooth: hci0: ACL packet for unknown connection handle 3837
list_del corruption, ffff8b5c4a2071c0->prev is LIST_POISON2 (dead000000000122)
kernel BUG at lib/list_debug.c:56!
invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
CPU: 8 PID: 835 Comm: bluetoothd Not tainted 6.1.0-56-amd64 #1  Debian 6.1.192-2
 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

systemd restarted bluetoothd each time, and each restart oopsed at the same 
place, about one every 10 s for three and a half days. The last logged oops was 
#9999. With the default kernel.oops_limit of 10000 and kernel.panic=0, the next 
one panicked the machine and it stayed hung until the power button. So on 
bookworm this is not only lost Bluetooth: an unattended machine with a paired 
device will eventually hang.

Workaround here: bluetooth.service masked. The machine is still on 6.1.0-56 and 
can test a patched kernel if that helps.

Regards,
Gustav H Meyer

Reply via email to