netfilter: nf_queue: fix socket leak
stable inclusion from stable-v4.19.293 commit 058a52e061c535a58269c57c4229eacafbdf7de1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I85XNK CVE: NA -------------------------------- Removal of the sock_hold got lost when backporting commit c3873070 ("netfilter: nf_queue: fix possible use-after-free") to 4.19 Fixes: 34dc4a6a7f26 ("netfilter: nf_queue: fix possible use-after-free") in 4.19 Fixed in 4.14 with https://lore.kernel.org/all/20221024112958.115275475@linuxfoundation.org/ Signed-off-by:Vimal Agrawal <vimal.agrawal@sophos.com> Reviewed-by:
Florian Westphal <fw@strlen.de> [vbrahmajosyula: The fix to the backport was missed in 4.19] Signed-off-by:
Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please sign in to comment