The Texas Instruments OMAP L138 (secure variants) trusted execution environment (TEE) lacks a bounds check on the signature size field in the SK_LOAD module loading routine, present in mask ROM. A module with a sufficiently large signature field causes a stack overflow, affecting secure kernel data pages. This can be leveraged to obtain arbitrary code execution in secure supervisor context by overwriting a SHA256 function pointer in the secure kernel data area when loading a forged, unsigned SK_LOAD module encrypted with the CEK (obtainable through CVE-2022-25332). This constitutes a full break of the TEE security architecture.
References
Link Providers
https://tetraburst.com/ cve-icon cve-icon
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: NCSC-NL

Published: 2023-10-19T09:36:09.230Z

Updated: 2024-08-03T04:36:06.873Z

Reserved: 2022-02-18T17:18:33.457Z

Link: CVE-2022-25334

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-10-19T10:15:09.803

Modified: 2023-11-07T03:44:46.240

Link: CVE-2022-25334

cve-icon Redhat

No data.