Katalog CVE

CVE-2026-93263

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku eswin dla układów EIC7700 funkcje eswin_clk_register_pll() i eswin_register_clkdiv() nie inicjalizują wszystkich pól struktury clk_init_data alokowanej na stosie. Niezainicjalizowane dane na stosie powodują błędne rozpoznanie rodzica zegara i prowadzą do dereferencji wskaźnika NULL podczas rejestracji zegara.

Ocena ryzyka

Podatność może doprowadzić do awarii systemu (paniki jądra) na platformach z układem EIC7700, co skutkuje przerwą w działaniu usług.

Rekomendacja

Zainstaluj najnowszą łatkę jądra Linux zawierającą poprawkę zerującego inicjalizację struktury clk_init_data w sterowniku eswin.

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: clk: eswin: Zero-initialize stack-allocated clk_init_data eswin_clk_register_pll() and eswin_register_clkdiv() declare a struct clk_init_data on the stack and only initialize some of its fields (parent_data respectively parent_hws). clk_core_populate_parent_map() checks parent_names first and parent_data second before falling back to parent_hws, so leftover stack garbage in the uninitialized fields hijacks parent resolution and the clk core dereferences a bogus pointer: Unable to handle kernel NULL pointer dereference at virtual address 000000000000000c Oops [#1] epc : __clk_register+0x31a/0x7f0 [<ffffffff805dc774>] __clk_register+0x31a/0x7f0 [<ffffffff805dcd76>] devm_clk_hw_register+0x2a/0x94 [<ffffffff805e319a>] eswin_register_clkdiv+0x80/0xd0 [<ffffffff805e34a0>] eswin_clk_register_clks+0x162/0x1a0 [<ffffffff805e3736>] eic7700_clk_probe+0x146/0x180 [<ffffffff8065d23c>] platform_probe+0x3c/0x7a Observed on EIC7700 hardware (with the driver backported to a 6.17 tree); whether the bug triggers depends entirely on what the stack happens to contain when the registration helpers run. Zero-initialize both structures.

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