Skip to contentSkip to conversation

OP-TEE fix for v7.1

GIT PULL Applied Jens Wiklander 2 participants 3 messages May 21 – May 28

lore
Share & tools
lore
#0 lore raw

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(-)
#1 lore raw
This pull request was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:

Hello:

This pull request was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:

Quoted 10 lines · On Thu, 21 May 2026 16:14:10 +0200 you wrote:

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/

[...]

Here is the summary with links:
- [GIT,PULL] OP-TEE fix for v7.1

    https://git.kernel.org/soc/soc/c/56d582972068

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#2 lore raw
In reply to Jens Wiklander
This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Quoted 10 lines · On Thu, 21 May 2026 16:14:10 +0200 you wrote:

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/

[...]

Here is the summary with links:
- [GIT,PULL] OP-TEE fix for v7.1

    https://git.kernel.org/soc/soc/c/56d582972068

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html