linux/drivers/tee
Pei Xiao 50a74d0095 tee: fix memory leak in tee_dyn_shm_alloc_helper
When shm_register() fails in tee_dyn_shm_alloc_helper(), the pre-allocated
pages array is not freed, resulting in a memory leak.

Fixes: cf4441503e ("tee: optee: Move pool_op helper functions")
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2025-08-04 14:28:04 +02:00
..
amdtee amdtee: Sort header includes 2025-04-29 10:57:57 +02:00
optee A fix in the OP-TEE driver for v6.16 2025-07-03 16:26:08 +02:00
tstee tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
Kconfig tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
Makefile tee: tstee: Add Trusted Services TEE driver 2024-04-03 14:03:09 +02:00
tee_core.c tee: Prevent size calculation wraparound on 32-bit kernels 2025-04-30 14:57:03 +02:00
tee_private.h tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00
tee_shm.c tee: fix memory leak in tee_dyn_shm_alloc_helper 2025-08-04 14:28:04 +02:00
tee_shm_pool.c tee: Refactor TEE subsystem header files 2024-04-03 09:19:31 +02:00