# CVE-2024-36965: remoteproc: mediatek: Make sure IPI buffer fits in L2TCM

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **Published:** 2024-06-08T12:52:58.404Z
- **Modified:** 2026-08-05T11:32:20.070Z

## Who should check

- Anyone running Linux \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 00548ac6b14428719c970ef90adae2b3b48c0cdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 1d9e2de24533daca36cbf09e8d8596bf72b526b2; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 838b49e211d59fa827ff9df062d4020917cffbdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 36c79eb4845551e9f6d28c663b38ce0ab03b84a9; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 331f91d86f71d0bb89a44217cc0b2a22810bbd42
- Anyone running Linux 5.11

## 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).

## Affected and fixed versions

- Linux: \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 00548ac6b14428719c970ef90adae2b3b48c0cdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 1d9e2de24533daca36cbf09e8d8596bf72b526b2; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 838b49e211d59fa827ff9df062d4020917cffbdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 36c79eb4845551e9f6d28c663b38ce0ab03b84a9; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 331f91d86f71d0bb89a44217cc0b2a22810bbd42 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- Upgrade Linux to 331f91d86f71d0bb89a44217cc0b2a22810bbd42 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36965. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36965.md
Affected: Linux >= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, < 00548ac6b14428719c970ef90adae2b3b48c0cdf; >= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, < 1d9e2de24533daca36cbf09e8d8596bf72b526b2; >= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, < 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e; >= 3efa0ea743b77d1611501f7…
Fixed in: Linux 00548ac6b14428719c970ef90adae2b3b48c0cdf, Linux 1d9e2de24533daca36cbf09e8d8596bf72b526b2, Linux 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e, Linux 838b49e211d59fa827ff9df062d4020917cffbdf, Linux 36c79eb4845551e9f6d28c663b38ce0ab03b84a9, Linux 331f91d86f71d0bb89a44217cc0b2a22810bbd42

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36965 being exploited?

There is no confirmed exploitation: CVE-2024-36965 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36965?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36965?

Linux \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 00548ac6b14428719c970ef90adae2b3b48c0cdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 1d9e2de24533daca36cbf09e8d8596bf72b526b2; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 838b49e211d59fa827ff9df062d4020917cffbdf; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 36c79eb4845551e9f6d28c663b38ce0ab03b84a9; \>= 3efa0ea743b77d1611501f7d8b4f320d032d73ae, \< 331f91d86f71d0bb89a44217cc0b2a22810bbd42; Linux 5.11.

### Is there a fix for CVE-2024-36965?

Yes. Fixed in Linux 00548ac6b14428719c970ef90adae2b3b48c0cdf, Linux 1d9e2de24533daca36cbf09e8d8596bf72b526b2, Linux 26c6d7dc8c6a9fde9d362ab2eef6390efeff145e, Linux 838b49e211d59fa827ff9df062d4020917cffbdf, Linux 36c79eb4845551e9f6d28c663b38ce0ab03b84a9, Linux 331f91d86f71d0bb89a44217cc0b2a22810bbd42. Upgrade Linux to 331f91d86f71d0bb89a44217cc0b2a22810bbd42 or later.

### How do I check if I'm affected by CVE-2024-36965?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/00548ac6b14428719c970ef90adae2b3b48c0cdf>
- patch: <https://git.kernel.org/stable/c/1d9e2de24533daca36cbf09e8d8596bf72b526b2>
- patch: <https://git.kernel.org/stable/c/26c6d7dc8c6a9fde9d362ab2eef6390efeff145e>
- patch: <https://git.kernel.org/stable/c/838b49e211d59fa827ff9df062d4020917cffbdf>
- patch: <https://git.kernel.org/stable/c/36c79eb4845551e9f6d28c663b38ce0ab03b84a9>
- patch: <https://git.kernel.org/stable/c/331f91d86f71d0bb89a44217cc0b2a22810bbd42>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36965>

HTML: <https://flawdb.com/CVE-2024-36965> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36965>
