CVE-2026-40290

Description

A flaw was found in OP-TEE (Trusted Execution Environment). A local attacker could exploit a user-after-free (UAF) race condition in the shared memory teardown logic when OP-TEE is configured as a Secure Partition Management Controller (SPMC) for Secure EL0 (S-EL0) Secure Partitions. This vulnerability occurs because the system fails to properly synchronize memory deallocation, allowing a thread to access memory after it has been freed. Successful exploitation could lead to privilege escalation, enabling the attacker to execute arbitrary code within the trusted environment.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Understanding the Weakness (CWE)

Integrity,Confidentiality,Availability

Technical Impact: Modify Application Data; Modify Memory; DoS: Crash, Exit, or Restart; Execute Unauthorized Code or Commands

It may be possible to cause data corruption and possibly execute arbitrary code by modifying global variables or data structures at unexpected times, violating the assumptions of code that uses this global data.

Access Control

Technical Impact: Gain Privileges or Assume Identity

If a signal handler interrupts code that is executing with privileges, it may be possible that the signal handler will also be executed with elevated privileges, possibly making subsequent exploits more severe.

Frequently Asked Questions

Want to get errata notifications? Sign up here.