Katalog CVE

CVE-2026-89877

WysokieCVSS 8.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku media saa7164 funkcja saa7164_dev_setup() dodaje urządzenie do globalnej listy saa7164_devlist przed żądaniem regionów pamięci PCI BAR. Gdy get_resources() zawiedzie, urządzenie pozostaje na liście, a ścieżka błędu próbkowania zwalnia je, pozostawiając wiszący wpis.

Ocena ryzyka

Wiszący wpis na globalnej liście może prowadzić do użycia zwolnionej pamięci (use-after-free) i awarii jądra. Występuje przy błędach alokacji zasobów PCI.

Rekomendacja

Zaktualizuj jądro Linux do wersji usuwającej urządzenie z saa7164_devlist i zwalniającej BAR0 przy niepowodzeniu żądania BAR2.

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: media: saa7164: fix cleanup on resource allocation failure saa7164_dev_setup() adds the device to the global saa7164_devlist before requesting the PCI BAR memory regions. If get_resources() fails, saa7164_dev_setup() decrements the device count and returns an error, but leaves the device on saa7164_devlist. The probe error path then frees the device, leaving a dangling entry on the global list. Reuse the existing MMIO mapping error path to remove the device from saa7164_devlist and decrement the device count before returning. Also release BAR0 if it was successfully requested but the BAR2 request fails.

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