Re: [PATCH] iommu/amd: Fix PCI device reference leak in iommu_call_iopf_notifier()

From: Vasant Hegde

Date: Wed Sep 30 2026 - 06:01:04 EST




On 9/17/2026 12:28 AM, Wentao Liang wrote:
> pci_get_domain_bus_and_slot() returns a PCI device with an elevated
> reference count, but iommu_call_iopf_notifier() never drops it, neither
> when the page request has been reported nor on the abort path.
>
> Put the device reference on both exits.

Its already addressed by commit af3b69b16383.

-Vasant