On Thu, 02 Jul 2026 10:38:37 +0000, Sebastian Ene wrote:
This series fixes the Endpoint Memory Access Descriptor (EMAD) offset calculations and adds the necessary bounds checks for both the core FF-A driver and the pKVM hypervisor.
Prior to FF-A version 1.1, the memory region header didn't specify an explicit offset for the EMADs, leading to the assumption that they immediately follow the header. However, from v1.1 onwards, the specification dictates using the ep_mem_offset` field to determine the start of the memory access array.
[...]
Applied to fixes, thanks!
[1/6] firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit() commit: 3383ffb7ef937317361713ffcc21921a7848511a [2/6] firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation commit: b4d961351aa84fdf0148783fb1f3a1391b8a0adb
Cheers,
M.