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 2EACD3988E3 for ; Sat, 25 Jul 2026 09:19:42 +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=1784971184; cv=none; b=SyqbGdwuDV/BBf3zqD57V8O6h2oEuAoPgPkQePw/s45cbTBI/SSPGcNJAW7p3QMbOTLzD+xGjL457k+KFyshUy9M8dX24AvMDogy/VUKCwXt4fxFHO1o3IzfWX/kXzpAwlPWJqDTOzGq2BmbwcG0S9CPtRZnc5ndzlkrPjvshls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784971184; c=relaxed/simple; bh=vgV+4GXvx6DckJiIqJLVa3o55DYmTpIevs6sDHYecqk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VExON4Sa+j4aba77tx/bWVCxmCL25BfByUpGf7MnwFoHe3qBkybZOuhy2oppx1r7ZUVKF80ryILW1cQ4+oK0E9TZ93/EM8ikNMoFwM5M4l5mrZHfEJPdYy1JEngh6OcbEvGVw2WWOnie1hjohnbumN2ODPthMt0RqfVMS/J+AB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uNlGhsEm; 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="uNlGhsEm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 563DC1F000E9; Sat, 25 Jul 2026 09:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784971182; bh=m/APxMg2Q1XUtgHHd116H0eHlWeS/sMZySofUiiysh0=; h=From:To:Cc:Subject:Date:Reply-To; b=uNlGhsEmc4/JUTEmGgMfBEKeIYL0oGEbxOK8EZpEmk1gymhdRWiAWjnUBQf58qZFq UZ1ZU7QF9V9yK90VrBPB1pOVEU3YFPcM4nzVC1uUAcHy1Tdl95Jt9q9By/U+YxVojT UEp3WwwAl+yZv81AGP5eQuvHbJYzj+vb9Bo4LzGM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64520: firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies Date: Sat, 25 Jul 2026 11:13:41 +0200 Message-ID: <2026072538-CVE-2026-64520-82ff@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=2316; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KZ+GwF5HtFN3/Q13E+5R9QkreFJeT9cxFiX9GdANF/Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpdU6uUp/CV99tFKqLiXu0Y1bJcWub10L7v+YZrvBs4 n/pZzqjI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayj51hrtyzzae/X5n+0FFj 1t29d+N8vWdcOsMwzziaO9N4WWNhwP3jzqbvjdIW7E5WBQA= 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: firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies The register-based PARTITION_INFO_GET path trusted the firmware-provided indices when copying partition descriptors into the caller buffer. Reject inconsistent counts or index progressions so the copy loop cannot write past the allocated array. (fixed cur_idx when exactly one descriptor in the first fragment) The Linux kernel CVE team has assigned CVE-2026-64520 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit ba85c644ac8dc37d9b01a3332c2f142cb4d46954 and fixed in 6.18.34 with commit f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95 Issue introduced in 6.12 with commit ba85c644ac8dc37d9b01a3332c2f142cb4d46954 and fixed in 7.0.11 with commit 79d95c02ae0a95e6e80e8e92b7ca74ecee02854f Issue introduced in 6.12 with commit ba85c644ac8dc37d9b01a3332c2f142cb4d46954 and fixed in 7.1 with commit 3974ea1938406f9bfa7c1f48d4e43533f447bb08 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-64520 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/firmware/arm_ffa/driver.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/f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95 https://git.kernel.org/stable/c/79d95c02ae0a95e6e80e8e92b7ca74ecee02854f https://git.kernel.org/stable/c/3974ea1938406f9bfa7c1f48d4e43533f447bb08