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

CVE-2022-40759

CVE-2022-40759

Description

A NULL pointer dereference issue in the TEE_MACCompareFinal function in Samsung mTower through 0.3.0 allows a trusted application to trigger a Denial of Service (DoS) by invoking the function TEE_MACCompareFinal with a NULL pointer for the parameter operation.

AI Insight

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

Samsung mTower through v0.3.0 has a NULL pointer dereference in TEE_MACCompareFinal, allowing a trusted application to cause a Denial of Service via a crafted call.

Vulnerability

The TEE_MACCompareFinal function in Samsung mTower through version 0.3.0 contains a NULL pointer dereference vulnerability in file tee/lib/libutee/tee_api_objects.c [1][2]. The function does not validate that its operation parameter is a valid pointer before dereferencing it in the check if (operation->info.operationClass != TEE_OPERATION_MAC) [1][2]. Any trusted application calling TEE_MACCompareFinal with a NULL pointer for the operation argument triggers this flaw.

Exploitation

An attacker needs the ability to execute a trusted application (TA) within the mTower trusted execution environment. The TA simply invokes the function TEE_MACCompareFinal with the operation parameter set to NULL [1][2]. No additional authentication, race window, or special privileges beyond running a TA are required.

Impact

Successful exploitation causes a NULL pointer dereference, leading to a crash of the trusted execution environment kernel [2]. The outcome is a Denial of Service (DoS) for the TEE, which may affect all trusted applications and services relying on the TEE; no immediate code execution or information disclosure is described in the references.

Mitigation

As of the publication date, the vendor has not released a patch fixing CVE-2022-40759; users should update when a fix becomes available. The issue is tracked in the mTower repository [2]. No workaround is documented, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities 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

2

News mentions

0

No linked articles in our index yet.