[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025111251-CVE-2025-40113-ad3d@gregkh>
Date: Wed, 12 Nov 2025 19:23:50 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40113: remoteproc: qcom: pas: Shutdown lite ADSP DTB on X1E
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-40113 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 62210f7509e13a2caa7b080722a45229b8f17a0a and fixed in 6.17.3 with commit ee150acd273aded01a726ce39b1f6128200799e6
Issue introduced in 6.9 with commit 62210f7509e13a2caa7b080722a45229b8f17a0a and fixed in 6.18-rc1 with commit 142964960c7c35de5c5f7bdd61c32699de693630
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-40113
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/remoteproc/qcom_q6v5_pas.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/ee150acd273aded01a726ce39b1f6128200799e6
https://git.kernel.org/stable/c/142964960c7c35de5c5f7bdd61c32699de693630
Powered by blists - more mailing lists