← CVE Intelligence

CVE-2024-50101

iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices Previously, the domain_context_clear() function incorrectly called pci_for_each_dma_alias() to set up context entries for non-PCI devices. This could lead to kernel hangs or other unexpected behavior. Add a check to only call pci_for_each_dma_alias() for PCI devices. For non-PCI devices, domain_context_clear_one() is called directly.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 9807860f6ad446459d0446550cf4a2dc23bbee6c before 0bd9a30c22afb5da203386b811ec31429d2caa78; affected 59862b869275c27beb25cda2054b59a8b5d04970 before cbfa3a83eba05240ce37839ed48280a05e8e8f6c; affected 48f2183a4f9d3540fc5cfc8f8451621ee92c09f8 before fe2e0b6cd00abea3efac66de1da22d844364c1b0; affected 9a16ab9d640274b20813d2d17475e18d3e99d834 before 04d6826ba7ba81213422276e96c90c6565169e1c; affected 9a16ab9d640274b20813d2d17475e18d3e99d834 before 6e02a277f1db24fa039e23783c8921c7b0e5b1b3; affected 5.15.142 before 5.15.169; affected 6.1.66 before 6.1.114; affected 6.6.5 before 6.6.58
Linux / Linuxaffected 6.7; unaffected 0 before 6.7; unaffected 5.15.169 through 5.15.*; unaffected 6.1.114 through 6.1.*; unaffected 6.6.58 through 6.6.*; unaffected 6.11.5 through 6.11.*; unaffected 6.12 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.