gpu: fixed fence handling error [1/2]
PD#SWPL-10285
Problem:
Security issue with fence handling error path on
Linux 4.9.68 and later
Solution:
Modify the function kbase_sync_fence_out_create() in file
drivers/gpu/arm/midgard/mali_kbase_sync_file.c to Insert
Lines as follows to ensure the dma_fence_put() call only happens on
Linux 4.9.67 or lower
Verify:
franklin
Change-Id: I5832be0b8a1065107e2ff092abfe43910e5ddad5
Signed-off-by:
Jiyu Yang <jiyu.yang@amlogic.com>
Loading
Please sign in to comment