Description
In the Linux kernel, the following vulnerability has been resolved: iommu: Fix NULL group->domain dereference in pci_dev_reset_iommu_done() Local sashiko review pointed it out that group->domain could be NULL when a default domain fails to allocate during the first probe, which can crash at domain->ops->attach_dev dereference in __iommu_attach_device() invoked by pci_dev_reset_iommu_done(). pci_dev_reset_iommu_prepare() is fine as an old_domain pointer can be NULL. Skip the re-attach in pci_dev_reset_iommu_done() to fix the bug.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c279e83953d937470f8a6e69b69f62608714f13f to < 17194cd0dd236e732d116d50840d795ca50ef196affectedc279e83953d937470f8a6e69b69f62608714f13f to < d769711fcddd005f1e654b3bde547140917fe696affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected