CVE-2025-40266

Source
https://cve.org/CVERecord?id=CVE-2025-40266
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40266.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40266
Downstream
Related
Published
2025-12-04T16:08:25.392Z
Modified
2026-03-20T12:43:14.541099Z
Summary
KVM: arm64: Check the untrusted offset in FF-A memory share
Details

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Check the untrusted offset in FF-A memory share

Verify the offset to prevent OOB access in the hypervisor FF-A buffer in case an untrusted large enough value [U32MAX - sizeof(struct ffacompositememregion) + 1, U32_MAX] is set from the host kernel.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40266.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6211753fdfd05af9e08f54c8d0ba3ee516034878
Fixed
fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041
Fixed
bc1909ef38788f2ee3d8011d70bf029948433051
Fixed
f9f1aed6c8a3427900da3121e1868124854569c3
Fixed
103e17aac09cdd358133f9e00998b75d6c1f1518

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40266.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11.0
Fixed
6.6.118
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.60
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40266.json"