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

CVE-2022-40758

CVE-2022-40758

Description

A Buffer Access with Incorrect Length Value vulnerablity in the TEE_CipherUpdate function in Samsung mTower through 0.3.0 allows a trusted application to trigger a Denial of Service (DoS) by invoking the function TEE_CipherUpdate with an excessive size value of srcLen.

AI Insight

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

A buffer access with incorrect length value in TEE_CipherUpdate in Samsung mTower ≤0.3.0 allows a trusted application to cause a denial of service via an excessive srcLen.

Vulnerability

The vulnerability resides in the TEE_CipherUpdate function in the Samsung mTower TEE library (through version 0.3.0). Specifically, the function does not validate the srcLen parameter provided by a trusted application (TA). When an excessive size value is passed, it results in a buffer access with incorrect length, leading to out-of-bounds memory access. The affected source code is in /tee/lib/libutee/tee_api_operations.c [1][2].

Exploitation

An attacker must be able to execute a trusted application within the TEE. The TA invokes TEE_CipherUpdate with a crafted srcLen that is larger than the actual buffer. No additional authentication is required; the attacker controls the TA input. The function then performs an incorrect-length memory operation, potentially causing a crash.

Impact

Successful exploitation can crash the TEE kernel, resulting in a denial of service (DoS) for all services relying on the TEE. While the primary impact is availability, the out-of-bounds read could also lead to information disclosure, though the description focuses on DoS.

Mitigation

As of the available references, no official patch has been released. Users of Samsung mTower versions 0.3.0 and earlier should monitor the GitHub repository [1] for updates and apply any fix when it becomes available. There is no known workaround.

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.