CVE-2024-35829

drm/lima: fix a memleak in lima_heap_alloc

State
Published
Severity
5.5 Medium
Published
May 17, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before f2e80ac9344aebbff576453d5c0290b332e187edAffected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 746606d37d662c70ae1379fc658ee9c65f06880fAffected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before f6d51a91b41704704e395de6839c667b0f810bbfAffected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 8e25c0ee5665e8a768b8e21445db1f86e9156eb7Affected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 4ab14eccf5578af1dd5668a5f2d771df27683cabAffected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before ec6bb037e4a35fcbb5cd7bc78242d034ed893fcdAffected
  • 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 to before 04ae3eb470e52a3c41babe85ff8cee195e4dcbeaAffected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.