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

CVE-2022-40760

CVE-2022-40760

Description

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

AI Insight

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

In Samsung mTower through 0.3.0, TEE_MACUpdate lacks chunkSize validation, allowing a trusted application to trigger a DoS via an excessive size.

Vulnerability

A Buffer Access with Incorrect Length Value vulnerability exists in the TEE_MACUpdate function in Samsung mTower through version 0.3.0 [1]. The function is implemented in /tee/lib/libutee/tee_api_objects.c [1]. It accepts a chunkSize parameter from the calling Trusted Application (TA) without verifying that it matches the actual size of the chunk buffer [1]. An excessive chunkSize value leads to a memcpy operation that reads or writes beyond intended bounds [1][3].

Exploitation

An attacker controlling a TA can invoke the TEE_MACUpdate function and supply an arbitrarily large chunkSize argument [1]. No additional authentication or special privileges are required beyond the ability to run a TA in the mTower environment [1]. The function passes the attacker-supplied chunkSize to utee_hash_update and later to a memcpy (via the md->state_var.buf in the TomCrypt hash header) without bounds checking [1][2][3], resulting in out-of-bounds memory access.

Impact

Successful exploitation causes a crash of the Trusted Execution Environment (TEE) kernel, leading to a Denial of Service (DoS) [1]. The entire TEE environment becomes unavailable, affecting all trusted applications and security services relying on it. No confidential data is directly exposed by this specific vulnerability, but system stability is compromised.

Mitigation

As of the reference date, no patched version has been released for mTower [1]. The issue was disclosed in September 2022, and the latest affected release is v0.3.0. The only workaround is to avoid invoking TEE_MACUpdate with untrusted chunkSize values or to apply manual input validation in any TA using the function. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

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

3

News mentions

0

No linked articles in our index yet.