Re: [PATCH 5.10/5.15] Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_new_connection_cb()

Sasha Levin <[email protected]> Mon, 3 Aug 2026 16:46:57 -0400
Newsgroups org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, Aug 03, 2026 at 11:14:12AM +0300, Alexander Martyniuk wrote:
> Channel configuration that was duplicated in l2cap_sock_init() and the
> various new_connection callbacks is consolidated into
> l2cap_chan_set_defaults(), which now inherits from the parent channel
> when one is supplied.

Did you even build test this?

-- 
Thanks,
Sasha