aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorAsahi Lina <[email protected]>2023-04-06 01:37:39 +0900
committerLuben Tuikov <[email protected]>2023-04-06 17:30:16 -0400
commit1e1d3574e69f70b848f9d50eca2c5ff04931b7ba (patch)
tree87ca3719a977c22a0bf243052bb17b71624b5ada /tools/perf
parent0ec8671837a61d841462179686c5819d951d3b10 (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