# CVE-2025-40266: KVM: arm64: Check the untrusted offset in FF-A memory share

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-12-04T16:08:25.392Z
- Modified: 2026-10-18T16:10:00.100Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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
[U32_MAX - sizeof(struct ffa_composite_mem_region) + 1, U32_MAX]
is set from the host kernel.

(As written by CVE List.)

## Affected

- Linux Linux: from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before bc1909ef38788f2ee3d8011d70bf029948433051; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before f9f1aed6c8a3427900da3121e1868124854569c3; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 103e17aac09cdd358133f9e00998b75d6c1f1518; 3.11 (not affected: before 3.11; from 6.6.118 up to 6.6.*; from 6.12.60 up to 6.12.*; from 6.17.10 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041>
- <https://git.kernel.org/stable/c/bc1909ef38788f2ee3d8011d70bf029948433051>
- <https://git.kernel.org/stable/c/f9f1aed6c8a3427900da3121e1868124854569c3>
- <https://git.kernel.org/stable/c/103e17aac09cdd358133f9e00998b75d6c1f1518>

## Sources

- CVE List: [CVE-2025-40266](https://www.cve.org/CVERecord?id=CVE-2025-40266), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40266](https://nvd.nist.gov/vuln/detail/CVE-2025-40266), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-40266 · Whole record: https://cve.day/CVE-2025-40266.json · Rebuilt by cve.day 2026-11-25T22:59:08.283Z
