Description (CNA)
OP-TEE OS through 4.10.0, fixed in commit 8794043, contains a use-after-free vulnerability in the Trusted Application loader that allows attackers with the ability to load a signed Trusted Application to corrupt secure-world kernel memory by setting the TA_FLAG_CONCURRENT flag in a user TA signed header. Attackers can cause two concurrent sessions to operate on the same shared context without locking, corrupting the uctx->vm_info.regions list during memref parameter mapping and unmapping to free vm_region nodes still in use, resulting in a use-after-free in S-EL1 secure-world kernel memory.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| OP-TEE / optee_os | affected 0 through 4.10.0; unaffected 8794043c4065c26a2b8b1313794ba5ba5f06d296 |
CWE
CWE-416, CWE-362
References
- https://github.com/OP-TEE/optee_os/pull/7900
- https://github.com/OP-TEE/optee_os/commit/8794043c4065c26a2b8b1313794ba5ba5f06d296
- https://www.vulncheck.com/advisories/op-tee-os-use-after-free-via-trusted-application-loader-ta-flag-concurrent
ADP enrichment
No English description supplied.
No references supplied.