توضیح (فارسی)
Trusted Firmware-M (TF-M) شامل یک پیکربندی امنیتی DMA نادرست در پیادهسازی پلتفرمهای Arm MPS2 AN519 و AN521 میباشد. در طول راهاندازی پلتفرم، TF-M به نرمافزار Non-secure دسترسی به اینترفیسهای رجیستر کنترلر DMA میدهد، اما کنترلرهای اصلی امنیتی DMA را برای انتشار تراکنشهای Non-secure پیکربندی نمیکند. در نتیجه، یک برنامه Non-secure با امتیاز میتواند کنترلرهای DMA را برای انجام تراکنشهای حافظه با ویژگی Secure برنامهریزی کند و مرز جداسازی TrustZone را دور بزند. استفاده موفق از این ضعف به مهاجم امکان میدهد حافظه Secure قابلدسترسی را به صورت دلخواه بخواند و تغییر دهد، که میتواند منجر به افشای کلیدهای رمزنگاری و تهاجم به سرویسهای Secure شود.
Original description (English)
Trusted Firmware-M (TF-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.