Skip to content
Commit 3349c272 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Merge branch 'tipc-fix-two-race-issues-in-tipc_conn_alloc'



Xin Long says:

====================
tipc: fix two race issues in tipc_conn_alloc

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.
====================

Link: https://lore.kernel.org/r/cover.1668807842.git.lucien.xin@gmail.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 1f0dd412 a7b42969
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment