CVE-2026-64215: drm/msm/a6xx: Check kzalloc return in a8xx_hfi_send_perf_table
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/a6xx: Check kzalloc return in a8xxhfisendperftable
Check the return value of kzalloc() to prevent a NULL pointer dereference on allocation failure.
Patchwork: https://patchwork.freedesktop.org/patch/721342/
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
In drm/msm/a6xx, in function a8xx_hfi_send_perf_table, add a NULL check for the kzalloc() return value and avoid dereferencing when kzalloc() fails. This corresponds to the resolved issue 'dereference on allocation failure' (Patchwork: patch/721342).
Linux kernel kzalloc() NULL-check for allocation failure = Check the return value of kzalloc() before dereferencing the allocated pointer (e.g., in drm/msm/a6xx a8xx_hfi_send_perf_table)