]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): fix incomplete reclaim validation
authorMarc Bonnici <marc.bonnici@arm.com>
Tue, 18 Oct 2022 12:39:48 +0000 (13:39 +0100)
committerJoanna Farley <joanna.farley@arm.com>
Mon, 7 Nov 2022 13:39:20 +0000 (14:39 +0100)
commitc4adbe6e67617bb2d4f0ffb1c1daa3395f7ac227
tree6cfc5ccebb6706271a44a6571205e679fec18ae8
parent54b3fc63e408ebe3cc79887886df9f9d4c3ecd4d
fix(el3-spmc): fix incomplete reclaim validation

Ensure that the full memory transaction descriptor has been transmitted
before a request to reclaim the memory transaction is permitted.
This prevents any potential accesses to the incomplete descriptor.
Reported by Matt Oh, Google Android Red Team.

Reported-by: mattoh@google.com
Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: I33e993c6b754632051e899ab20edd19b18b6cf65
services/std_svc/spm/el3_spmc/spmc_shared_mem.c