[PATCH v1 1/1] bus/pci: fix resource leak in secondary process

Thomas Monjalon thomas at monjalon.net
Fri Oct 24 15:50:00 CEST 2025


24/10/2025 11:18, Anatoly Burakov:
> Right after setting up VFIO device, we attempt to fill region information.
> This operation can fail, and if it does, we do not release the device fd.
> Fix the control flow to free the device fd if getting region info failed.
> 
> Fixes: 4b741542ecde ("bus/pci: avoid depending on private kernel value")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks.





More information about the dev mailing list