CVE-2024-56697

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Dec 28, 2024
Updated: Jan 8, 2025
CWE ID 476

Summary

CVE-2024-56697: A vulnerability in the Linux kernel's drm/amdgpu driver has been addressed. Two memory allocation issues in the function amdgpu_discovery_get_nps_info() have been rectified. Firstly, a null pointer dereference risk was mitigated by adding a check for allocation failure. Secondly, the use of kvcalloc() for memory allocation was suggested to prevent integer overflow. Furthermore, the output parameters nps_type and range_cnt were assigned post-allocation to prevent modification in case of an error.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share