Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46f062e0 authored by Lucas Stach's avatar Lucas Stach Committed by Greg Kroah-Hartman
Browse files

etnaviv: fix gem object list corruption



commit 518417525f3652c12fb5fad6da4ade66c0072fa3 upstream.

All manipulations of the gem_object list need to be protected by
the list mutex, as GEM objects can be created and freed in parallel.
This fixes a kernel memory corruption.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 02c7d98b
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