Re: [PATCH] Bluetooth: L2CAP: fix race l2cap_sock_cleanup_listen() vs. put_chan
From: Hillf Danton
Date: Tue Aug 04 2026 - 04:24:27 EST
On Tue, 04 Aug 2026 08:40:16 +0300 Pauli Virtanen wrote:
>
> There is no UAF there, Task 1 holds a reference on sk at this point, if
> you look at the code sock_put() follows.
>
If the subsequent put works without both race and mm leak, then it is the
very evidence of uaf with race.