Message ID | 20240906132840.828109-3-koichiro.den@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2024-26891 | expand |
diff --git a/drivers/iommu/intel-pasid.c b/drivers/iommu/intel-pasid.c index 9641eaa19e08..a41d6c63cca7 100644 --- a/drivers/iommu/intel-pasid.c +++ b/drivers/iommu/intel-pasid.c @@ -441,6 +441,9 @@ devtlb_invalidation_with_pasid(struct intel_iommu *iommu, if (!info || !info->ats_enabled) return; + if (pci_dev_is_disconnected(to_pci_dev(dev))) + return; + sid = info->bus << 8 | info->devfn; qdep = info->ats_qdep; pfsid = info->pfsid;