diff options
author | Rob Clark <robdclark@chromium.org> | 2022-05-31 13:08:56 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-06-01 17:20:08 -0700 |
commit | 036d20726c30267724416e966c9f92db07de8081 (patch) | |
tree | 67f575a67d56393d416aeb208129a956e1266428 /drivers/mfd/Kconfig | |
parent | af0f2a8cc3977e08e79a096f0c2c7a5be29b130b (diff) |
drm/msm: Ensure mmap offset is initialized
If a GEM object is allocated, and then exported as a dma-buf fd which is
mmap'd before or without the GEM buffer being directly mmap'd, the
vma_node could be unitialized. This leads to a situation where the CPU
mapping is not correctly torn down in drm_vma_node_unmap().
Fixes: e5516553999f ("drm: call drm_gem_object_funcs.mmap with fake offset")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220531200857.136547-1-robdclark@gmail.com
Diffstat (limited to 'drivers/mfd/Kconfig')
0 files changed, 0 insertions, 0 deletions