Katalog CVE

CVE-2026-46288

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.14%

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

Streszczenie

W jądrze Linuxa wykryto błąd użycia po zwolnieniu (UAF) w funkcji of_unittest_changeset() w testach jednostkowych. Zmienna 'parent' wskazuje na to samo urządzenie co 'nchangeset', a wywołanie of_node_put(nchangeset) może zwolnić pamięć, po której następnie odwołuje się 'parent'. Błąd występuje tylko w kodzie testowym, ale może maskować poważniejsze problemy.

Ocena ryzyka

Ryzyko jest niskie, ponieważ podatność dotyczy tylko kodu testowego, ale może prowadzić do fałszywych wyników testów lub ukrycia innych błędów. W środowisku produkcyjnym nie występuje.

Rekomendacja

Zaleca się aktualizację jądra Linuxa do wersji zawierającej poprawkę, która przenosi wywołanie of_node_put() po ostatnim dostępie do 'parent'.

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: of: unittest: fix use-after-free in of_unittest_changeset() The variable 'parent' is assigned the value of 'nchangeset' earlier in the function, meaning both point to the same struct device_node. The call to of_node_put(nchangeset) can decrement the reference count to zero and free the node if there are no other holders. After that, the code still uses 'parent' to check for the presence of a property and to read a string property, leading to a use-after-free. Fix this by moving the of_node_put() call after the last access to 'parent', avoiding the UAF.

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