Re: [dpdk-dev] [EXT] [PATCH] crypto: fix heap use after free bug

2021-07-30 Thread Akhil Goyal
> Fixed title > Cryptodev: fix heap use after free > > > The PMD destroy function was calling the release function, 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

Re: [dpdk-dev] [EXT] [PATCH] crypto: fix heap use after free bug

2021-07-30 Thread Akhil Goyal
Fixed title Cryptodev: fix heap use after free > > The PMD destroy function was calling the release function, 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 c

Re: [dpdk-dev] [EXT] [PATCH] crypto: fix heap use after free bug

2021-07-27 Thread Akhil Goyal
> The PMD destroy function was calling the release function, 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 f