Memory leak in Linux kernel - CVE-2024-56542

 

Memory leak in Linux kernel - CVE-2024-56542

Published: December 30, 2024 / Updated: May 12, 2025


Vulnerability identifier: #VU102001
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-56542
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to memory leak within the dm_helpers_free_gpu_mem() function in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c, within the dm_allocate_gpu_mem(), dm_dmub_get_vbios_bounding_box() and dm_sw_fini() functions in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Ubuntu
linux-image-6.11.0-1015-oem (Ubuntu package)
linux-image-oem-24.04b (Ubuntu package)

How to mitigate CVE-2024-56542

Install update from vendor's website.

Linux kernel - update to 6.11.11
linux-image-6.11.0-1015-oem (Ubuntu package) - update to 6.11.0-1015.15
linux-image-oem-24.04b (Ubuntu package) - update to 6.11.0-1015.15

External References

Related Security Bulletins