diff options
author | Asahi Lina <[email protected]> | 2023-04-06 01:37:39 +0900 |
---|---|---|
committer | Luben Tuikov <[email protected]> | 2023-04-06 17:30:16 -0400 |
commit | 1e1d3574e69f70b848f9d50eca2c5ff04931b7ba (patch) | |
tree | 87ca3719a977c22a0bf243052bb17b71624b5ada /tools/perf | |
parent | 0ec8671837a61d841462179686c5819d951d3b10 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Luben Tuikov <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions