CVE-2025-40266

KVM: arm64: Check the untrusted offset in FF-A memory share

State
Published
Severity
8.2 High
Published
Dec 4, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before fc3139d9f4c1fe1c7d5f25f99676bd8e9c6a1041Affected
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before bc1909ef38788f2ee3d8011d70bf029948433051Affected
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before f9f1aed6c8a3427900da3121e1868124854569c3Affected
  • 6211753fdfd05af9e08f54c8d0ba3ee516034878 to before 103e17aac09cdd358133f9e00998b75d6c1f1518Affected
LinuxLinux
  • 3.11Affected
  • before 3.11Not affected
  • 6.6.118 through 6.6.*Not affected
  • 6.12.60 through 6.12.*Not affected
  • 6.17.10 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.