CVE-2026-68401

firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()

Published Aug 10, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()

Sashiko (locally) reports multiple out-of-bound issues in
ffa_setup_and_transmit:
1) Writing ep_mem_access->reserved can write out of bounds for FFA
versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case
while reserved has an offset of 24.
Instead of zeroing fields, memset the struct to zero first based on
the FFA version.

2) Make sure there is enough size to write constituents.

While at it, convert the only sizeof() in the driver that uses a
type instead of variable.

Analysis

AI-generated

Technical impact

The vulnerability allows a firmware component called arm_ffa to write beyond the bounds of a memory buffer during the ffa_setup_and_transmit operation. In firmware interfaces that support earlier versions of the FFA protocol (prior to 1.2), the driver incorrectly calculates the size of the reserved field and may overwrite adjacent memory while zeroing or populating fields. This out-of-bounds write corrupts kernel state, which can lead to arbitrary code execution with system privileges or cause the kernel to crash, resulting in a denial of service. The weakness is a classic out-of-bounds write identified by CWE-787.

Affected Systems

The issue resides in the Linux kernel firmware subsystem. It is relevant to all Linux kernel installations that include the arm_ffa driver. No specific kernel release numbers are listed in the provided data, so any kernel version that has not yet incorporated the patch that zeroes the head struct or checks buffer sizes is potential risk. Linux vendor products are identified but no version constraints are given.

Risk and Exploitability

The CVSS base score is 7.8, indicating a high severity. The EPSS score is < 1%, suggesting a very low probability of exploitation at the time of analysis. This vulnerability is not listed in CISA’s KEV catalog, so no confirmed public exploits exist yet. The likely attack vector requires a crafted FFA request to the kernel, for example via user space or a virtual machine that interacts with the hypervisor interface. When FFA protocol versions below 1.2 are negotiated, the arm_ffa driver performs an out-of-bounds write during preparation of the request, which could corrupt kernel memory if the attacker can control the request payload or protocol version negotiation. The description indicates the write occurs before the kernel processes the request data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch fixing the out-of-bounds write, or apply the upstream patch that zeroes the structure and enforces size checks.
  • If immediate upgrading is not possible, disable or restrict access to the arm_ffa interface for non-trusted users or virtual machines until a patched kernel is deployed.
  • Monitor distribution advisories and apply security updates promptly to mitigate exposure to this vulnerability.

Generated by OpenCVE AI on August 14, 2026 at 01:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-122
CWE-787
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit() Sashiko (locally) reports multiple out-of-bound issues in ffa_setup_and_transmit: 1) Writing ep_mem_access->reserved can write out of bounds for FFA versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case while reserved has an offset of 24. Instead of zeroing fields, memset the struct to zero first based on the FFA version. 2) Make sure there is enough size to write constituents. While at it, convert the only sizeof() in the driver that uses a type instead of variable.
Title firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:28 PM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 1:20 PM
Modified
Oct 30, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 10, 2026, 12:04 PM