CVE-2026-74451: drm/panthor: validate firmware interface structure sizes

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081530-CVE-2026-74451-b6af@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

drm/panthor: validate firmware interface structure sizes

iface_fw_to_cpu_addr() only checks that the firmware-provided MCU virtual
address points inside the shared section. The returned pointer is later
used as a full firmware interface structure, so accepting an address near
the end of the shared section can still lead to out-of-bounds accesses.

Pass the expected object size to iface_fw_to_cpu_addr() and reject ranges
that do not fit entirely in the shared section.

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


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

	Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 6.12.103 with commit 21c77486f5a60bb9c0433c21de62a5f25d5091f1
	Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 6.18.44 with commit c835f2b0b7167584832b516c9b0a26e9180d1d0b
	Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 7.1.8 with commit ca41d9f3a21586bf29df53eec05152ecf2b2f94f
	Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 7.2-rc6 with commit b921b8613790a3f9e78ab64017fa7149ef0b750c

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-74451
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/panthor/panthor_fw.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/21c77486f5a60bb9c0433c21de62a5f25d5091f1
	https://git.kernel.org/stable/c/c835f2b0b7167584832b516c9b0a26e9180d1d0b
	https://git.kernel.org/stable/c/ca41d9f3a21586bf29df53eec05152ecf2b2f94f
	https://git.kernel.org/stable/c/b921b8613790a3f9e78ab64017fa7149ef0b750c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.