Hello Salvatore,
yes, this is the same bug as my report, and here is the trace that was
missing (5 occurrences in 30 seconds, kernel 6.1.192-2, Debian 6.1.192-2):
[10:20:03] list_del corruption, ffff8e833e9940c0->prev is LIST_POISON2 
(dead000000000122)
[10:20:03] kernel BUG at lib/list_debug.c:56!
[10:20:03] CPU: 10 PID: 101601 Comm: bluetoothd Tainted: G D 6.1.0-56-amd64 #1 
Debian 6.1.192-2
[10:20:03] RIP: 0010:__list_del_entry_valid.cold+0x4b/0x6f
[10:20:03] Call Trace:
[10:20:03] hci_chan_del+0x18/0x90 [bluetooth]
[10:20:03] l2cap_chan_put+0x106/0x130 [bluetooth]
[10:20:03] l2cap_sock_release+0xca/0x100 [bluetooth]
Same signature at 10:20:11, 10:20:18, 10:20:26 and 10:20:33 (PIDs 101692,
101815, 101858, 101953) -- one per connection attempt, each one killing
bluetoothd, hence the daemon restart loop.
About the bisect: the first bad commit can be identified without one,
because it is a single self-contained change:
commit 967473b1e8bb6d941e034ec1f76de40ccf54a8cf
Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd
[ Upstream commit b4f82f9ed43aefa79bec2504ae8c29be0c0f5d1d ]
first shipped in 6.1.191 (Debian 6.1.192-1), and absent from 6.1.190
(checked against the official ChangeLog-6.1.190 / ChangeLog-6.1.191).
It moves hci_chan_del() out of l2cap_conn_del() into the kref destructor
l2cap_conn_free():
@@ -1843,10 +1853,7 @@ static void l2cap_conn_del(struct hci_conn hcon, int err)
mutex_unlock(&conn->chan_lock);
- hci_chan_del(conn->hchan);
-
hcon->l2cap_data = NULL;
- conn->hchan = NULL;
l2cap_conn_put(conn);
}
@@ -1854,6 +1861,7 @@ static void l2cap_conn_free(struct kref ref)
+ hci_chan_del(conn->hchan);
hci_conn_put(conn->hcon);
In 6.1.190 the chan is unlinked in l2cap_conn_del(), before the last
l2cap_conn_put(). After this backport it is unlinked in l2cap_conn_free(),
i.e. at connection-teardown time, concurrently with
hci_conn_cleanup() -> hci_chan_list_flush() unlinking the same entry.
That second list_del_rcu() is what trips LIST_POISON2.
This is verifiable without building anything (note: git log -S will not
show it, the string count is unchanged -- use -G):
git log -G'hci_chan_del(conn->hchan)' --oneline v6.1.190..v6.1.192 \
-- net/bluetooth/l2cap_core.c
git show 967473b1e8bb -- net/bluetooth/l2cap_core.c
Mainline is not affected: b4f82f9ed43a (Jan 2025) was followed by
ab4eedb790ca ("Bluetooth: L2CAP: Fix corrupted list in hci_chan_del",
Feb 2025), which put the call back into l2cap_conn_del(). 6.1.y took the
two in the opposite order, so ab4eedb790ca never reached 6.1. I checked
v6.12.118 and v6.18.64: hci_chan_del() is in l2cap_conn_del() there.
The revert that restores the 6.1.190 placement is 3 lines (generated
against a pristine v6.1.192 tarball, applies with patch -p1):
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -1857,7 +1857,10 @@
mutex_unlock(&conn->chan_lock);
+ hci_chan_del(conn->hchan);
+
hcon->l2cap_data = NULL;
+ conn->hchan = NULL;
l2cap_conn_put(conn);
}
@@ -1865,7 +1868,6 @@
struct l2cap_conn conn = container_of(ref, struct l2cap_conn, ref);
- hci_chan_del(conn->hchan);
hci_conn_put(conn->hcon);
kfree(conn);
}
Reproducibility is 100%, about 7 seconds after a Bluetooth audio device
connects (Pixel Buds A-Series and Shokz OpenRun Pro 2 both trigger it),
one BUG per connection attempt. The machine survives here only because
panic_on_oops=0, so the BUG kills bluetoothd in process context; when it
fires while conn->lock / hci_dev_lock is held, the lock is leaked and the
machine hard-locks (that is what happened on 2026-11-17, same trace).
Tested. I built a vanilla v6.1.192 tarball with the 3-line revert above
(LOCALVERSION=-btrevert, your config from /boot reduced with
localmodconfig, debug info disabled), installed it and ran it:

     *
17 minutes uptime, kernel taint stays 0 (no BUG, no WARNING)
     *
bluetoothd keeps the same PID from boot (on 6.1.192 it was killed and
D-Bus reactivated every ~6-7 s, once per connection attempt)
     *
Shokz OpenRun Pro 2 connected and used as the default A2DP sink; it
re-registers AVRCP every ~16 s, which on 6.1.192 produced one BUG per
cycle
     *
3 explicit disconnect/reconnect cycles, i.e. l2cap_conn_del() ->
l2cap_conn_free() -> hci_chan_del(): no BUG
     *
