Katalog CVE

CVE-2026-92480

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux sterownik scsi: ufs: core nieprawidłowo walidował deskryptory łańcuchowe. Przekazywał liczbę bajtów zamiast liczby jednostek UTF-16 do utf16s_to_utf8s(), co mogło powodować odczyt poza buforem deskryptora, a kopiowanie bLength bajtów mogło wykraczać poza bufor odpowiedzi.

Ocena ryzyka

Może prowadzić do odczytu poza buforem, ujawnienia danych lub usterki jądra przy przetwarzaniu deskryptorów łańcuchowych UFS.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę walidującą parzystą długość ładunku i kopiującą tylko ładunek UTF-16.

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: ufs: core: Validate string descriptors The string descriptor length includes a two-byte header while the UTF-16 payload starts after it. utf16s_to_utf8s() expects a count of UTF-16 code units, not bytes. Passing the payload byte count can make it read beyond the descriptor buffer. Validate that the payload has an even byte count, pass a code-unit count to the converter, and allocate sufficient UTF-8 output space. The raw string buffer starts after the descriptor header but its size is bLength. Copying bLength bytes from that pointer can read beyond the response buffer. Allocate a zeroed bLength-sized buffer and copy only the UTF-16 payload. This preserves the raw buffer size consumed by the RPMB device-ID ABI while avoiding the overread.

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