(subset) [PATCH] drm: Do not overrun array in drm_gem_get_pages()

Maxime Ripard mripard at kernel.org
Thu Oct 12 08:45:56 UTC 2023


On Thu, 05 Oct 2023 14:56:47 +0100, Matthew Wilcox (Oracle) wrote:
> If the shared memory object is larger than the DRM object that it backs,
> we can overrun the page array.  Limit the number of pages we install
> from each folio to prevent this.
> 
> 

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime



More information about the dri-devel mailing list