Skip to content
Commit 9040adc3 authored by Zhang Shurong's avatar Zhang Shurong Committed by Greg Kroah-Hartman
Browse files

firewire: net: fix use after free in fwnet_finish_incoming_packet()



[ Upstream commit 3ff25675 ]

The netif_rx() function frees the skb so we can't dereference it to
save the skb->len.

Signed-off-by: default avatarZhang Shurong <zhang_shurong@foxmail.com>
Link: https://lore.kernel.org/r/tencent_3B3D24B66ED66A6BB73CC0E63C6A14E45109@qq.com


Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ef87750c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment