summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLiu Jian <liujian56@huawei.com>2022-12-03 17:42:40 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-14 11:30:47 +0100
commit1b6360a093ab8969c91a30bb58b753282e2ced4c (patch)
tree393197514622fc383e116e7d1861a05739d0a819 /net
parente71a46cc8c9ad75f3bb0e4b361e81f79c0214cca (diff)
downloadlinux-stable-1b6360a093ab8969c91a30bb58b753282e2ced4c.tar.gz
linux-stable-1b6360a093ab8969c91a30bb58b753282e2ced4c.tar.bz2
linux-stable-1b6360a093ab8969c91a30bb58b753282e2ced4c.zip
net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
[ Upstream commit 433c07a13f59856e4585e89e86b7d4cc59348fab ] The skb is delivered to napi_gro_receive() which may free it, after calling this, dereferencing skb may trigger use-after-free. Fixes: 57c5bc9ad7d7 ("net: hisilicon: add hix5hd2 mac driver") Signed-off-by: Liu Jian <liujian56@huawei.com> Link: https://lore.kernel.org/r/20221203094240.1240211-2-liujian56@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions