Re: [PATCH v5] tee: optee: prevent use-after-free when the client exits before the supplicant
Sumit Garg via OP-TEE <[email protected]>
| Newsgroups | org.trustedfirmware.lists.op-tee |
|---|---|
| Message-ID | <aaWK8EqeAZN7SIdc@sumit-xelite> |
On Mon, Mar 02, 2026 at 01:59:35PM +0100, Jens Wiklander wrote: > Hi, > > On Wed, Feb 25, 2026 at 8:54 AM Yuanjia Yeh <[email protected]> wrote: > > > > Hi all, > > > > We can reproduce the reported use-after-free issue on our platform via an > > overnight reboot test > > > > The verifications are listed as the following > > > > - With v2 + Michael Wu's patch: Issue resolved. > > - With v4: Race condition observation and already report to Amir > > - With v5: Race fixed. Stable in our tests, including: > > xtest + reboot loop (300 cycles) > > continuous reboot test (1000 cycles) > > > > No regressions observed with v5. > > > > If there are no other concerns, we recommend adopting v5. > > > > If needed, please add the following tag: > > Tested-by: Ox Yeh <[email protected]> > > > > Yuanjia Yeh > > Thanks for testing. Sumit, with this Tested-by are, you OK with the > patch? I've tested it locally and it doesn't break anything for me. Yeah, feel free to add: Reviewed-by: Sumit Garg <[email protected]> -Sumit