[PATCH v16 01/26] net/nbl: fix use-after-free

Burakov, Anatoly anatoly.burakov at intel.com
Wed Sep 9 13:51:10 CEST 2026


On 9/9/2026 12:01 PM, Anatoly Burakov wrote:
> When unmapping a device, the device is not removed from TAILQ, which may
> result in attempting to access this devices' data during subsequent mem
> event callbacks (as they are only disabled once all devices are removed).
> 
> Remove the device from TAILQ on unmap to fix it, and move the device fd
> close under the memcfg lock to avoid race between a mem event and fd close.
> 
> Fixes: dc955cd24c8f ("net/nbl: add coexistence mode")
> Cc: dimon.zhao at nebula-matrix.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> 

This patch was also sent separately and is currently "awaiting 
upstream". Sending it as part of this patchset is a workaround for CI 
not being able to use Depends-on tags correctly, it is not meant to be 
merged as part of this patchset.

-- 
Thanks,
Anatoly


More information about the dev mailing list