[GIT PULL] TEE fixes for v6.17

From: Jens Wiklander
Date: Tue Aug 19 2025 - 08:31:34 EST


Hello arm-soc maintainers

Please pull these two small patches fixing a NULL pointer dereference and
memory leak in the TEE subsystem.

Thanks,
Jens

The following changes since commit 038d61fd642278bab63ee8ef722c50d10ab01e8f:

Linux 6.16 (2025-07-27 14:26:38 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-fixes-for-v6.17

for you to fetch changes up to 50a74d0095cd23d2012133e208df45a298868870:

tee: fix memory leak in tee_dyn_shm_alloc_helper (2025-08-04 14:28:04 +0200)

----------------------------------------------------------------
TEE fixes for v6.17

- Fixing a memory leak in the error path for tee_dyn_shm_alloc_helper()
- Fixing a NULL pointer dereference in tee_shm_put()

----------------------------------------------------------------
Pei Xiao (2):
tee: fix NULL pointer dereference in tee_shm_put
tee: fix memory leak in tee_dyn_shm_alloc_helper

drivers/tee/tee_shm.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)