From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FD9E37187E for ; Sat, 15 Aug 2026 12:27:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786796873; cv=none; b=csEF/8CD2JqPZcaND5nSsMYygAF04NmjrR0pI9FpJ00uNr11veevoOT7eegq6V83kcSN6pZRIFPAGpGlXrtQKa5Skw0mDJ3NrwFITHC+O3iIJm8VceBuhZ/ZfXZBFHUxgeUZWA1AK08k1FFH4SCv72Jk0OjZoyIrUhc75e6iq+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786796873; c=relaxed/simple; bh=9QxQoMH/5HBuI27NOFWq4BA807o4iicvi3p5+QlDLY4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BG6XHc+AXYUb+RfQDA3HE6nm+xidgRCtKwAo/SFeVjNcMxvHbHkob2NwhdJbG/fRPaz4V5xkOKtOwwnMQT/DcMrrvouCMfJ7bJ924mU4BZ9YOzx5SZYrphW7gsMD9zft5sw+U5zuWDHvh0tA/RtOf5qoxouTVVUqa002sAPnn2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xdjSgfjL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xdjSgfjL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E2D71F000E9; Sat, 15 Aug 2026 12:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786796871; bh=KcJUgMtEFP5mnv9VWMwHS3PJ70zLH0Udf9VN+n6iY34=; h=From:To:Cc:Subject:Date:Reply-To; b=xdjSgfjLDolzMt/YUB5G7vS1HTrjFhKk2TnJG7HHjUyLRQLiGZSBLQX/83uJ8HxQY tLpLLF/E/ZDOx7WL/ChN+2KFgEjX/mhGL8Rf7RP1VTbSBuC+PcPym0VpI3rnX4bLFN 8Z34d2QECOiNoJjS+200vq7NTeex0/6GkwM1nFM0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74452: drm/panthor: reject firmware sections with oversized data Date: Sat, 15 Aug 2026 21:25:33 +0900 Message-ID: <2026081531-CVE-2026-74452-445f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BRNQPXDoUNbdtC97OiEUtvbEocuwHpvlDDAOoYB2viA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNUbuzzr644HP41ne9U/zxqUrLPE3SnsQfrG1K/2W/v e95ZfaLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI5iKGOXynlh07fTRVwN3c Svj85K/h/esd7BkW7J55KHu+SPWTSw7yn5g/TFloqG3cBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/panthor: reject firmware sections with oversized data In panthor_fw_load_section_entry(), the data size to copy is calculated without validating it against the allocated section_size: section->data.size = hdr.data.end - hdr.data.start; If a crafted firmware sets data.size larger than the allocated memory, this could cause a heap buffer overflow in panthor_fw_init_section_mem() memcpy(section->mem->kmap, section->data.buf, section->data.size); Additionally, if the section->data.size exceeds the BO size, could this memset underflow the size calculation, leading to a massive out-of-bounds zeroing of kernel memory? memset(section->mem->kmap + section->data.size, 0, panthor_kernel_bo_size(section->mem) - section->data.size); Reject section entries whose initial data is larger than the section size. The Linux kernel CVE team has assigned CVE-2026-74452 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 6.12.103 with commit 0e57165ca025a67d8dfd17efd2765fdd4925fdab Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 6.18.44 with commit 2a761b9be5863e1d26a584f0c2d1e114a684ed9a Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 7.1.8 with commit 7f4674d986c15c74327cb6ac6e2e2afecf061e04 Issue introduced in 6.10 with commit 2718d91816eeed03c09c8abe872e45f59078768c and fixed in 7.2-rc6 with commit a3caaa06809248b996254be5b47e10804a3494e2 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-74452 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/0e57165ca025a67d8dfd17efd2765fdd4925fdab https://git.kernel.org/stable/c/2a761b9be5863e1d26a584f0c2d1e114a684ed9a https://git.kernel.org/stable/c/7f4674d986c15c74327cb6ac6e2e2afecf061e04 https://git.kernel.org/stable/c/a3caaa06809248b996254be5b47e10804a3494e2