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

Thomas Monjalon thomas at monjalon.net
Tue May 23 12:16:31 CEST 2023


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: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> Acked-by: Konstantin Ananyev <konstantin.v.ananyev at yandex.ru>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>

Applied, thanks.
That's a real pleasure to see reliability improved :)





More information about the stable mailing list