CVE-2026-64520: firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies
Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 11:13:41 +0200
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026072538-CVE-2026-64520-82ff@gregkh> |
From: Greg Kroah-Hartman <[email protected]> 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