Skip to content
Commit 36e24826 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman
Browse files

tipc: Fix potential OOB in tipc_link_proto_rcv()

[ Upstream commit 743117a9 ]

Fix the potential risk of OOB if skb_linearize() fails in
tipc_link_proto_rcv().

Fixes: 5cbb28a4

 ("tipc: linearize arriving NAME_DISTR and LINK_PROTO buffers")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20221203094635.29024-1-yuehaibing@huawei.com
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 93aaa4bb
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