dmesg: 0 matches for list_del / kernel BUG / hci_chan_del (the only
Bluetooth lines are the Intel firmware load at 13:41:06 and two benign
"Opcode 0x0401 failed: -16", i.e. an Inquiry request while the adapter
was busy)

I did not run the full bisection. The revert isolates a single hunk, and
with it applied the crash is gone, so a bisect would only confirm what the
diff already shows. If you want the formal bisect for the record, I will
run it and send you git bisect log -- I expect 967473b1e8bb.
Regards,
Mael
________________________________
De : Salvatore Bonaccorso <[email protected]>
Envoyé : dimanche 22 novembre 2026 18:25
À : skiwithme <[email protected]>; [email protected] 
<[email protected]>
Cc : [email protected] <[email protected]>; 
[email protected] <[email protected]>; 
[email protected] <[email protected]>; 
[email protected] <[email protected]>; 
[email protected] <[email protected]>
Objet : Bug#1154212: Bug#1154866: bluetooth service restart - a kernel issue no 
question (amd and intel, multiple generations)

[Vous ne recevez pas souvent de courriers de [email protected]. D?couvrez 
pourquoi ceci est important ? https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This email originated from outside the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

Control: forcemerge 1154123 1154866
Control: tags -1 + moreinfo

Hi,

On Sun, Nov 22, 2026 at 05:05:04PM +0000, skiwithme wrote:
> Package: src:linux
> Version: 6.1.192-2
> Severity: important
> Tags: regression

There is no such tag. Please consult 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.debian.org%2FBugs%2FDeveloper%23tags&data=05%7C02%7Cmael.bras.ext%40idnow.io%7C18dcee44816b4fe0766b08df48bdd8d4%7C509dc8c8e18f4c9c959795c4f158d706%7C1%7C0%7C639309652399126596%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=TxpKgJTixlo0pro6GONcWTjdLjPJf%2BxoD2ehEDlyOJM%3D&reserved=0<https://www.debian.org/Bugs/Developer#tags>

> Dear Maintainer,
>
> A Bluetooth audio regression was introduced in Debian's 6.1.192 kernel
> series (affecting both linux-image-6.1.0-55-amd64 / 6.1.0-56-amd64).
>
> Summary of behavior:
> - Working kernel: 6.1.0-54-amd64
> - Broken kernels: 6.1.0-55-amd64 and 6.1.0-56-amd64
> - Symptom: When bluetoothd attempts to connect to a Bluetooth audio device
> and open an audio socket, the kernel triggers an oops in the Bluetooth L2CAP
> stack (hci_chan_del), causing bluetoothd to enter a crash/restart loop and
> preventing audio playback.
> - Scope: Reproduced across multiple Debian 12 (Bookworm) machines.
>
> Booting back into 6.1.0-54-amd64 immediately resolves the issue on all
> affected systems. Full dmesg stack traces can be provided upon request.
>
> If i need audio on a machine, I must boot 54.  I see the issue on all
> machines - some where i don't need bluetooth audio, but it is there too.

This is almost sure the same as reported in #1154123, altough you are
not providing any trace from the OOPS, but the indication on
hci_chan_del seems to indicate it. I'm merging both reports.

Can you please bisect the issue with the following procedure:

    git clone --single-branch -b linux-6.1.y 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git&data=05%7C02%7Cmael.bras.ext%40idnow.io%7C18dcee44816b4fe0766b08df48bdd8d4%7C509dc8c8e18f4c9c959795c4f158d706%7C1%7C0%7C639309652399159471%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=bJTcvODr%2FS7niUo5CSa2%2BEsH4VZrq0KanWOgpsMo%2F9o%3D&reserved=0<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git>
    cd linux-stable
    git checkout v6.1.190
    cp /boot/config-$(uname -r) .config
    yes '' | make localmodconfig
    make savedefconfig
    mv defconfig arch/x86/configs/my_defconfig

    # test 6.1.190 to ensure this is "good"
    make my_defconfig
    make -j $(nproc) bindeb-pkg
    ... install the resulting .deb package and confirm problem does not exist

    # test 6.1.192 to ensure this is "bad"
    git checkout v6.1.192
    make my_defconfig
    make -j $(nproc) bindeb-pkg
    ... install the resulting .deb package and confirm problem exists

With that confirmed, the bisection can start:

    git bisect start
    git bisect good v6.1.190
    git bisect bad v6.1.192

In each bisection step git checks out a state between the oldest
known-bad and the newest known-good commit. In each step test using:

    make my_defconfig
    make -j $(nproc) bindeb-pkg
    ... install, verify if problem exists

and if the problem is hit run:

    git bisect bad

and if the problem doesn't trigger run:

    git bisect good

. Please pay attention to always select the just built kernel for
booting, it won't always be the default kernel picked up by grub.

Iterate until git announces to have identified the first bad commit.

Then provide the output of

    git bisect log

In the course of the bisection you might have to uninstall previous
kernels again to not exhaust the disk space in /boot. Also in the end
uninstall all self-built kernels again.

Regards,
Salvatore

Reply via email to