SecurityContext

CVE-2026-42546: OP-TEE - Resource Leak

  • Cve: CVE-2026-42546
  • Name: OP-TEE - Resource Leak
  • Description: OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. Starting in version 3.3.0 and prior to version 4.11.0, a resource leak exists in OP-TEE’s shared memory cleanup logic because the function `cleanup_shm_refs()` in `core/tee/entry_std.c` fails to apply a required bitmask (`OPTEE_MSG_ATTR_TYPE_MASK`) to parameter attributes. When processing non-contiguous memory parameters from a normal-world caller, the system fails to match the attribute type in its internal switch statement and skips the necessary mobj_put() call. This results in a persistent reference leak of `mobj_reg_shm` objects, which remain on internal lists with dangling refcounts. This affects non-FF-A configurations that support non-contiguous, non-secure shared memory. Over time, these accumulated leaks progressively consume the secure-world heap, degrading the system's ability to service trusted application operations and eventually requiring a reboot to recover. Version 4.11.0 contains a patch. No known workarounds are available.
  • Impact: Attackers can cause secure-world heap exhaustion, degrading system operations and requiring reboot to recover.
  • Remediation: Update to version 4.11.0 or later.
  • Vulnerability type: resource_leak
  • Vulnerability impact: denial_of_service
  • Requirements: Requires non-FF-A configuration with non-contiguous, non-secure shared memory usage
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
  • Epss score: 0.00151
  • Epss percentile: 0.04201
  • Assignee: [email protected]
  • Published at: 2026-07-06T20:16:33Z
  • Age in days: 141
  • Modified at: 2026-10-25T20:10:00Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42546
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

References

UrlSourceTags
https://github.com/OP-TEE/optee_os/security/advisories/GHSA-c7j8-fgqw-rcgpnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
trustedfirmware:op-tee>= 3.3.0, <= 4.10.0nonvd/v1/products/trustedfirmware/op-tee

Projects

RepositoryLink kindsIndexedUrl
OP-TEE/optee_ossecurity_advisoryyes/v1/repositories/OP-TEE/optee_os

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts