On Mon, 09 Sep 2024 18:01:54 +0000, Snehal Koukuntla wrote: > When we share memory through FF-A and the description of the buffers > exceeds the size of the mapped buffer, the fragmentation API is used. > The fragmentation API allows specifying chunks of descriptors in subsequent > FF-A fragment calls and no upper limit has been established for this. > The entire memory region transferred is identified by a handle which can be > used to reclaim the transferred memory. > To be able to reclaim the memory, the description of the buffers has to fit > in the ffa_desc_buf. > Add a bounds check on the FF-A sharing path to prevent the memory reclaim > from failing. > > [...] Applied to next, thanks! [1/1] KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer commit: 39dacbeeee703d29140aca7bc2826d4b1936ecb6 Cheers, M. -- Without deviation from the norm, progress is not possible.