-
由 Asahi Lina 提交于
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: NAsahi Lina <lina@asahilina.net> Link: https://lore.kernel.org/r/20230406-scheduler-uaf-2-v1-1-972531cf0a81@asahilina.netReviewed-by: NLuben Tuikov <luben.tuikov@amd.com> Signed-off-by: NLuben Tuikov <luben.tuikov@amd.com>
1e1d3574