Description
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.
Product status
62210f7509e13a2caa7b080722a45229b8f17a0a (git) before ee150acd273aded01a726ce39b1f6128200799e6
62210f7509e13a2caa7b080722a45229b8f17a0a (git) before 142964960c7c35de5c5f7bdd61c32699de693630
6.9
Any version before 6.9
6.17.3 (semver)
6.18 (original_commit_for_fix)
References
git.kernel.org/...c/ee150acd273aded01a726ce39b1f6128200799e6
git.kernel.org/...c/142964960c7c35de5c5f7bdd61c32699de693630