Re: [dpdk-dev] [PATCH v3] ring: fix use after free in ring release

2023-05-23 Thread Thomas Monjalon
05/05/2023 08:48, Yunjian Wang: > After the memzone is freed, it is not removed from the 'rte_ring_tailq'. > If rte_ring_lookup is called at this time, it will cause a use-after-free > problem. This change prevents that from happening. > > Fixes: 4e32101f9b01 ("ring: support freeing") > Cc: sta...

[dpdk-dev] [PATCH v3] ring: fix use after free in ring release

2023-05-04 Thread Yunjian Wang
After the memzone is freed, it is not removed from the 'rte_ring_tailq'. If rte_ring_lookup is called at this time, it will cause a use-after-free problem. This change prevents that from happening. Fixes: 4e32101f9b01 ("ring: support freeing") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang Acke