CVE-2024-36965
"Mediatek Remoteproc Out-of-Bounds Write Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: remoteproc: mediatek: Make sure IPI buffer fits in L2TCM The IPI buffer location is read from the firmware that we load to the System Companion Processor, and it's not granted that both the SRAM (L2TCM) size that is defined in the devicetree node is large enough for that, and while this is especially true for multi-core SCP, it's still useful to check on single-core variants as well. Failing to perform this check may make this driver perform R/W operations out of the L2TCM boundary, resulting (at best) in a kernel panic. To fix that, check that the IPI buffer fits, otherwise return a failure and refuse to boot the relevant SCP core (or the SCP at all, if this is single core).
INFO
Published Date :
June 8, 2024, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 9:22 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-36965
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-36965
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-36965
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf Added Reference https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2 Added Reference https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e Added Reference https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42 Added Reference https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9 Added Reference https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf -
Initial Analysis by [email protected]
Jul. 17, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf No Types Assigned https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf Patch Changed Reference Type https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2 No Types Assigned https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2 Patch Changed Reference Type https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e No Types Assigned https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e Patch Changed Reference Type https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42 No Types Assigned https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42 Patch Changed Reference Type https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9 No Types Assigned https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9 Patch Changed Reference Type https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf No Types Assigned https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (including) 5.15.160 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (including) 6.1.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (including) 6.6.32 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (including) 6.8.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (including) 6.9.2 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 08, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: remoteproc: mediatek: Make sure IPI buffer fits in L2TCM The IPI buffer location is read from the firmware that we load to the System Companion Processor, and it's not granted that both the SRAM (L2TCM) size that is defined in the devicetree node is large enough for that, and while this is especially true for multi-core SCP, it's still useful to check on single-core variants as well. Failing to perform this check may make this driver perform R/W operations out of the L2TCM boundary, resulting (at best) in a kernel panic. To fix that, check that the IPI buffer fits, otherwise return a failure and refuse to boot the relevant SCP core (or the SCP at all, if this is single core). Added Reference kernel.org https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-36965
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-36965
weaknesses.