On Tue, Apr 2, 2019 at 9:40 AM Christian König <[email protected]> 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 <[email protected]> > Signed-off-by: Christian König <[email protected]> > Fixes: 5c42c64f7d54 ("drm/ttm: fix the fix for huge compound pages") > Cc: [email protected]
Thanks; I've verified that with these patches applied, my VM doesn't print an ASAN warning on boot anymore. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
