Katalog CVE

CVE-2022-49518

WysokieCVSS 7.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.24%

Percentyl 16 - wyżej niż 16% wszystkich znanych CVE

Streszczenie

W jądrze Linux w podsystemie ASoC SOF dla topologii IPC3 występuje podatność na dostęp poza zakresem w funkcji sof_get_control_data(). Funkcja ta zakłada, że dane są typu bytes, ale może być wywołana dla innych typów, co prowadzi do błędnego odczytu pamięci.

Ocena ryzyka

Może to prowadzić do ujawnienia informacji lub awarii systemu, jeśli złośliwa topologia zostanie załadowana.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą poprawkę, która poprawnie obsługuje kontrolery nie-bajtowe.

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: ASoC: SOF: ipc3-topology: Correct get_control_data for non bytes payload It is possible to craft a topology where sof_get_control_data() would do out of bounds access because it expects that it is only called when the payload is bytes type. Confusingly it also handles other types of controls, but the payload parsing implementation is only valid for bytes. Fix the code to count the non bytes controls and instead of storing a pointer to sof_abi_hdr in sof_widget_data (which is only valid for bytes), store the pointer to the data itself and add a new member to save the size of the data. In case of non bytes controls we store the pointer to the chanv itself, which is just an array of values at the end. In case of bytes control, drop the wrong cdata->data (wdata[i].pdata) check against NULL since it is incorrect and invalid in this context. The data is pointing to the end of cdata struct, so it should never be null.

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