Skip to content
Commit 45f56690 authored by Alexey Minnekhanov's avatar Alexey Minnekhanov Committed by Rob Clark
Browse files

drm/msm: Init mm_list before accessing it for use_vram path

Fix NULL pointer dereference caused by update_inactive()
trying to list_del() an uninitialized mm_list who's
prev/next pointers are NULL.

Fixes: 64fcbde7

 ("drm/msm: Track potentially evictable objects")
Signed-off-by: default avatarAlexey Minnekhanov <alexeymin@postmarketos.org>
Link: https://lore.kernel.org/r/20210518102624.1193955-1-alexeymin@postmarketos.org
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent f2f46b87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment