Katalog CVE

CVE-2026-93134

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w funkcji printk, podczas emisji rekordu przez starsze drukowanie może nastąpić przekazanie kontekstu, co zwalnia blokadę SRCU i unieważnia wskaźnik do struktury konsoli. Funkcja console_flush_one_record() nie sprawdzała tego po emisji, co może prowadzić do use-after-free. Poprawka przenosi dalsze użycie @con po sprawdzeniu przekazania.

Ocena ryzyka

Ryzyko use-after-free na strukturze konsoli, co może prowadzić do awarii systemu lub nieprzewidywalnego zachowania.

Rekomendacja

Zastosuj aktualizację jądra Linux, aby naprawić potencjalny use-after-free w printk.

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: printk: Fix possible console use-after-free When emitting a record via legacy printing, it is possible that a handover to another legacy printing context occurs. When a context has performed a handover, the console SRCU read lock is released and the pointer to the console struct might now be invalid. Therefore, after calling nbcon_legacy_emit_next_record() or console_emit_next_record(), it is necessary to check if a handover occurred _before_ further @con usage. Sashiko pointed out that console_flush_one_record() was not doing this. In console_flush_one_record(), after emitting a record, move the further usage of @con after the handover check.

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