Katalog CVE

CVE-2026-89843

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku scsi: qla2xxx kilka procedur obsługi bsg używało niezainicjalizowanego bufora stosu o rozmiarze 256 bajtów, a następnie kopiowało całą strukturę do odpowiedzi, ujawniając dane ze stosu. Dotyczyło to m.in. qla2x00_read_fru_status() i qla2x00_read_i2c().

Ocena ryzyka

Może prowadzić do wycieku danych z pamięci stosu jądra do przestrzeni użytkownika (information disclosure).

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę zerującą bufor stosu przy deklaracji we wszystkich pięciu procedurach obsługi 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: Zero-init bsg stack buffers to avoid info leak Several bsg handlers stage their request/reply in an uninitialized 256-byte on-stack buffer (uint8_t bsg[DMA_POOL_SIZE]) and fill it via sg_copy_to_buffer(), which only copies as many bytes as the user-supplied request payload. When the request is shorter than the structure, the remainder of the buffer is left holding stale stack data. qla2x00_read_fru_status() and qla2x00_read_i2c() then copy the full structure back to the reply payload with sg_copy_from_buffer(), leaking the uninitialized stack bytes to user space. The write/update paths do not copy the buffer back, but can feed uninitialized fields to the device. Zero the stack buffer at declaration in all five handlers, mirroring the heap kzalloc() approach, so short requests can no longer expose stale memory.

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