CVE-2024-35829

drm/lima: fix a memleak in lima_heap_alloc

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:41 PM UTC
Updated: June 17, 2026 at 07:35 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/lima: fix a memleak in lima_heap_alloc When lima_vm_map_bo fails, the resources need to be deallocated, or there will be memleaks.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1535.16 ≤ v < 6.1.835.7 ≤ v < 5.10.2145.7 ≤ v < 5.15.1535.7 ≤ v < 6.1.835.7 ≤ v < 6.6.235.7 ≤ v < 6.7.115.7 ≤ v < 6.8.25.7 ≤ v < 6.96.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.25.76aebc51d7aeff5a30d86485f320f0c871b5f23a4
Vendor states this is fixed in 04ae3eb470e52a3c41babe85ff8cee195e4dcbea (fixed)
Vendor states this is fixed in 4ab14eccf5578af1dd5668a5f2d771df27683cab (fixed)
Vendor states this is fixed in 746606d37d662c70ae1379fc658ee9c65f06880f (fixed)
Vendor states this is fixed in 8e25c0ee5665e8a768b8e21445db1f86e9156eb7 (fixed)
Vendor states this is fixed in ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd (fixed)
Vendor states this is fixed in f2e80ac9344aebbff576453d5c0290b332e187ed (fixed)
Vendor states this is fixed in f6d51a91b41704704e395de6839c667b0f810bbf (fixed)
Vendor states this is fixed in 5.10.214 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04ae3eb470e52a3c41babe85ff8cee195e4dcbea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ab14eccf5578af1dd5668a5f2d771df27683cab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/746606d37d662c70ae1379fc658ee9c65f06880f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8e25c0ee5665e8a768b8e21445db1f86e9156eb7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec6bb037e4a35fcbb5cd7bc78242d034ed893fcd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2e80ac9344aebbff576453d5c0290b332e187ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f6d51a91b41704704e395de6839c667b0f810bbf
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card