CVE-2022-25334

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
19/10/2023
Last modified:
07/11/2023

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:ti:omap_l138_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:ti:omap_l138:-:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools