[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ddde1e8f-4970-cc4b-144a-647679dbd1bb@redhat.com>
Date: Mon, 21 Nov 2022 19:47:18 -0500
From: Jon Maloy <jmaloy@...hat.com>
To: Xin Long <lucien.xin@...il.com>,
network dev <netdev@...r.kernel.org>,
tipc-discussion@...ts.sourceforge.net
Cc: davem@...emloft.net, kuba@...nel.org,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Ying Xue <ying.xue@...driver.com>,
Wei Chen <harperchen1110@...il.com>
Subject: Re: [PATCH net 0/2] tipc: fix two race issues in tipc_conn_alloc
On 11/18/22 16:44, Xin Long wrote:
> The race exists beteen tipc_topsrv_accept() and tipc_conn_close(),
> one is allocating the con while the other is freeing it and there
> is no proper lock protecting it. Therefore, a null-pointer-defer
> and a use-after-free may be triggered, see details on each patch.
>
> Xin Long (2):
> tipc: set con sock in tipc_conn_alloc
> tipc: add an extra conn_get in tipc_conn_alloc
>
> net/tipc/topsrv.c | 20 +++++++++++---------
> 1 file changed, 11 insertions(+), 9 deletions(-)
>
Series
Acked-by: Jon Maloy <jmaloy@...hat.com>
Powered by blists - more mailing lists