Re: Use after free with GEM shadow-buffered planes

2023-11-18 Thread Daniel Vetter
On Fri, 17 Nov 2023 at 15:08, Thomas Zimmermann wrote: > > Hi > > Am 15.11.23 um 17:32 schrieb Alyssa Ross: > > [Originally reported at https://gitlab.freedesktop.org/drm/misc/-/issues/33] > > > > The following happens in a cycle: > > > > • An atomic state is allocated > > • A plane state is a

Re: Use after free with GEM shadow-buffered planes

2023-11-17 Thread Thomas Zimmermann
Hi Am 15.11.23 um 17:32 schrieb Alyssa Ross: [Originally reported at https://gitlab.freedesktop.org/drm/misc/-/issues/33] The following happens in a cycle: • An atomic state is allocated • A plane state is allocated (drm_gem_duplicate_shadow_plane_state()) • Commit (drm_atomic_helper_com

Use after free with GEM shadow-buffered planes

2023-11-16 Thread Alyssa Ross
[Originally reported at https://gitlab.freedesktop.org/drm/misc/-/issues/33] The following happens in a cycle: • An atomic state is allocated • A plane state is allocated (drm_gem_duplicate_shadow_plane_state()) • Commit (drm_atomic_helper_commit(), possibly nonblocking / asynchronously) • Th