Katalog CVE

CVE-2026-89858

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux sterownik scsi qla2xxx w funkcji qla2x00_update_fru_versions() kopiuje żądanie BSG do bufora stosu o stałym rozmiarze 256 bajtów i iteruje list->count razy bez ograniczenia, co może prowadzić do odczytu poza buforem i wysłania danych z pamięci stosu do urządzenia.

Ocena ryzyka

Może prowadzić do wycieku danych z pamięci stosu jądra do urządzenia, co stanowi naruszenie poufności. Wymaga uprawnień do wysłania żądania BSG.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która odrzuca żądania, gdy zadeklarowana liczba nie mieści się w buforze. Ogranicz dostęp do interfejsu BSG.

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: scsi: qla2xxx: Bound image count in qla2x00_update_fru_versions() qla2x00_update_fru_versions() copies the user-supplied BSG request into a fixed 256-byte stack buffer (bsg[DMA_POOL_SIZE]) and then iterates list->count times over the qla_image_version array embedded in that buffer, advancing the image pointer each iteration. count is taken directly from user input with no upper bound, while only (DMA_POOL_SIZE - sizeof(list->count)) / sizeof(struct qla_image_version) = 6 entries actually fit. A larger count walks the image pointer off the end of the stack buffer, reading adjacent kernel stack memory and sending it to the device via qla2x00_write_sfp(). Reject requests whose declared count does not fit in the buffer.

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