CVE-2026-64215: drm/msm/a6xx: Check kzalloc return in a8xx_hfi_send_perf_table

Greg Kroah-Hartman <[email protected]> Fri, 24 Jul 2026 17:23:18 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072415-CVE-2026-64215-c9f9@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/a6xx: Check kzalloc return in a8xx_hfi_send_perf_table

Check the return value of kzalloc() to prevent a NULL pointer
dereference on allocation failure.

Patchwork: https://patchwork.freedesktop.org/patch/721342/

The Linux kernel CVE team has assigned CVE-2026-64215 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.19 with commit 06cfbca0e1c6e26855564fd48bb3babb9c66f446 and fixed in 7.0.11 with commit 17c993bf44a54afd1fde184ba7f9c287dfc2632e
	Issue introduced in 6.19 with commit 06cfbca0e1c6e26855564fd48bb3babb9c66f446 and fixed in 7.1 with commit b5c7a7f452b885bfbe102bd3a057a5f496802f8b

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64215
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/gpu/drm/msm/adreno/a6xx_hfi.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/17c993bf44a54afd1fde184ba7f9c287dfc2632e
	https://git.kernel.org/stable/c/b5c7a7f452b885bfbe102bd3a057a5f496802f8b