diff options
author | Nirmoy Das <[email protected]> | 2022-09-23 09:35:14 +0200 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2022-09-29 13:29:38 +0200 |
commit | c50cec9bab620927445e9c7c050a8fae536557b8 (patch) | |
tree | e4a2a1cffc8c15e4af298fbc6baefef2e920d2d5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 59cfc750f537b973e17583ce8f14a913401a5ac0 (diff) |
drm/i915: Fix a potential UAF at device unload
i915_gem_drain_freed_objects() might not be enough to
free all the objects and RCU delayed work might get
scheduled after the i915 device struct gets freed.
Call i915_gem_drain_workqueue() to catch all RCU delayed work.
Suggested-by: Chris Wilson <[email protected]>
Acked-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions