diff options
author | Krzysztof Niemiec <krzysztof.niemiec@intel.com> | 2024-08-01 17:40:48 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2024-08-05 23:10:46 +0100 |
commit | fceff12e52985e49c464f402e11b2f97bce3cc24 (patch) | |
tree | e562322df9774481d0464c0ee2dfe0112a1fee0b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 843f10ce6539cd5e4989415e18cb809f4cff8b91 (diff) |
drm/i915/gt: Empty uabi engines list during intel_engines_release()
While the uabi_engines_llist is populated in intel_engines_init() during
driver load, the corresponding function intel_engines_release() does not
correctly get rid of it. This can lead to a UAF if, after failed
initialization (for example when gt is set wedged on init), we try to
access the engines.
Suggested-by: Chris Wilson <chris.p.wilson@linux.intel.com>
Signed-off-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801154047.115176-2-krzysztof.niemiec@intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions