[dpdk-dev] [PATCH 1/3] net/ixgbe: set pointer to NULL after free

Wang, Haiyue haiyue.wang at intel.com
Tue Feb 15 13:00:12 CET 2022


> -----Original Message-----
> From: Yunjian Wang <wangyunjian at huawei.com>
> Sent: Tuesday, February 15, 2022 18:25
> To: dev at dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>; Wang, Haiyue <haiyue.wang at intel.com>; jiawenwu at trustnetic.com;
> jianwang at trustnetic.com; dingxiaoxiong at huawei.com; huangshaozhang at huawei.com; Yunjian Wang
> <wangyunjian at huawei.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH 1/3] net/ixgbe: set pointer to NULL after free
> 
> When ixgbe_dev_close() is cleaning up, it does not correctly set
> the security_ctx variable to NULL, which will lead to wild pointer.
> 
> Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---
>  drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Haiyue Wang <haiyue.wang at intel.com>

> --
> 2.27.0



More information about the stable mailing list