VYPR
Unrated severityNVD Advisory· Published Sep 16, 2022· Updated Aug 3, 2024

CVE-2022-40762

CVE-2022-40762

Description

A Memory Allocation with Excessive Size Value vulnerablity in the TEE_Realloc function in Samsung mTower through 0.3.0 allows a trusted application to trigger a Denial of Service (DoS) by invoking the function TEE_Realloc with an excessive number for the parameter len.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A missing size validation in TEE_Realloc in Samsung mTower <=0.3.0 lets a trusted application cause a denial of service by passing an excessive length.

Vulnerability

The vulnerability resides in the TEE_Realloc function in /tee/lib/libutee/tee_api.c of Samsung mTower through version 0.3.0. The function does not validate the newSize parameter before passing it to the underlying tee_user_mem_realloc call, enabling a trusted application to request an excessively large memory allocation [1], [2].

Exploitation

An attacker needs to be able to invoke the TEE_Realloc function from a trusted application. By calling TEE_Realloc with a very large value for the newSize parameter (e.g., a value larger than available memory), the function attempts to allocate an excessive amount of memory [1], [2]. On real IoT hardware, such as the Numaker-PFM-M2351, this causes the Trusted Execution Environment (TEE) kernel to crash [2].

Impact

Successful exploitation results in a denial of service (DoS) by crashing the TEE kernel, rendering the secure environment unavailable until a reboot. The impact is limited to availability; there is no evidence of information disclosure or privilege escalation from this vulnerability [2].

Mitigation

A fix for this vulnerability has not been released in the available references. Users of Samsung mTower versions up to 0.3.0 should apply any vendor-supplied patch when it becomes available. In the interim, trusted applications should be audited to ensure they do not call TEE_Realloc with an uncontrolled large size [2].

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.