Hypervisor compromise via unchecked FF-A offset
Published Dec 4, 2025 · Updated Aug 5, 2026
Out-of-bounds access in Linux KVM arm64 allows local users with host-kernel control to compromise the EL2 hypervisor through FF-A sharing. In __do_ffa_mem_xfer, adding the host-supplied composite offset to the region-header size can wrap a 32-bit value before buffer-bound and pointer calculations. Reaching the flaw requires code execution in the host kernel and protected KVM with FF-A proxying; exploitation can disclose hypervisor memory, corrupt page ownership, or panic the host and its guests.
Summary
What happened
Out-of-bounds access in Linux KVM arm64 allows local users with host-kernel control to compromise the EL2 hypervisor through FF-A sharing. In __do_ffa_mem_xfer, adding the host-supplied composite offset to the region-header size can wrap a 32-bit value before buffer-bound and pointer calculations. Reaching the flaw requires code execution in the host kernel and protected KVM with FF-A proxying; exploitation can disclose hypervisor memory, corrupt page ownership, or panic the host and its guests.
The record
- CVE
- CVE-2025-40266
- Published
- Dec 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Dec 4, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.11
- Affected versionversion=6211753fdfd05af9e08f54c8d0ba3ee516034878 <103e17aac09cdd358133f9e00998b75d6c1f1518
- Affected versionversion=6211753fdfd05af9e08f54c8d0ba3ee516034878 <bc1909ef38788f2ee3d8011d70bf029948433051
- Affected versionversion=6211753fdfd05af9e08f54c8d0ba3ee516034878 <f9f1aed6c8a3427900da3121e1868124854569c3
- Affected versionversion=6211753fdfd05af9e08f54c8d0ba3ee516034878 <fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo