CVE-2026-42546: OP-TEE has missing OPTEE_MSG_ATTR_TYPE_MASK in cleanup_shm_refs() leaks mobj references

Published Jul 6, 2026
·
Updated

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 cleanupshmrefs() in core/tee/entrystd.c fails to apply a required bitmask (OPTEEMSGATTRTYPEMASK) 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 mobjput() call. This results in a persistent reference leak of mobjregshm 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.

Affected Software

2 affected components
OP-TEE OP-TEE>=3.3.0<4.11.0
TrustedFirmware OP-TEE>=3.3.0<=4.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OP-TEE to a version that resolves this vulnerability.

    Fixed in 4.11.0
  2. Upgrade

    Upgrade OP-TEE (core/tee/entry_std.c) to a version that resolves this vulnerability.

    Patch missing OPTEE_MSG_ATTR_TYPE_MASK in cleanup_shm_refs() leaks mobj references

Event History

Jul 6, 2026
CVE Published
via MITRE·07:31 PM
Data Sourced
via MITRE·07:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42546?

The severity of CVE-2026-42546 is rated low, with a score of 3.8.

2

How do I fix CVE-2026-42546?

To fix CVE-2026-42546, upgrade OP-TEE to version 4.11.0 or later.

3

What type of vulnerability is CVE-2026-42546?

CVE-2026-42546 is a resource leak vulnerability in OP-TEE's shared memory cleanup logic.

4

Which versions of OP-TEE are affected by CVE-2026-42546?

Versions of OP-TEE from 3.3.0 to prior 4.11.0 are affected by CVE-2026-42546.

5

What is the impact of CVE-2026-42546?

The impact of CVE-2026-42546 includes leaking mobj references in OP-TEE, which can affect system resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203