[GIT PULL] OP-TEE fix for v7.1

Jens Wiklander <[email protected]> Thu, 21 May 2026 16:14:10 +0200
Newsgroups org.trustedfirmware.lists.op-tee,dev.linux.lists.soc,org.kernel.vger.linux-kernel
Message-ID <20260521141410.GA1708231@rayden>
Hello soc maintainers,

Please pull this patch fixing a use-after-free race in the OP-TEE driver
where a client exiting prematurely could free a request still being
processed by the supplicant.

This is basically a resend of
https://lore.kernel.org/op-tee/20260316071210.GA2470832@rayden/

Thanks,
Jens


The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

  Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/optee-fix-for-v7.1

for you to fetch changes up to 387a926ee166814611acecb960207fe2f3c4fd3e:

  tee: optee: prevent use-after-free when the client exits before the supplicant (2026-03-02 14:36:50 +0100)

----------------------------------------------------------------
OP-TEE fix for v7.1

Prevent possible use after free in supplicant communication.

----------------------------------------------------------------
Amirreza Zarrabi (1):
      tee: optee: prevent use-after-free when the client exits before the supplicant

 drivers/tee/optee/supp.c | 107 ++++++++++++++++++++++++++++++++---------------
 1 file changed, 74 insertions(+), 33 deletions(-)