[PATCH] drm/vgem: fix use-after-free when drm_gem_handle_create() fails

Sasha Levin sashal at kernel.org
Wed Feb 27 13:23:49 UTC 2019


Hi,

[This is an automated email]

This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 5ba6c9ff961a drm/vgem: Fix mmaping.

The bot has tested the following trees: v4.20.12, v4.19.25, v4.14.103, v4.9.160.

v4.20.12: Build OK!
v4.19.25: Build OK!
v4.14.103: Build OK!
v4.9.160: Failed to apply! Possible dependencies:
    024b6a63138c ("gpu: drm: gma500: Use vma_pages()")
    1a29d85eb0f1 ("mm: use vmf->address instead of of vmf->virtual_address")
    82b0f8c39a38 ("mm: join struct fault_env and vm_fault")
    953c66c2b22a ("mm: THP page cache support for ppc64")
    af33a9190d02 ("drm/vgem: Enable dmabuf import interfaces")
    c54fd47aa5b8 ("drm/vgem: switch to drm_*_get(), drm_*_put() helpers")
    fd60775aea80 ("mm, thp: avoid unlikely branches for split_huge_pmd")


How should we proceed with this patch?

--
Thanks,
Sasha


More information about the dri-devel mailing list