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… (CVE-2025-40266)
A high-severity vulnerability in the Linux kernel's KVM arm64 implementation was resolved. The issue involved insufficient verification of an untrusted offset in the FF-A memory share, which could lead to out-of-bounds (OOB) access in the hypervisor. Specifically, if the host kernel set a large enough offset value near the upper limit of a 32-bit unsigned integer range, it could cause memory access beyond intended boundaries. This vulnerability has been addressed by adding proper offset checks to prevent such OOB access.
AI Analysis
Technical Summary
The Linux kernel's KVM arm64 component had a vulnerability (CVE-2025-40266) where the offset used in FF-A memory sharing was not properly validated. This lack of validation allowed an untrusted offset value, close to U32_MAX, to cause out-of-bounds memory access in the hypervisor. The vulnerability was resolved by implementing checks on the offset to ensure it does not exceed safe bounds, preventing potential memory corruption or escalation of privileges in the hypervisor context.
Potential Impact
If exploited, this vulnerability could allow an attacker with high privileges on the host to cause out-of-bounds memory access in the hypervisor, potentially leading to confidentiality, integrity, and availability compromises of the virtualized environment. The CVSS vector indicates local attack vector with low attack complexity, requiring high privileges and no user interaction, with scope change and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include the patch for CVE-2025-40266 to ensure the offset validation is enforced. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories for the exact patched versions and update accordingly.
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… (CVE-2025-40266)
Description
A high-severity vulnerability in the Linux kernel's KVM arm64 implementation was resolved. The issue involved insufficient verification of an untrusted offset in the FF-A memory share, which could lead to out-of-bounds (OOB) access in the hypervisor. Specifically, if the host kernel set a large enough offset value near the upper limit of a 32-bit unsigned integer range, it could cause memory access beyond intended boundaries. This vulnerability has been addressed by adding proper offset checks to prevent such OOB access.
CVSS v3.1
Score 8.2high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's KVM arm64 component had a vulnerability (CVE-2025-40266) where the offset used in FF-A memory sharing was not properly validated. This lack of validation allowed an untrusted offset value, close to U32_MAX, to cause out-of-bounds memory access in the hypervisor. The vulnerability was resolved by implementing checks on the offset to ensure it does not exceed safe bounds, preventing potential memory corruption or escalation of privileges in the hypervisor context.
Potential Impact
If exploited, this vulnerability could allow an attacker with high privileges on the host to cause out-of-bounds memory access in the hypervisor, potentially leading to confidentiality, integrity, and availability compromises of the virtualized environment. The CVSS vector indicates local attack vector with low attack complexity, requiring high privileges and no user interaction, with scope change and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include the patch for CVE-2025-40266 to ensure the offset validation is enforced. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories for the exact patched versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3fjr-pmvp-g6q5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40266"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d59c2644c7f8479c71
Added to database: 07/30/2026, 15:50:45 UTC
Last enriched: 07/30/2026, 17:23:14 UTC
Last updated: 09/10/2026, 19:38:45 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.