Katalog CVE

CVE-2025-21804

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.20%

Percentyl 10 - wyżej niż 10% wszystkich znanych CVE

Streszczenie

W jądrze Linux w sterowniku PCI RCAR Endpoint (rcar-ep) funkcja rcar_pcie_parse_outbound_ranges() używa zmiennej łańcuchowej na stosie do przechowywania nazwy zasobu, która jest przekazywana do devm_request_mem_region(). Może to prowadzić do niezdefiniowanego zachowania, w tym wyświetlania śmieci w /proc/iomem lub awarii systemu.

Ocena ryzyka

Podatność może powodować błędne wyświetlanie informacji o zasobach pamięci, co utrudnia diagnostykę, a w skrajnych przypadkach może prowadzić do awarii systemu z powodu dostępu do niezmapowanej pamięci.

Rekomendacja

Zastosuj łatkę jądra Linux, która zastępuje zmienną na stosie nazwą poprzednio żądanego zasobu, zapewniając poprawne działanie devm_request_mem_region().

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: PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region() The rcar_pcie_parse_outbound_ranges() uses the devm_request_mem_region() macro to request a needed resource. A string variable that lives on the stack is then used to store a dynamically computed resource name, which is then passed on as one of the macro arguments. This can lead to undefined behavior. Depending on the current contents of the memory, the manifestations of errors may vary. One possible output may be as follows: $ cat /proc/iomem 30000000-37ffffff : 38000000-3fffffff : Sometimes, garbage may appear after the colon. In very rare cases, if no NULL-terminator is found in memory, the system might crash because the string iterator will overrun which can lead to access of unmapped memory above the stack. Thus, fix this by replacing outbound_name with the name of the previously requested resource. With the changes applied, the output will be as follows: $ cat /proc/iomem 30000000-37ffffff : memory2 38000000-3fffffff : memory3 [kwilczynski: commit log]

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