Re: [PATCH] atm: lec: fix use-after-free in sock_def_readable()

From: Deepanshu Kartikey

Date: Mon Mar 09 2026 - 07:07:46 EST


On Mon, Mar 9, 2026 at 4:32 PM Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
>

> This would be good, make sure lec_atm_close() is allowed to sleep.
>
> If this is vcc_destroy_socket(), maybe sk_receive_queue purging
> already happens there.



Thank you for the suggestion Eric.


I will send a v2 patch based on these findings.

Deepanshu Kartikey