CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-31612

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

W jądrze systemu Linux zidentyfikowano podatność w funkcji smb2_get_ea(), która nie weryfikuje długości nazwy przed przekazaniem jej do funkcji strncmp(). Brak tej weryfikacji może prowadzić do wycieku niezainicjowanych wartości z pamięci sterty do klienta.

Risk Assessment

Organizacja może być narażona na wyciek danych, co może prowadzić do ujawnienia wrażliwych informacji. Potencjalne wykorzystanie tej podatności może wpłynąć na integralność i poufność danych przetwarzanych przez system.

Recommendation

Zaleca się aktualizację jądra systemu Linux do najnowszej wersji, która zawiera poprawki dla tej podatności. Należy również przeprowadzić audyt aplikacji korzystających z SMB, aby upewnić się, że nie są narażone na podobne problemy.

Related vulnerabilities

Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea() smb2_get_ea() reads ea_req->EaNameLength from the client request and passes it directly to strncmp() as the comparison length without verifying that the length of the name really is the size of the input buffer received. Fix this up by properly checking the size of the name based on the value received and the overall size of the request, to prevent a later strncmp() call to use the length as a "trusted" size of the buffer. Without this check, uninitialized heap values might be slowly leaked to the client.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS