{"id":"CVE-2026-64520","state":"PUBLISHED","title":"firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies\n\nThe register-based PARTITION_INFO_GET path trusted the firmware-provided\nindices when copying partition descriptors into the caller buffer.\nReject inconsistent counts or index progressions so the copy loop cannot\nwrite past the allocated array.\n\n(fixed cur_idx when exactly one descriptor in the first fragment)","publishedAt":"2026-07-25T09:14:46.005Z","updatedAt":"2026-08-05T12:42:34.515Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95","versionType":"git"},{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"79d95c02ae0a95e6e80e8e92b7ca74ecee02854f","versionType":"git"},{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"3974ea1938406f9bfa7c1f48d4e43533f447bb08","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]}],"references":["https://git.kernel.org/stable/c/f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95","https://git.kernel.org/stable/c/79d95c02ae0a95e6e80e8e92b7ca74ecee02854f","https://git.kernel.org/stable/c/3974ea1938406f9bfa7c1f48d4e43533f447bb08"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64520.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64520","state":"PUBLISHED","datePublished":"2026-07-25T09:14:46.005Z","dateUpdated":"2026-08-05T12:42:34.515Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.794Z"},"containers":{"cna":{"title":"firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies\n\nThe register-based PARTITION_INFO_GET path trusted the firmware-provided\nindices when copying partition descriptors into the caller buffer.\nReject inconsistent counts or index progressions so the copy loop cannot\nwrite past the allocated array.\n\n(fixed cur_idx when exactly one descriptor in the first fragment)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95","versionType":"git"},{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"79d95c02ae0a95e6e80e8e92b7ca74ecee02854f","versionType":"git"},{"version":"ba85c644ac8dc37d9b01a3332c2f142cb4d46954","status":"affected","lessThan":"3974ea1938406f9bfa7c1f48d4e43533f447bb08","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/arm_ffa/driver.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95"},{"url":"https://git.kernel.org/stable/c/79d95c02ae0a95e6e80e8e92b7ca74ecee02854f"},{"url":"https://git.kernel.org/stable/c/3974ea1938406f9bfa7c1f48d4e43533f447bb08"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation occurs through local SMC/HVC responses from the co-resident FF-A partition manager or hypervisor; no network, physical-device, or userspace path reaches the vulnerable parser.\nAC:L - The responder controls both discovery responses and every fragment, allowing deterministic count mismatches, invalid indices, and non-progressing sequences without a race or condition outside its control.\nPR:N - The malformed response is accepted automatically during kernel initialization without authentication or Linux credentials; the triggering firmware or hypervisor requires no privileges within the affected Linux instance.\nUI:N - Partition discovery executes automatically during FF-A initialization, so exploitation requires no victim action.\nS:U - The vulnerable driver and the corrupted heap, stack, and control-flow resources are all within the same Linux kernel security authority.\nC:H - Oversized fragments read beyond the register-result stack object, while exploitable heap corruption can provide kernel-memory disclosure primitives.\nI:H - The responder can repeatedly supply fully controlled 24-byte descriptors beyond the allocated array, enabling extensive heap corruption and potential control-flow hijacking.\nA:H - Large or non-progressing indices can cause massive out-of-bounds writes, infinite processing, kernel faults, or panic."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:42:34.515Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}