В ядре Linux устранена следующая уязвимость:
Remoteproc: qcom: pas: Выключение облегченного ADSP DTB на X1E
Прошивка ADSP на X1E имеет отдельные двоичные файлы прошивки для основного
прошивка и DTB. То же самое относится и к «облегченной» прошивке, загруженной
загрузочная прошивка. При подготовке к загрузке новой прошивки ADSP мы отключаем lite_pas_id.
для основной прошивки, но соответствующий lite pas_id не отключаем
для ДТБ.
Тот факт, что мы оставляем его «работающим» навсегда, становится
очевидно, если вы попытаетесь повторно использовать (или просто получить доступ) к области памяти, используемой
«облегченная» прошивка: &adsp_boot_mem доступен, но доступ к
&adsp_boot_dtb_mem приводит к сбою. В настоящее время мы не поддерживаем повторное использование областей памяти, но, тем не менее, мы
не должен поддерживать работу части облегченной прошивки. Исправьте это, добавив
lite_dtb_pas_id и также выключим его.
У нас пока нет способа определить, действительно ли работает облегченная прошивка.
поэтому пока игнорируйте статус возврата qcom_scm_pas_shutdown(). Это было
как уже было раньше, присвоение «ret» нигде не используется.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: remoteproc: qcom: pas: Shutdown lite ADSP DTB on X1E The ADSP firmware on X1E has separate firmware binaries for the main firmware and the DTB. The same applies for the "lite" firmware loaded by the boot firmware. When preparing to load the new ADSP firmware we shutdown the lite_pas_id for the main firmware, but we don't shutdown the corresponding lite pas_id for the DTB. The fact that we're leaving it "running" forever becomes obvious if you try to reuse (or just access) the memory region used by the "lite" firmware: The &adsp_boot_mem is accessible, but accessing the &adsp_boot_dtb_mem results in a crash. We don't support reusing the memory regions currently, but nevertheless we should not keep part of the lite firmware running. Fix this by adding the lite_dtb_pas_id and shutting it down as well. We don't have a way to detect if the lite firmware is actually running yet, so ignore the return status of qcom_scm_pas_shutdown() for now. This was already the case before, the assignment to "ret" is not used anywhere.