Linux kernel: tee: optee: prevent use-after-free when the client exits before the supplicant
Overview
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 optee_supp_recv() and optee_supp_send() while looking up and touching the request. * Let optee_supp_thrd_req() notice that the client has terminated and signal optee_supp_send() accordingly. With these changes the request cannot be freed while the supplicant still has a reference, eliminating the race.
- Published
- 6/25/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.4.291, < 5.5 | Verify advisory | Source |
linux kernel linux | ≥ 5.10.235, < 5.10.259 | Verify advisory | Source |
linux kernel linux | ≥ 5.15.179, < 5.15.210 | Verify advisory | Source |
linux kernel linux | ≥ 6.1.130, < 6.1.176 | Verify advisory | Source |
linux kernel linux | ≥ 6.6.80, < 6.6.143 | Verify advisory | Source |
linux kernel linux | ≥ 6.12.17, < 6.12.94 | Verify advisory | Source |
linux kernel linux | ≥ 6.13.5, < 6.14 | Verify advisory | Source |
linux kernel linux | ≥ 6.14.1, < 6.18.36 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 7.0.13 | Verify advisory | Source |
linux kernel linux | 6.14 | Verify advisory | Source |
linux kernel linux | 6.14 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
linux kernel linux | 7.1 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 0180cf0373f84fff61b16f8c062553a13dd7cfca, < 416259cb5bffecaaae5f76539deb535a8c1b2c34 | Verify advisory | Source |
Linux Linux | ≥ c0a9a948159153be145f9471435695373904ee6d, < 724d0caffd4204b46f78efe22f18f8338031c6e1 | Verify advisory | Source |
Linux Linux | ≥ ec18520f5edc20a00c34a8c9fdd6507c355e880f, < ae847ab29ded2d7cece4d5970f0edefa4137bf2f | Verify advisory | Source |
Linux Linux | ≥ d61cc1a435e6894bfb0dd3370c6f765d2d12825d, < 9a0dc9279d0907b198f205a693aedf696b08145d | Verify advisory | Source |
Linux Linux | ≥ fd9d2d6124c293e40797a080adf8a9c237efd8b8, < d366a01475f927402c96a3fe78bfc06b924fc87d | Verify advisory | Source |
Linux Linux | ≥ 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612, < d5b57bb314d79e99bebb58a53588fa11dd4dbf69 | Verify advisory | Source |
Linux Linux | ≥ 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612, < 373152c94e57e9592b68c100e224fbd943cfd608 | Verify advisory | Source |
Linux Linux | ≥ 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612, < 387a926ee166814611acecb960207fe2f3c4fd3e | Verify advisory | Source |
Linux Linux | 3eb4911364c764572e9db4ab900a57689a54e8ce | Verify advisory | Source |
Linux Linux | 21234efe2a8474a6d2d01ea9573319de7858ce44 | Verify advisory | Source |
Linux Linux | ≥ 5.10.235, < 5.10.259 | Verify advisory | Source |
Linux Linux | ≥ 5.15.179, < 5.15.210 | Verify advisory | Source |
Linux Linux | ≥ 6.1.130, < 6.1.176 | Verify advisory | Source |
Linux Linux | ≥ 6.6.80, < 6.6.143 | Verify advisory | Source |
Linux Linux | ≥ 6.12.17, < 6.12.94 | Verify advisory | Source |
Linux Linux | ≥ 5.4.291, < 5.5 | Verify advisory | Source |
Linux Linux | ≥ 6.13.5, < 6.14 | Verify advisory | Source |
Linux Linux | 6.14 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.