Skip to content
Commit 45f574d8 authored by Min Li's avatar Min Li Committed by Greg Kroah-Hartman
Browse files

drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl



[ Upstream commit 48bfd025 ]

If it is async, runqueue_node is freed in g2d_runqueue_worker on another
worker thread. So in extreme cases, if g2d_runqueue_worker runs first, and
then executes the following if statement, there will be use-after-free.

Signed-off-by: default avatarMin Li <lm0963hack@gmail.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c81a542e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment