Katalog CVE

CVE-2026-90242

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w podsystemie iommu/vt-d występuje wyciek referencji iopf_refcount podczas zastępowania domeny na poziomie RID. Funkcje identity_domain_attach_dev() i blocking_domain_attach_dev() nie wyłączają IOPF dla starej domeny, co prowadzi do wycieku referencji. W rezultacie licznik nigdy nie spada do zera, co powoduje ostrzeżenie WARN_ON przy zwalnianiu urządzenia.

Ocena ryzyka

Wyciek referencji może prowadzić do nieprawidłowego działania funkcji IOPF i ostrzeżeń jądra podczas odłączania urządzeń PCI. Może to destabilizować system w środowiskach z aktywną wirtualizacją I/O.

Rekomendacja

Zastosuj poprawkę jądra Linux, która używa pomocniczej funkcji iopf_for_domain_replace() w ścieżkach RID, aby zachować właściwą kolejność włączania przed wyłączaniem IOPF.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix iopf_refcount leak on RID domain replacement intel_iommu_attach_device() enables IOPF for the new domain but never disables it for the old one. device_block_translation(), called at the start of the function, tears down translation but does not touch any IOPF state; blocking_domain_attach_dev() has to call iopf_for_domain_remove() explicitly before invoking it for exactly this reason. identity_domain_attach_dev() has the same problem. Its comment claims that no PRI handling is needed because the device has been put in the blocking state, but the blocking state and the IOPF reference count are independent of each other. As a result, replacing a domain that has an iopf_handler with another domain at RID level leaks a reference in info->iopf_refcount. The count never drops back to zero, so iopf_queue_remove_device() is never called and iommu_disable_pci_pri() triggers its WARN_ON(info->iopf_refcount) when the device is released. The PASID paths already handle this correctly by way of iopf_for_domain_replace(); convert the two RID paths to do the same. Using the replace helper rather than a bare remove keeps the enable before the disable, so the reference count does not transiently reach zero and evict the device from the IOPF queue.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS