summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vkms
diff options
context:
space:
mode:
authorAsahi Lina <lina@asahilina.net>2023-04-05 19:37:39 +0300
committerLuben Tuikov <luben.tuikov@amd.com>2023-04-07 00:10:02 +0300
commit5a94aa77bb7f970c6ae35cd7537121501f015a7f (patch)
tree532bfe22d4a53eea60efa5427223d68714a28e86 /drivers/gpu/drm/vkms
parent1f0d40d88f7aeaeb4316fe86ffa04a295954b918 (diff)
downloadlinux-5a94aa77bb7f970c6ae35cd7537121501f015a7f.tar.xz
drm/scheduler: Fix UAF race in drm_sched_entity_push_job()
After a job is pushed into the queue, it is owned by the scheduler core and may be freed at any time, so we can't write nor read the submit timestamp after that point. Fixes oopses observed with the drm/asahi driver, found with kASAN. Signed-off-by: Asahi Lina <lina@asahilina.net> Link: https://lore.kernel.org/r/20230406-scheduler-uaf-2-v1-1-972531cf0a81@asahilina.net Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Diffstat (limited to 'drivers/gpu/drm/vkms')
0 files changed, 0 insertions, 0 deletions