Skip to main content
EPSS 0.1%top 96%

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)

0
High
Published: 12/04/2025 (12/04/2025, 18:30:53 UTC)
Source: GCVE Database

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:23:14 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses