В ядре Linux устранена следующая уязвимость:
ASoC: Intel: sof_sdw: запретить переход к NULL обратному вызову add_sidecar
В create_sdw_dailink() проверьте, что sof_end->codec_info->add_sidecar
не является NULL перед его вызовом.
В исходном коде предполагалось, что если include_sidecar имеет значение true, кодек
по этой ссылке есть обратный вызов add_sidecar. Но могут быть и другие
кодеки по той же ссылке, у которых нет обратного вызова add_sidecar.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback In create_sdw_dailink() check that sof_end->codec_info->add_sidecar is not NULL before calling it. The original code assumed that if include_sidecar is true, the codec on that link has an add_sidecar callback. But there could be other codecs on the same link that do not have an add_sidecar callback.