# drm/lima: fix a memleak in lima_heap_alloc

CVE record · `CVE-2024-35829`

- **Identifiers:** `CVE-2024-35829`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-401](https://cwe.mitre.org/data/definitions/401.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 May 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 May 2024, 13:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before f2e80ac9344aebbff576453d5c0290b332e187ed` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 746606d37d662c70ae1379fc658ee9c65f06880f` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before f6d51a91b41704704e395de6839c667b0f810bbf` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 8e25c0ee5665e8a768b8e21445db1f86e9156eb7` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 4ab14eccf5578af1dd5668a5f2d771df27683cab` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd` (git)
  - affected: `6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 04ae3eb470e52a3c41babe85ff8cee195e4dcbea` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.7`
  - unaffected: `before 5.7` (semver)
  - unaffected: `5.10.214 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.153 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.83 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.23 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7.11 to 6.7.*, inclusive` (semver)
  - unaffected: `6.8.2 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 11th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-35829](https://www.cve.org/CVERecord?id=CVE-2024-35829)
- [NVD: CVE-2024-35829](https://nvd.nist.gov/vuln/detail/CVE-2024-35829)

### References from the CNA

- <https://git.kernel.org/stable/c/f2e80ac9344aebbff576453d5c0290b332e187ed>
- <https://git.kernel.org/stable/c/746606d37d662c70ae1379fc658ee9c65f06880f>
- <https://git.kernel.org/stable/c/f6d51a91b41704704e395de6839c667b0f810bbf>
- <https://git.kernel.org/stable/c/8e25c0ee5665e8a768b8e21445db1f86e9156eb7>
- <https://git.kernel.org/stable/c/4ab14eccf5578af1dd5668a5f2d771df27683cab>
- <https://git.kernel.org/stable/c/ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd>
- <https://git.kernel.org/stable/c/04ae3eb470e52a3c41babe85ff8cee195e4dcbea>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-35829>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-35829/>. Everything for agents: <https://agentprime.io/llms.txt>.
