Re: [PATCH] atm: fix skb leak in sigd_send() on a closing listen socket
From: Jakub Kicinski
Date: Fri Jun 12 2026 - 19:13:45 EST
On Fri, 12 Jun 2026 00:38:06 +0800 Weiming Shi wrote:
> In the as_indicate path, sigd_send() pins the listening socket with
> find_get_vcc() and queues the skb on its receive queue under lock_sock().
> It does not check whether the socket is being torn down. If the listener
> is closed concurrently, vcc_destroy_socket() purges the receive queue
> once under lock_sock() and removes the socket from vcc_hash; the final
> free goes __sk_destruct() -> vcc_sock_destruct(), which does not purge.
> A skb queued after that purge is therefore leaked.
same story here, nobody uses this, I'll delete it instead