CVE-2024-36965
remoteproc: mediatek: Make sure IPI buffer fits in L2TCM
Check your servers for CVE-2024-36965
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-36965 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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).
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 00548ac6b14428719c970ef90adae2b3b48c0cdf affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 1d9e2de24533daca36cbf09e8d8596bf72b526b2 affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 838b49e211d59fa827ff9df062d4020917cffbdf affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 36c79eb4845551e9f6d28c663b38ce0ab03b84a9 affected from 3efa0ea743b77d1611501f7d8b4f320d032d73ae, before 331f91d86f71d0bb89a44217cc0b2a22810bbd42
Other versions: unaffected
|
| Linux |
affected 5.11 unaffected before 5.11 unaffected from 5.15.160 up to and including 5.15.* unaffected from 6.1.92 up to and including 6.1.* unaffected from 6.6.32 up to and including 6.6.* unaffected from 6.8.11 up to and including 6.8.* unaffected from 6.9.2 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-36965 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-36965
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-36965
trivy image --scanners vuln IMAGE | grep CVE-2024-36965
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf git.kernel.org
- https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2 git.kernel.org
- https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e git.kernel.org
- https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf git.kernel.org
- https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9 git.kernel.org
- https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42 git.kernel.org
Source: the record CVE-2024-36965 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse