Altera Trusted Firmware-A contains an SMC handler for ALTERA_SIP_SMC_ASYNC_GEN_MBOX_CMD that accepts command-buffer and response-buffer addresses from CPU registers. The handler forwards those addresses without verifying that they reside in permitted Non-Secure DDR. When the Secure Device Manager returns a mailbox response, EL3 writes response data through the caller-supplied response address, allowing an attacker controlling the non-secure HPS operating system to direct a write into mapped EL3 secure memory.
The flaw is an untrusted pointer dereference, corresponding to CWE-822, and reflects insufficient validation across a memory-protection boundary. Exploitation requires high privilege on HPS EL1 or the operating system and the ability to invoke the relevant SMC; it is not a directly network-reachable attack path. The exact result depends on the target address, memory layout, platform, and available mitigations; the available evidence does not confirm a specific code-execution path.