CVE-2022-25334

Stack overflow on SK_LOAD signature length field in Texas Instruments OMAP L138

Published Oct 19, 2023 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-30013 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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
NCSC-NL
Published
Updated
Aug 3, 2024, 4:36 AM
Reserved
Feb 18, 2022, 5:18 PM
Status
Modified
Published
Oct 19, 2023, 10:15 AM
Modified
Jun 17, 2026, 4:33 AM