> Subject: [PATCH] crypto/octeontx: fix heap use after free
> 
> When the PMD is removed, rte_cryptodev_pmd_release_device
> is called which frees cryptodev->data, and then tries to free
> cryptodev->data->dev_private, which causes the heap use
> after free issue.
> 
> A temporary pointer is set before the free of cryptodev->data,
> which can then be used afterwards to free dev_private.
> 
> Fixes: bfe2ae495ee2 ("crypto/octeontx: add PMD skeleton")
> Cc: sta...@dpdk.org
> 
> Reported-by: ZhihongX Peng <zhihongx.p...@intel.com>
> Signed-off-by: Akhil Goyal <gak...@marvell.com>

Applied to dpdk-next-crypto

Reply via email to