CVE-2026-72301
WysokieCVSS 7.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 6 - wyżej niż 6% wszystkich znanych CVE
Streszczenie
W jądrze Linux w funkcjach sof_ipc3_bytes_put() i sof_ipc3_bytes_get() występują podatności TOCTOU i błędne sprawdzanie granic. W bytes_put rozmiar kopiowania jest pobierany ze starego bufora, a w bytes_get nie uwzględnia się przesunięcia flex array.
Ocena ryzyka
Podatności mogą prowadzić do ucięcia danych, kopiowania nieaktualnych bajtów lub odczytu poza zakresem, co może skutkować awarią systemu lub eskalacją uprawnień.
Rekomendacja
Zainstaluj poprawkę jądra, która waliduje i używa rozmiaru z nowych danych w bytes_put oraz odejmuje sizeof(*cdata) w bytes_get.
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get In sof_ipc3_bytes_put(), the size used for the memcpy is derived from the old data->size already in the buffer, not the incoming new data's size field. If the new data has a different size, the copy length is wrong: it may truncate valid data or copy stale bytes. Similarly, sof_ipc3_bytes_get() checks data->size against max_size without accounting for the sizeof(struct sof_ipc_ctrl_data) offset of the flex array within the allocation. Fix bytes_put to validate and use the incoming data's sof_abi_hdr.size from ucontrol before copying. Fix bytes_get to subtract sizeof(*cdata) from the bounds check to match the actual available space.

