Elevating The TrustZone To Achieve A Powerful Android Kernel Exploit
summary
A kernel bug (CVE-2021-1961) in the QC com ioctl lets crafted ion buffer offsets create overlapping whitelist entries so the Qualcomm TrustZone (QSEE) gains access to arbitrary physical ranges. The exploit turns trustlet encrypt/decrypt into a memcpy to achieve arbitrary physical read/write, uses a kernel symbol scan to locate targets, disables SELinux, and runs reliably across devices and builds without per-device tweaks. Claims a 100% reliable exploit built with ion buffer offset overlap on Qualcomm phones and succeeds in practice.
AI-written summary · about
chapters (16)
- 0:00Introduction and background
- 4:15What is TrustZone
- 6:22Qualcomm TrustZone overview
- 9:10Communication protocol details
- 10:58Exploit capabilities and scope
- 11:39Memory access model
- 13:24Normal to secure world communication
- 22:07Identifying the vulnerability
- 25:38Exploit development approach
- 30:40Arbitrary read/write primitive
- 33:57Full exploit implementation
- 35:24Exploit reliability and mitigations
- 37:08Comparison with other exploits
- 38:31Research insights and takeaways
- 39:57Timeline and disclosure
- 40:21Q&A session
