CVE-2025-40266
KVM: arm64: Check the untrusted offset in FF-A memory share
Mitigation
- Upgrade Linux to 103e17aac09cdd358133f9e00998b75d6c1f1518 or later.
Who should check
- Anyone running Linux >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < bc1909ef38788f2ee3d8011d70bf029948433051; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < f9f1aed6c8a3427900da3121e1868124854569c3; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < 103e17aac09cdd358133f9e00998b75d6c1f1518
- Anyone running Linux 3.11
Vulnerability facts
- Affected
- Linux >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < bc1909ef38788f2ee3d8011d70bf029948433051; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < f9f1aed6c8a3427900da3121e1868124854569c3; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < 103e17aac09cdd358133f9e00998b75d6c1f1518; Linux 3.11
- Fixed in
- Linux 103e17aac09cdd358133f9e00998b75d6c1f1518
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < bc1909ef38788f2ee3d8011d70bf029948433051; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < f9f1aed6c8a3427900da3121e1868124854569c3; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < 103e17aac09cdd358133f9e00998b75d6c1f1518 | — | cvelist |
| Linux | 3.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40266. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40266.md Affected: Linux >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < bc1909ef38788f2ee3d8011d70bf029948433051; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < f9f1aed6c8a3427900da3121e1868124854569c3; >= 6211753fdfd05af9e08f54c… Fixed in: Linux 103e17aac09cdd358133f9e00998b75d6c1f1518 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-40266 being exploited?
There is no confirmed exploitation: CVE-2025-40266 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40266?
High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-40266?
Linux >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < bc1909ef38788f2ee3d8011d70bf029948433051; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < f9f1aed6c8a3427900da3121e1868124854569c3; >= 6211753fdfd05af9e08f54c8d0ba3ee516034878, < 103e17aac09cdd358133f9e00998b75d6c1f1518; Linux 3.11.
Is there a fix for CVE-2025-40266?
Yes. Fixed in Linux 103e17aac09cdd358133f9e00998b75d6c1f1518. Upgrade Linux to 103e17aac09cdd358133f9e00998b75d6c1f1518 or later.
How do I check if I'm affected by CVE-2025-40266?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.