On Tue, Apr 2, 2019 at 9:40 AM Christian König
<ckoenig.leichtzumer...@gmail.com> wrote:
> When ttm_put_pages() tries to figure out whether it's dealing with
> transparent hugepages, it just reads past the bounds of the pages array
> without a check.
>
> v2: simplify the test if enough pages are left in the array (Christian).
>
> Signed-off-by: Jann Horn <ja...@google.com>
> Signed-off-by: Christian König <christian.koe...@amd.com>
> Fixes: 5c42c64f7d54 ("drm/ttm: fix the fix for huge compound pages")
> Cc: sta...@vger.kernel.org

Thanks; I've verified that with these patches applied, my VM doesn't
print an ASAN warning on boot anymore.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to