summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-gpio.c
diff options
context:
space:
mode:
authorAsahi Lina <lina@asahilina.net>2023-04-06 01:37:39 +0900
committerLuben Tuikov <luben.tuikov@amd.com>2023-04-06 17:10:02 -0400
commit5a94aa77bb7f970c6ae35cd7537121501f015a7f (patch)
tree532bfe22d4a53eea60efa5427223d68714a28e86 /drivers/leds/leds-gpio.c
parent1f0d40d88f7aeaeb4316fe86ffa04a295954b918 (diff)
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/leds/leds-gpio.c')
0 files changed, 0 insertions, 0 deletions