Skip to content
Commit 743117a9 authored by YueHaibing's avatar YueHaibing Committed by Paolo Abeni
Browse files

tipc: Fix potential OOB in tipc_link_proto_rcv()

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>
parent 433c07a1
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