{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-64520",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-07-19T15:36:31.794Z",
        "datePublished": "2026-07-25T09:14:46.005Z",
        "dateUpdated": "2026-08-05T12:42:34.515Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:42:34.515Z"
            },
            "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)"
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/firmware/arm_ffa/driver.c"
                    ],
                    "versions": [
                        {
                            "version": "ba85c644ac8dc37d9b01a3332c2f142cb4d46954",
                            "lessThan": "f39bc7ebe75e2186b417a024a7f7e2fd4cc7eb95",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ba85c644ac8dc37d9b01a3332c2f142cb4d46954",
                            "lessThan": "79d95c02ae0a95e6e80e8e92b7ca74ecee02854f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ba85c644ac8dc37d9b01a3332c2f142cb4d46954",
                            "lessThan": "3974ea1938406f9bfa7c1f48d4e43533f447bb08",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/firmware/arm_ffa/driver.c"
                    ],
                    "versions": [
                        {
                            "version": "6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.34",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.11",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "firmware: arm_ffa: Bound PARTITION_INFO_GET_REGS copies",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}