Re: [PATCH 1/5] drm/vmwgfx: Fix an invalid read

2022-03-18 Thread Chuck Lever III
Hi Zack- > On Mar 18, 2022, at 1:43 PM, Zack Rusin wrote: > > From: Zack Rusin > > vmw_move assumed that buffers to be moved would always be > vmw_buffer_object's but after introduction of new placement for mob > pages that's no longer the case. > The resulting invalid read didn't have any pr

[PATCH 1/5] drm/vmwgfx: Fix an invalid read

2022-03-18 Thread Zack Rusin
From: Zack Rusin vmw_move assumed that buffers to be moved would always be vmw_buffer_object's but after introduction of new placement for mob pages that's no longer the case. The resulting invalid read didn't have any practical consequences because the memory isn't used unless the object actuall