CVE-2026-53273: tee: optee: prevent use-after-free when the client exits before the supplicant

Published Jun 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tee: optee: prevent use-after-free when the client exits before the supplicant

Commit 70b0d6b0a199 ("tee: optee: Fix supplicant wait loop") made the client wait as killable so it can be interrupted during shutdown or after a supplicant crash. This changes the original lifetime expectations: the client task can now terminate while the supplicant is still processing its request.

If the client exits first it removes the request from its queue and kfree()s it, while the request ID remains in supp->idr. A subsequent lookup on the supplicant path then dereferences freed memory, leading to a use-after-free.

Serialise access to the request with supp->mutex:

Hold supp->mutex in opteesupprecv() and opteesuppsend() while looking up and touching the request. Let opteesuppthrdreq() notice that the client has terminated and signal opteesuppsend() accordingly.

With these changes the request cannot be freed while the supplicant still has a reference, eliminating the race.

Affected Software

21 affected components
Linux Linux kernel (tee/optee)
Linux Linux kernel>=5.4.291<5.5
Linux Linux kernel>=5.10.235<5.10.259
Linux Linux kernel>=5.15.179<5.15.210
Linux Linux kernel>=6.1.130<6.1.176
Linux Linux kernel>=6.6.80<6.6.143
Linux Linux kernel>=6.12.17<6.12.94
Linux Linux kernel>=6.13.5<6.14
Linux Linux kernel>=6.14.1<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=6.14
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6
Linux Linux kernel=6.14-rc7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade tee: optee to a version that resolves this vulnerability.

    Patch 70b0d6b0a199
  2. Configuration

    Modify the OP-TEE supplicant path so optee_supp_recv() and optee_supp_send() hold supp->mutex to serialize access to request objects and prevent use-after-free when the client exits first.

    OP-TEE Linux kernel supplicant code supp->mutex usage in optee_supp_recv() and optee_supp_send() = Hold supp->mutex while executing optee_supp_recv() and optee_supp_send()
  3. Configuration

    Update optee_supp_thrd_req() so it detects client termination, removes the request from the client's queue expectations safely, and coordinates with the supplicant thread to eliminate the race.

    OP-TEE Linux kernel supplicant code Client-termination handling in optee_supp_thrd_req() = Let optee_supp_thrd_req() notice that the client has terminated
  4. Configuration

    Change the client wait in the OP-TEE supplicant flow to be killable so it can be interrupted during shutdown, avoiding request lifetime/race issues after a client crash.

    OP-TEE Linux kernel supplicant code Request wait behavior in client wait (killable) = Make client wait killable so it can be interrupted during shutdown

Event History

Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
DescriptionSeverity
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53273?

CVE-2026-53273 has a risk score of 44, indicating a moderate severity level.

2

How do I fix CVE-2026-53273?

To fix CVE-2026-53273, you need to update your Linux kernel to the patched version that addresses the use-after-free vulnerability.

3

Which systems are affected by CVE-2026-53273?

CVE-2026-53273 affects the Linux kernel specifically in the tee/optee subsystem.

4

What type of vulnerability is CVE-2026-53273?

CVE-2026-53273 is categorized as a use-after-free vulnerability in the Linux kernel.

5

When was CVE-2026-53273 published?

CVE-2026-53273 was published on June 25, 2026.

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