All of lore.kernel.org
 help / color / mirror / Atom feed
* [regression 6.1.y] 967473b1e8bb ("Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd") causes backtraces and non-working bluetooth
@ 2026-11-26  6:06 Salvatore Bonaccorso
  2026-11-27  7:45 ` Dominique Martinet
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Salvatore Bonaccorso @ 2026-11-26  6:06 UTC (permalink / raw)
  To: Luiz Augusto von Dentz, Edward Adam Davis, Sasha Levin,
	Marcel Holtmann
  Cc: linux-bluetooth, regressions, stable, W. John White,
	Péter Bátori, Mael Bras, tycho673, hanta, skiwithme,
	Suvam Sen, Celimar

Control: forwarded -1 https://lore.kernel.org/regressions/179567271700.947722.15185762256491350563@eldamar.lan

Hi

In Debian we got a series of regression reports with after updating
the 6.1.y kernel to 6.1.192, the bugreports are bit hard to follow to
the amount of people contributing, they are right now:

https://bugs.debian.org/1154123
https://bugs.debian.org/1154206
https://bugs.debian.org/1154212
https://bugs.debian.org/1154648
https://bugs.debian.org/1154673
https://bugs.debian.org/1154866
https://bugs.debian.org/1154879
https://bugs.debian.org/1155192

The issue appers to be introduced by the backport of b4f82f9ed43a
("Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd")
to 6.1.y which landed at 967473b1e8bb6d941e034ec1f76de40ccf54a8cf. The
backtrace shown is involving:

[   40.687744] list_del corruption, ffff8a27c10efe80->prev is LIST_POISON2 (dead000000000122)
[   40.687829] kernel BUG at lib/list_debug.c:56!
[   40.687865] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[   40.687900] CPU: 2 PID: 893 Comm: bluetoothd Kdump: loaded Tainted: G           I        6.1.0-55-amd64 #1  Debian 6.1.192-1
[   40.687960] Hardware name: /NUC6i7KYB, BIOS KYSKLi70.86A.0051.2018.0110.1800 01/10/2018
[   40.688002] RIP: 0010:__list_del_entry_valid.cold+0x4b/0x6f
[   40.688574] Call Trace:
[   40.688594]  <TASK>
[   40.688614]  hci_chan_del+0x18/0x90 [bluetooth]
[   40.688745]  l2cap_chan_put+0x106/0x130 [bluetooth]
[   40.688890]  l2cap_sock_release+0xca/0x100 [bluetooth]
[   40.689038]  __sock_release+0x3a/0xb0
[   40.689070]  sock_close+0x11/0x20
[   40.689096]  __fput+0x90/0x250
[   40.689124]  task_work_run+0x56/0x90
[   40.689154]  exit_to_user_mode_prepare+0x23d/0x240
[   40.689191]  syscall_exit_to_user_mode+0x17/0x40
[   40.689226]  do_syscall_64+0x69/0xb0
[   40.689452]  entry_SYSCALL_64_after_hwframe+0x6e/0xdb
[   40.689845]  </TASK>

But reverting the commit does not immediately seem to be an option as
this is as well the fix for CVE-2025-21969. Is there something broken
in the backport or a missing requisite?

Regards,
Salvatore

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-29 20:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  6:06 [regression 6.1.y] 967473b1e8bb ("Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd") causes backtraces and non-working bluetooth Salvatore Bonaccorso
2026-11-27  7:45 ` Dominique Martinet
2026-11-27  8:03 ` [PATCH 6.1] Bluetooth: L2CAP: Fix corrupted list in hci_chan_del Dominique Martinet
2026-11-27 13:29   ` [6.1] " bluez.test.bot
2026-11-29 18:59   ` [PATCH 6.1] " Sasha Levin
2026-11-29 20:21     ` Dominique Martinet
2026-11-27 17:01 ` [regression 6.1.y] 967473b1e8bb ("Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd") causes backtraces and non-working bluetooth Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.