Advisory TFMV-16
Title |
Configure DMA master security attributes |
|---|---|
CVE ID |
|
Public Disclosure Date |
Nov 24, 2026 |
Versions Affected |
All |
Configurations |
an519, an521 platforms |
Impact |
The vulnerability allows code executing in the privileged Non-secure Processing Environment (NSPE) to cross the security boundary into the Secure Processing Environment (SPE). |
Fix Version |
c6d8e065394566702b6b463d833f3c55f6b2afa4 and TF-M v2.3.1 and v2.1.6 |
Credits |
Mohammad Seet |
Background
Trusted Firmware-M contains an incorrect DMA security configuration in the Arm MPS2 AN519 and AN521 platforms implementation. During platform initialization, TF-M grants Non-secure software access to the DMA controller register interfaces but does not configure the corresponding DMA Master Security Controllers to issue Non-secure transactions. Consequently, a privileged Non-secure application can program the DMA controllers to perform Secure-attributed memory transactions, bypassing the intended TrustZone isolation boundary. Successful exploitation allows an attacker to read and modify arbitrary accessible Secure memory, potentially exposing cryptographic keys and compromising Secure services.
Impact
The vulnerability allows code executing in the privileged Non-secure Processing Environment to cross the security boundary into the Secure Processing Environment.
Mitigation
Match the DMA master security attributes to their NS peripheral access.
SPDX-License-Identifier: BSD-3-Clause
SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors